export type DoctorStatus = 'pass' | 'warn' | 'fail';
export interface DoctorCheck {
    id: string;
    label: string;
    status: DoctorStatus;
    detail: string;
    hint?: string;
}
export interface DoctorReport {
    version: string;
    generatedAt: string;
    platform: string;
    nodeVersion: string;
    cwd: string;
    configDir: string;
    checks: DoctorCheck[];
    summary: Record<DoctorStatus, number>;
    hasFailures: boolean;
}
export interface DoctorOptions {
    includeRegistry?: boolean;
    cwd?: string;
    env?: NodeJS.ProcessEnv;
}
export declare function buildDoctorReport(options?: DoctorOptions): DoctorReport;
export declare function formatDoctorReport(report: DoctorReport): string;
export declare function runDoctorCli(options?: {
    json?: boolean;
    includeRegistry?: boolean;
}): DoctorReport;
