import type { EngineOutput, Finding } from './types.js'; import { type DispatchFixResult } from './fix-agent-dispatcher.js'; import { type AbortSnapshot } from './abort-snapshot.js'; export type FixDispatcher = (input: { prompt: string; command: string; timeoutMs: number; cwd: string; }) => Promise; export type FixVerifier = (cwd: string, finding: Finding) => Promise<{ stillPresent: boolean; }>; export interface RunFixFlowInput { primaryRoot: string; initial: EngineOutput; dispatcher?: FixDispatcher; verifier?: FixVerifier; ghBin?: string; bdBin?: string; abortSnapshot?: AbortSnapshot; /** Forwarded from `handleAudit --fix --knowledge-root `. When * set, every internal runAudit call (verifier + postfix) inherits * the same override, so Lens I suppression behavior is consistent * across the whole fix run (decision #20). Internal callers of * runFixFlow that don't pass this field continue to behave as * before (yaml + auto-detect). */ knowledgeRootOverride?: string; } export interface FixFlowResult { fixed: string[]; failed: string[]; postfix_markdown_path?: string; postfix_sidecar_path?: string; aborted?: boolean; } export declare function runFixFlow(input: RunFixFlowInput): Promise; //# sourceMappingURL=fix-flow.d.ts.map