import type { AgentSessionContract, PublicWorkflowEvent, StoredWorkflowEvent, WorkflowLifecycleEventType } from "../types.js"; export declare const WORKFLOW_LIFECYCLE_EVENT_TYPES: readonly ["created", "workflow_archived", "todos_workflow_pointers_synced", "todos_workflow_pointers_sync_failed", "step_started", "step_progress", "recovered", "step_pending", "step_running", "step_succeeded", "step_failed", "step_timed_out", "step_skipped", "step_cancelled", "succeeded", "failed", "timed_out", "cancelled"]; export declare function isAgentSessionContract(value: unknown): value is AgentSessionContract; export declare function isWorkflowLifecycleEventType(value: string): value is WorkflowLifecycleEventType; /** Validate a raw storage/API row before exposing the public discriminated union. */ export declare function publicWorkflowEvent(event: StoredWorkflowEvent | PublicWorkflowEvent): PublicWorkflowEvent; export declare function publicWorkflowEvents(events: readonly StoredWorkflowEvent[]): PublicWorkflowEvent[];