import { type AiFinding } from "../judge/engine.js"; import type { ResolvedConfig, ShotRecord } from "../types.js"; import type { Parsed } from "../util.js"; import type { JudgePlan } from "./plan.js"; /** Cap per run: repairs are a tax on old debt, not the run's main job. */ export declare const MAX_REVERIFY_GROUPS = 8; export interface ReverifyResult { /** Groups whose entries were repaired this run. */ repaired: number; /** Groups that held unrefuted findings but were beyond the cap. */ deferred: number; refuted: (AiFinding & { verifierNote: string; })[]; costUsd: number; } /** * Repair up to MAX_REVERIFY_GROUPS cached entries, mutating `plan.ledger` * (persisted by recordOutcome's save) and `plan.cachedFindings` (consumed by * the outcome) in place. */ export declare function reverifyCached(args: { resolved: ResolvedConfig; plan: JudgePlan; shotsById: Map; parsed: Parsed; log: (line: string) => void; }): Promise;