import type { HealCheck, HealCheckId, HealCadence, SelfHealReport } from './types.js';
export declare const HEAL_CHECKS: HealCheck[];
export interface SelfHealOptions {
    /** Restrict to these check ids; omit to run every registered check. */
    checks?: HealCheckId[];
    /** Only run checks whose cadence is in this set (daemon scheduling). */
    cadences?: HealCadence[];
    /** 'safe' (daemon default) or 'full' (doctor --fix). Default 'safe'. */
    mode?: 'safe' | 'full';
    /** Detect only — never write. Default false. */
    dryRun?: boolean;
    /** Override the platform gate (tests). Default process.platform. */
    platform?: NodeJS.Platform;
}
/** Run the selected checks, isolating per-check failures. */
export declare function runSelfHeal(opts?: SelfHealOptions): Promise<SelfHealReport>;
/** True if any check repaired something (for daemon logging / notification). */
export declare function selfHealChangedAnything(report: SelfHealReport): boolean;
/** True if any check surfaced something a human should look at. */
export declare function selfHealNeedsAttention(report: SelfHealReport): boolean;
/** One-line human summary, e.g. "shims: 2 fixed; path: 1 fixed". */
export declare function summarizeSelfHeal(report: SelfHealReport): string;
