/** * Doctor Command - System health check for AgentProbe. * Validates Node.js version, dependencies, API keys, config, and test files. */ export type CheckStatus = 'ok' | 'warn' | 'error'; export interface DoctorCheck { name: string; status: CheckStatus; message: string; detail?: string; } export interface DoctorResult { checks: DoctorCheck[]; status: 'HEALTHY' | 'DEGRADED' | 'UNHEALTHY'; warnings: number; errors: number; } /** * Check Node.js version (>= 18 required). */ export declare function checkNodeVersion(): DoctorCheck; /** * Check if TypeScript is available. */ export declare function checkTypeScript(): DoctorCheck; /** * Check if an API key environment variable is set. */ export declare function checkApiKey(name: string, envVar: string, required: boolean): DoctorCheck; /** * Check if test directory exists and count test files. */ export declare function checkTestDirectory(baseDir: string): DoctorCheck; /** * Check if config file exists and is valid. */ export declare function checkConfigFile(baseDir: string): DoctorCheck; /** * Run all doctor checks. */ export declare function runDoctor(baseDir?: string): DoctorResult; /** * Format doctor result for console display. */ export declare function formatDoctor(result: DoctorResult): string; //# sourceMappingURL=doctor.d.ts.map