import type { DoctorCheck, HarnessKind } from "../shared/types.js"; /** Exact remedies surfaced in doctor output and the fatal-exit message — * kept as named constants so bin.ts's messaging can't drift from what * doctor.ts itself tells the user to run. */ export declare const CLAUDE_INSTALL_COMMAND = "npm i -g @anthropic-ai/claude-code"; export declare const CODEX_INSTALL_COMMAND = "npm i -g @openai/codex"; /** * Node is a hard requirement. Neither coding agent is individually required — * the harness runs with whichever of claude/codex is on PATH — but at least * one of them must be, or there's nothing to launch. */ export interface DoctorReport { checks: DoctorCheck[]; ok: boolean; /** Harness kinds with a working binary on PATH, in default-preference order * (claude-code first). Empty only when `ok` is false. */ availableHarnesses: HarnessKind[]; } export declare function runDoctor(): Promise; /** First available harness in preference order, for callers that need a * single default (e.g. the auto-created boot session). Only falls back to * "claude-code" when the report itself is empty — main() already refuses to * proceed past a report with no available harnesses, so real callers never * hit that fallback. */ export declare function pickDefaultHarness(report: DoctorReport): HarnessKind; export declare function printDoctorReport(report: DoctorReport): void; //# sourceMappingURL=doctor.d.ts.map