/** * Doctor runner: iterates every registered migration on every run (AC-1), * applying safe-tier migrations automatically (AC-4) and gating * confirm-tier migrations behind the print-exact-commands → confirm flow * (AC-5..AC-9, AC-23; installMergeDriver pattern from commands/knowledge.ts). * * The runner owns the whole confirm decision table in one place — * blocked → --yes → non-interactive skip → prompt — with an injectable * ConfirmFn so tests never touch a TTY. */ import type { DoctorContext, DoctorRunResult, Migration } from './types.js'; export type ConfirmFn = (req: { id: string; description: string; commands: string[]; }) => Promise; export interface RunDoctorOpts { dryRun: boolean; confirm?: ConfirmFn; } export declare function runDoctor(ctx: DoctorContext, migrations: Migration[], opts: RunDoctorOpts): Promise; //# sourceMappingURL=runner.d.ts.map