import { type Output } from "./shared.js"; export interface DoctorOptions { targetDir: string; output?: Output; /** Machine-readable single-object output (design §5). */ json?: boolean; env?: Record; telemetry?: { home?: string; env?: Record; posthogKey?: string; fetchImpl?: typeof fetch; }; } /** 09-vendo §5 — what is on disk, and nothing else. Doctor starts no server, * makes no HTTP request, and needs no running app: it grades the files, the * wiring markers and the environment variables the install left behind. * * An itinerary, and nothing else: every section is a module that takes the * `DoctorRun` (doctor-report.ts) and appends to its checks array, so the ORDER * doctor reports in — which is the whole user-visible contract of this command * — reads top to bottom here instead of over 750 lines. */ export declare function runDoctor(options: DoctorOptions): Promise;