/** * `aidlc doctor` — repo hygiene migrations (update-spring-clean AC-10..AC-12). * * Evaluates every registered migration: safe tier applies automatically, * confirm tier gates behind print-exact-commands → confirm / --yes. * Exit 1 when confirm-tier work remains pending (declined, non-interactive * skip, or staged-index block) so CI can gate on hygiene (AC-23); * --dry-run always exits 0 (AC-11). `aidlc update` runs the same pass with * failOnPending: false. */ import { Command } from 'commander'; import type { DoctorContext, DoctorRunResult } from '../doctor/types.js'; export interface DoctorPassOpts { dryRun: boolean; yes: boolean; /** Standalone doctor: exit 1 on pending confirm-tier work. Update: false. */ failOnPending: boolean; /** Test seam: override now/interactive/yes resolution. */ contextOverrides?: Partial>; } export declare function registerDoctor(program: Command): void; /** * Run the doctor migration pass and print outcomes. Shared by the doctor * command and `aidlc update` (AC-13). */ export declare function runDoctorPass(projectRoot: string, opts: DoctorPassOpts): Promise; //# sourceMappingURL=doctor.d.ts.map