import type { AgentResponse, CompanionFinding } from '../../models/index.js'; import type { CompanionFixPolicy } from '../../models/companion-types.js'; import { type CompanionFollowUpContext, type CompanionFollowUpResult } from './fix-loop.js'; interface CompanionFixPolicyInput { 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; } export declare function runCompanionFixPolicy(input: CompanionFixPolicyInput & { readonly policy: CompanionFixPolicy; }): Promise<{ readonly phaseResponse: AgentResponse; readonly latestSessionId: string | undefined; readonly followUpRounds: number; readonly followUpFailureReason?: string; }>; export {}; //# sourceMappingURL=fix-policy.d.ts.map