import type { IterateCommandOptions, IterateResult, IterateResultBase, Review, ShepherdReport } from "../../types.mts"; import type { NormalizedBotUsernames } from "../../comments/authors.mts"; interface HandleFixCodeContext { base: IterateResultBase; report: ShepherdReport; opts: IterateCommandOptions; headSha: string; stallKey: { owner: string; repo: string; pr: number; }; prNumber: number; stallTimeoutSeconds: number; repoOwner: string; repoName: string; reviewSummaryIds: string[]; firstLookSummaries: Review[]; editedSummaries: Review[]; surfacedApprovals: Review[]; botUsernames: NormalizedBotUsernames; ruleAutoResolveThreadIds?: string[]; /** Verified stack-repair guidance, when ancestry is stale. */ repairInstructions?: string[]; } export declare function handleFixCode(ctx: HandleFixCodeContext): Promise; export {};