import type { RuntimeConfig } from "./config.js"; export type CheckStatus = "ok" | "warn" | "fail" | "info"; export interface CheckResult { id: string; category: string; status: CheckStatus; label: string; detail: string; durationMs?: number; } export interface DoctorReport { version: string; generatedAt: number; checks: CheckResult[]; summary: { total: number; ok: number; warn: number; fail: number; info: number; }; } export interface DoctorOptions { config: RuntimeConfig; env: Record; skipLLM?: boolean; skipSearch?: boolean; skipBrowser?: boolean; skipCache?: boolean; fetchImpl?: typeof fetch; now?: () => number; } export declare function runDoctor(opts: DoctorOptions): Promise; export declare function renderDoctorText(report: DoctorReport, opts?: { color?: boolean; }): string; export declare function renderDoctorJson(report: DoctorReport): string; export declare function exitCodeFor(report: DoctorReport): number; export declare function nodeMeetsMinimum(versionString: string): boolean; export declare function formatBytes(n: number): string; export declare function formatDuration(ms: number): string; export declare function classifyFetchError(err: unknown): string; export declare function scrubPath(s: string): string; export declare function readDeepdiveVersion(): Promise; //# sourceMappingURL=doctor.d.ts.map