/** * `monomind doctor --json` payload (v1), advertised as capability * `doctor-json` — doc/agent-exec-protocol.md §10. */ import type { CommandContext, CommandResult } from '../types.js'; import type { HealthCheck } from './doctor-env-checks.js'; /** A check result tagged with the component (`-c` name) that produced it. */ export type DoctorResult = HealthCheck & { component?: string; }; /** The `doctor --json` payload (v1). Advertised as capability `doctor-json`. */ export declare function doctorJsonPayload(ctx: CommandContext, result: CommandResult): { v: number; cwd: string; read_only: boolean; offline: boolean; success: boolean; error: string | null; summary: { passed: number; warnings: number; failed: number; info: number; skipped: number; }; results: { component: string | null; name: string; claude_code?: import("../orgrt/claude-sdk.js").ClaudeCodeInfo | undefined; status: "fail" | "info" | "pass" | "skipped" | "warn"; message: string; fix: string | null; fix_safety: "auto" | "confirm" | "manual" | null; fix_flag: "--fix" | "--install" | null; skipped_reason: "offline" | "read-only" | null; }[]; fixes: { component: string; outcome: string; }[]; }; //# sourceMappingURL=doctor-json.d.ts.map