/** * V3 CLI Doctor Command * System diagnostics, dependency checks, config validation * * Created with ruv.io */ import type { Command } from '../types.js'; interface HealthCheck { name: string; status: 'pass' | 'warn' | 'fail'; message: string; fix?: string; } /** ADR-122 Phase 0: probe only the CLI version, without launching a browser. */ export declare function evaluateAgentBrowserVersion(rawOutput: string): HealthCheck; export declare function checkAgentBrowserVersion(probe?: () => Promise): Promise; /** * #3565: report signed critical helpers whose on-disk content no longer * matches the signed manifest. CLI startup heals such files, so this matters * for the paths startup does not heal: `.LOCKED` or `RUFLO_HELPERS_LOCKED` * (auto-restore skipped by design), an unverifiable package manifest, and an * unresolvable package source. */ export declare function checkHelperIntegrity(opts?: { cwd?: string; homeDir?: string; sourceDirOverride?: string | null; pubkeyPemOverride?: string; }): Promise; export type MemoryPersistenceDriverDeps = { loadBetterSqlite3?: () => Promise<{ default: any; }>; }; export declare function checkMemoryPersistenceDriver(deps?: MemoryPersistenceDriverDeps): Promise; /** * #3392: pure verdict for "does the @claude-flow/memory the CLI loads satisfy * the range the CLI declares?". `npx @claude-flow/cli@latest` reuses one npx * cache directory across CLI versions, and npm keeps an already-installed * dependency that still satisfies a caret range, so a stale memory could * survive a CLI upgrade with no error. Exported for unit testing. */ export declare function evaluateMemoryPackageVersion(declared: string | null, installed: string | null): HealthCheck; export declare function checkMemoryPackageVersion(): Promise; export declare const doctorCommand: Command; export default doctorCommand; //# sourceMappingURL=doctor.d.ts.map