import type { Secrets } from "./env.js"; import { formatUptime, macSleepMinutes, type HealthOptions, type HealthReport } from "./health.js"; import type { Paths } from "./paths.js"; import type { Skill } from "./skills.js"; export type { Check, CheckStatus } from "./health.js"; export { macSleepMinutes, formatUptime }; export type DoctorReport = HealthReport; export interface DoctorOptions { /** Environment consulted for the update check (`SKILLHOOK_NO_UPDATE_CHECK`, `CI`, `SKILLHOOK_NPM_REGISTRY`). */ env?: NodeJS.ProcessEnv; fetchImpl?: typeof fetch; /** Ask the npm registry and probe the public URL (default true). */ network?: boolean; live?: HealthOptions["live"]; } /** Everything but the slow probes: no MCP server listing, no plugins, no `codex doctor`, no last runs. */ export declare function runDoctor(paths: Paths, options?: DoctorOptions): Promise; export declare function formatDoctor(report: DoctorReport): string; export declare function skillsNeedingSecrets(skills: Skill[], secrets: Secrets): Skill[];