export type RunKind = 'chat' | 'workflow' | 'tool_batch'; export type RunEventType = 'run_created' | 'run_queued' | 'run_started' | 'run_resumed' | 'run_completed' | 'run_partial_failure' | 'run_failed' | 'run_cancelled' | 'llm_round_started' | 'llm_token' | 'llm_round_completed' | 'assistant_message_delta' | 'assistant_message_completed' | 'tool_call_proposed' | 'tool_call_dispatched' | 'tool_call_progress' | 'tool_call_resolved' | 'artifact_created' | 'artifact_updated' | 'artifact_referenced' | 'media_context_updated' | 'media_turn_intent_classified' | 'asset_manifest_updated' | 'run_waiting_for_user' | 'billing_preview_updated' | 'spend_gate_opened' | 'spend_preview_emitted' | 'spend_confirmed' | 'spend_cancelled' | 'spend_insufficient' | 'run_awaiting_cost_confirmation' | 'run_cost_confirmation_resolved' | 'stage_started' | 'stage_completed' | 'stage_failed' | 'stage_waiting_for_user' | 'audit_evaluated' | 'repair_requested'; export type RunWaitingReason = 'ask_clarifying_question' | 'select_media_required' | 'cost_approval_required' | 'safety_review_required' | 'workflow_user_input_required' | 'insufficient_credit' | 'other'; export interface RunEvent { runId: string; runKind?: RunKind; sequence: number; type: RunEventType; status?: string; payload: Record; createdAt: string; resumable?: boolean; terminal?: boolean; idempotencyKey?: string; } export declare function isRunKind(value: unknown): value is RunKind; export declare function isRunEventType(value: unknown): value is RunEventType; export declare function isTerminalEventType(type: RunEventType): boolean; export declare function isResumableEventType(type: RunEventType): boolean; export declare function isRunWaitingReason(value: unknown): value is RunWaitingReason; export declare function isRunEvent(value: unknown): value is RunEvent; export interface RunEventValidationError { path: string; message: string; } export interface RunEventValidationResult { valid: boolean; errors: RunEventValidationError[]; } export declare function validateRunEvent(value: unknown): RunEventValidationResult; //# sourceMappingURL=runEvent.d.ts.map