import type { AgentResponse, CompanionFinding } from '../../models/index.js'; export interface CompanionFollowUpContext { readonly followUpRound: number; } export type CompanionFollowUpResult = { readonly kind: 'normal_follow_up'; readonly response: AgentResponse; } | { readonly kind: 'live_intervention'; readonly response: AgentResponse; }; export declare function runCompanionFixLoop(input: { readonly initialResponse: AgentResponse; readonly phase1Options: TOptions; readonly completeReview: (context: CompanionFollowUpContext & { readonly implementerResponse: string; }) => Promise<{ readonly findings: readonly CompanionFinding[]; }>; readonly executeFollowUp: (attempt: { readonly sequence: number; readonly phase: 1; readonly findingCount: number; readonly sessionId: string | undefined; readonly options: TOptions & { sessionId: string | undefined; }; readonly instruction: string; }) => Promise; readonly abortSignal?: AbortSignal; }): Promise<{ readonly phaseResponse: AgentResponse; readonly latestSessionId: string | undefined; readonly followUpRounds: number; readonly followUpFailureReason?: string; }>; //# sourceMappingURL=fix-loop.d.ts.map