import type { Config } from '../../config/schema.js'; import type { WorkflowRunSummary, WorkflowRunView } from '../domain/run.js'; import { WorkflowEventStore } from './event-store.js'; export declare class WorkflowRunStore { private readonly config; private readonly agentId; private readonly eventStore; private readonly indexStore; constructor(config: Config, agentId: string, eventStore?: WorkflowEventStore); rebuildRunView(runId: string): Promise; readRunView(runId: string): Promise; listRunSummaries(limit?: number, options?: { projectId?: string; }): Promise; listRunSummariesForTask(taskId: string, limit?: number): Promise; } export declare function createWorkflowRunStore(config: Config, agentId: string): WorkflowRunStore;