/** * QA360 Doctor Command - Environment diagnostic and auto-fix */ export interface DoctorCheck { id: string; name: string; status: 'ok' | 'warning' | 'error'; message: string; code?: string; fix?: () => Promise; } export interface DoctorResult { checks: DoctorCheck[]; summary: { total: number; ok: number; warnings: number; errors: number; fixed: number; }; exitCode: 0 | 1; decision: 'ok' | 'fail_after_fix' | 'fail_strict' | 'info'; } export declare class QA360Doctor { private qa360Dir; private keysDir; private runsDir; diagnose(options?: { fix?: boolean; strict?: boolean; json?: boolean; skip?: string[]; }): Promise; private runAllChecks; private checkNodeVersion; private checkDirectories; private checkTools; private checkNetwork; private checkSecrets; private checkCryptoKeys; private checkProofKeys; private checkProofRoundtrip; private performFixes; private generateResult; displayResult(result: DoctorResult, options?: { json?: boolean; }): void; } export declare function doctorCommand(options?: { fix?: boolean; json?: boolean; strict?: boolean; skip?: string[]; }): Promise;