import type { McpCliOptions } from './options.ts';
export interface DoctorResult {
    ok: boolean;
    steps: ReadonlyArray<{
        name: string;
        ok: boolean;
        detail?: string;
    }>;
}
export declare function runDoctor(opts: McpCliOptions): Promise<DoctorResult>;
export declare function formatDoctorReport(result: DoctorResult, stdout?: NodeJS.WritableStream): void;
