import type { EvidenceInput, ReviewInput } from "./types.js"; export interface WorkflowCorrectionContextInput { taskId: string; ownerRole: string; source: "evidence" | "review" | "gate"; status: "failed" | "changes" | "block"; summary: string; command?: string; exitStatus?: string; assertion?: string; logExcerpt?: string; diffExcerpt?: string; affectedFiles?: string[]; recommendedOwnerRole?: string; verifierContractId?: string; } export interface WorkflowCorrectionContextRecord { ownerRole: string; source: WorkflowCorrectionContextInput["source"]; status: WorkflowCorrectionContextInput["status"]; command?: string; exitStatus?: string; assertion?: string; logExcerpt: string; diffExcerpt?: string; affectedFiles: string[]; recommendedOwnerRole: string; verifierContractId?: string; retryCount: number; equivalentFailureKey: string; } export declare function recordWorkflowCorrectionContext(input: WorkflowCorrectionContextInput, root?: string): Promise; export declare function correctionContextFromEvidence(input: EvidenceInput): WorkflowCorrectionContextInput | undefined; export declare function correctionContextFromReview(input: ReviewInput, ownerRole: string): WorkflowCorrectionContextInput | undefined;