import type { SelfDeploymentResult, SelfDeploymentStatus } from "./types.js"; /** * Boundary validator for the `/doctor/deployment` REST response. The * config-panel fetch trusts the server, but a stale plugin version or a * proxy returning an error page could deliver a different shape. Validate * the nested fields `formatDoctorReport`/`DoctorModal` dereference without * optional chaining (notably `env`'s entries and `cgroupControllers.missing`) * so a malformed payload shows an error instead of crashing the render. */ export declare function isSelfDeploymentResult(value: unknown): value is SelfDeploymentResult; /** * Short, single-line headline for a deployment-doctor status. Mirrors * `headlineForDoctorStatus` in src/index.ts (server-side) — both must list * all six statuses. Shared by the Doctor popup and the copy-able report. */ export declare function headlineForStatus(status: SelfDeploymentStatus): string; /** * Render a `SelfDeploymentResult` as a plain-text report suitable for the * clipboard or a support thread. One labelled fact per line, then the * remediation block. No markup — copy-pasteable as-is. */ export declare function formatDoctorReport(r: SelfDeploymentResult): string; //# sourceMappingURL=doctorReport.d.ts.map