import { type CheckId } from './policy.js'; import type { DoctorDeps, DoctorReport } from './types.js'; export type { DoctorDeps, DoctorReport, Finding, StateSummary } from './types.js'; export { collectStateSummary } from './state-summary.js'; export { ALL_CHECK_IDS, UPDATE_PREFLIGHT_CHECKS, type CheckId } from './policy.js'; export interface RunDoctorOptions { /** Which checks to run; defaults to all seven. */ 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