export interface RunSummary {
    runId: string;
    workflowId: string;
    workflowName: string;
    trigger: string;
    status: string;
    startedAt: string;
    completedAt: string | null;
    error: string | null;
    stepsCompleted: number;
    stepsDegraded: number;
    stepsSkipped: number;
    stepsFailed: number;
    stepsTotal: number;
}
export interface WorkflowRunsParams {
    accountId: string;
    workflowId?: string;
    status?: "running" | "completed" | "partial" | "failed";
    limit?: number;
}
/**
 * Query workflow execution history.
 * Optionally filter by workflowId and/or status.
 * Returns runs ordered by startedAt DESC with per-step status counts.
 */
export declare function workflowRuns(params: WorkflowRunsParams): Promise<RunSummary[]>;
//# sourceMappingURL=workflow-runs.d.ts.map