import type { CliCommand } from "../router.js"; type HealthScript = "typecheck" | "test"; type HealthCommandResult = { exitCode: number; output?: string; }; type DoctorCommandDeps = { resolveProjectRoot: (explicitRoot?: string) => string | null; resolveSdk: () => string; runHealthCommand: (script: HealthScript, projectRoot: string) => HealthCommandResult; countSourceModules: (projectRoot: string) => number; }; /** * Create the BOOT-02 `doctor` CLI command. * * The command performs read-only validation of local `.hivemind` structure, * selected-scope primitive symlinks, config presence/parseability, SDK * availability, typecheck/test health, and source module inventory. It never * writes, repairs, or mutates filesystem state. * * @param deps - Optional injectable dependencies for tests. * @returns The `doctor` command implementation. * * @example * ```ts * const command = createDoctorCommand() * ``` */ export declare function createDoctorCommand(deps?: Partial): CliCommand; /** * Canonical BOOT-02 `doctor` command export. * * @example * ```ts * const result = await doctorCmd.handler({ flags: {}, positionals: [], argv: ["doctor"] }) * ``` */ export declare const doctorCmd: CliCommand; export {}; //# sourceMappingURL=doctor.d.ts.map