import type { DoctorDeps, DoctorReport } from './types.js'; export type { DoctorDeps, DoctorReport, Finding, StateSummary } from './types.js'; export { collectStateSummary } from './state-summary.js'; /** Set of check IDs the orchestrator knows about. */ export declare const ALL_CHECK_IDS: readonly ["orphan-repos", "config-sanity", "install-layout", "version-skew", "served-ui-mismatch", "plugin-root"]; export type CheckId = (typeof ALL_CHECK_IDS)[number]; /** * Subset orchestration for `dkg update`'s pre-flight per §4.7.7 * invocation pattern #3. Only `install-layout` + `version-skew` run. */ export declare const UPDATE_PREFLIGHT_CHECKS: readonly ["install-layout", "version-skew"]; export interface RunDoctorOptions { /** Which checks to run; defaults to all six. */ checks?: readonly CheckId[]; /** API port to probe. Defaults to 9200. */ apiPort?: number; } /** * Run the doctor with the given deps + options. Returns the full * {@link DoctorReport} (state summary + findings + exit code). */ export declare function runDoctor(deps: DoctorDeps, opts?: RunDoctorOptions): Promise; /** * Build the production {@link DoctorDeps} surface — real Node `fs`, * `child_process`, and `fetch` calls. Tests inject their own. */ export declare function createProductionDeps(opts?: { apiPort?: number; }): DoctorDeps; /** * Render a {@link DoctorReport} as a human-readable string. Matches * the layout the agent SKILL guidance teaches operators to expect. * The first block is the state summary; the second is findings, * grouped by severity. */ export declare function formatDoctorReport(report: DoctorReport): string; //# sourceMappingURL=index.d.ts.map