import { spawnSync } from "node:child_process";
export type DoctorStatus = "pass" | "warn" | "fail";
export type DoctorCheck = {
    name: string;
    status: DoctorStatus;
    message: string;
};
export type DoctorResult = {
    checks: DoctorCheck[];
    exitCode: number;
};
export type DoctorOptions = {
    cwd?: string;
    json?: boolean;
    project?: boolean;
    config?: string;
    seedConfig?: string;
    includeAgents?: boolean;
    spawn?: typeof spawnSync;
    env?: NodeJS.ProcessEnv;
    platform?: NodeJS.Platform;
};
export declare function runDoctor(options?: DoctorOptions): Promise<DoctorResult>;
export declare function formatDoctorResult(result: DoctorResult): string;
export declare function parseVersion(value: string): [number, number, number] | undefined;
export declare function compareVersions(left: [number, number, number], right: [number, number, number]): number;
