import { type DashboardEventBody, type ICustomDashboardEvent, type IDashboardEvent } from "../events/base.js"; import { type IDashboardCommand } from "./base.js"; /** * Payload of the {@link ITriggerEvent} command. * @beta */ export interface ITriggerEventPayload { /** * Event body without the {@link DashboardContext} property. That will be filled when the command is processed. */ readonly eventBody: DashboardEventBody; } /** * Triggers an event. * * @beta */ export interface ITriggerEvent extends IDashboardCommand { readonly type: "GDC.DASH/CMD.EVENT.TRIGGER"; readonly payload: ITriggerEventPayload; } /** * Creates an {@link ITriggerEvent} command. * * @beta */ export declare function triggerEvent(eventBody: DashboardEventBody, correlationId?: string): ITriggerEvent; //# sourceMappingURL=events.d.ts.map