import type { CliProcess } from "./CliProcess.js"; export declare const DOCTOR_ARGUMENTS: { readonly valued: readonly ["upstream", "port", "listen", "mode", "failure-policy", "authority", "config"]; readonly flags: readonly ["verbose", "json", "no-network"]; }; export interface DoctorCheck { readonly name: string; readonly ok: boolean; readonly detail: string; /** What to do about it, when it is not ok. */ readonly remedy: readonly string[]; } export interface DoctorOptions { readonly nodeVersion?: string; readonly timeoutMs?: number; } /** * `agentsafe doctor`: what would stop the gateway from governing anything, * each with what to do about it. Network checks reach the upstream and the * authority the configuration names and nothing else; `--no-network` skips * them. The credential check sends an empty request the authority refuses * as malformed once it has accepted the key, so it mints no decision. */ export declare function runDoctor(io: CliProcess, argv: readonly string[], options?: DoctorOptions): Promise; //# sourceMappingURL=Doctor.d.ts.map