import type { AutonomousRun } from "./types.js"; export interface WorkflowProgressSummary { runId: string; taskId: string; status: AutonomousRun["status"]; gates: AutonomousRun["gates"]; currentPhase?: string; currentRole?: string; provider?: string; model?: string; elapsedMs: number; completedPhases: number; totalPhases: number; latestStatus: string; failureReason?: string; fallbackState?: string; pausedGate?: string; canApproveGate: boolean; canResume: boolean; } export interface WorkflowEventSummary { id: string; type: string; taskId: string | null; runId?: string; actor: string; summary: string; timestamp: string; phase?: string; gateId?: string; result?: string; rationale?: string; } export declare function listWorkflowProgress(root?: string): Promise; export declare function listWorkflowEvents({ root, task, run, limit, }?: { root?: string; task?: string; run?: string; limit?: number; }): Promise; export declare function summarizeWorkflowProgress(run: AutonomousRun, now?: number): WorkflowProgressSummary;