import { type GroupXConfig } from "../config.js"; import { type AgentDriver, type CommandResolverDependencies, type CommandSpec } from "../launch/index.js"; export interface DriverProbe { driver: AgentDriver; found: boolean; command?: CommandSpec; version?: string; error?: string; } export interface DoctorReport { os: { platform: NodeJS.Platform; arch: string; release: string; }; node: { version: string; enginesOk: boolean; engines: string; }; drivers: DriverProbe[]; config: { path: string; agents: Array<{ agentId: string; driver: AgentDriver; name?: string; enabled: boolean; }>; } | { path: string; error: string; } | { skipped: string; }; } export interface DoctorDependencies { platform: NodeJS.Platform; arch: string; osRelease: string; nodeVersion: string; commandDependencies: CommandResolverDependencies; probeVersion(command: CommandSpec): Promise; loadConfigFrom(configPath: string): Promise; fileExists(candidate: string): boolean; } export declare function nodeSatisfiesEngines(version: string): boolean; export declare function extractCliVersion(output: string): string | undefined; export declare function collectDoctorReport(options: { cwd: string; configPath?: string; }, dependencies: DoctorDependencies): Promise; export declare function formatDoctorReport(report: DoctorReport): string; export declare function systemDoctorDependencies(): DoctorDependencies; export declare function runDoctor(options: { cwd: string; configPath?: string; }, dependencies?: DoctorDependencies, stdout?: (line: string) => void): Promise; //# sourceMappingURL=doctor.d.ts.map