/** * daemon/doctor.ts — `aibroker doctor`: one line per check, ok / warn / FAIL, * every non-ok line names the fix. Exit non-zero only on FAIL (a required * check); warn marks something optional or not yet started. */ import { type Sys } from "./setup.js"; export type Level = "ok" | "warn" | "FAIL"; export interface Check { level: Level; name: string; detail: string; fix?: string; } export interface Probes { /** Does the daemon answer `ping` on its socket? */ ping(): Promise; } export declare const realProbes: Probes; export declare function diagnose(s: Sys, probes: Probes): Promise; export declare function runDoctor(_argv: string[], s?: Sys, probes?: Probes, say?: (l: string) => void): Promise; //# sourceMappingURL=doctor.d.ts.map