import { APIResource } from "../../../core/resource.mjs"; import { APIPromise } from "../../../core/api-promise.mjs"; import { RequestOptions } from "../../../internal/request-options.mjs"; export declare class BaseEvents extends APIResource { static readonly _key: readonly ['workflows', 'instances', 'events']; /** * Sends an event to a running workflow instance to trigger state transitions. */ create(eventType: string, params: EventCreateParams, options?: RequestOptions): APIPromise; } export declare class Events extends BaseEvents { } export type EventCreateResponse = unknown; export interface EventCreateParams { /** * Path param */ account_id: string; /** * Path param */ workflow_name: string; /** * Path param: Instance identifier. User-created instances match * `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances * can use a longer, system-generated id derived from the cron expression. */ instance_id: string; /** * Body param */ body?: unknown; } export declare namespace Events { export { type EventCreateResponse as EventCreateResponse, type EventCreateParams as EventCreateParams }; } //# sourceMappingURL=events.d.mts.map