/**
 * owlcoda doctor — diagnostic command that validates the local environment.
 * Checks native runtime readiness and local platform health.
 */
import { type ReplacementReadiness } from './replacement-readiness.js';
export interface CheckResult {
    name: string;
    status: 'pass' | 'warn' | 'fail' | 'skip';
    detail: string;
}
export interface DoctorReport {
    checks: CheckResult[];
    passCount: number;
    warnCount: number;
    failCount: number;
    skipCount: number;
    replacement: ReplacementReadiness;
}
/** Compare two semver strings. >0 if a>b, <0 if a<b, 0 if equal. Malformed
 *  segments count as 0. (Sufficient for major.minor.patch; ignores pre-release.) */
export declare function compareSemver(a: string, b: string): number;
export declare function runDoctor(configPath?: string): Promise<DoctorReport>;
export declare function formatDoctorReport(report: DoctorReport): string;
