import type { Config } from '../../config/schema.js'; import type { WorkflowEventEnvelope, WorkflowEventPayload, WorkflowEventType } from '../domain/event.js'; export interface AppendWorkflowEventInput { runId: string; type: WorkflowEventType; payload: T; createdAtMs?: number; } export declare class WorkflowEventStore { private readonly config; private readonly agentId; constructor(config: Config, agentId: string); append(input: AppendWorkflowEventInput): Promise>; readRunEvents(runId: string): Promise; listRunIds(): Promise; } export declare function createWorkflowEventStore(config: Config, agentId: string): WorkflowEventStore;