import type { KlawConfig } from "../../../config/types.klaw.js";
import { type PluginSlotKey } from "../../../plugins/slots.js";
type StalePluginSurface = "allow" | "deny" | "entries" | "slot" | "channel" | "heartbeat" | "modelByChannel";
type StalePluginConfigHit = {
    pluginId: string;
    pathLabel: string;
    surface: StalePluginSurface;
    slotKey?: PluginSlotKey;
};
export declare function isStalePluginAutoRepairBlocked(cfg: KlawConfig, env?: NodeJS.ProcessEnv): boolean;
export declare function scanStalePluginConfig(cfg: KlawConfig, env?: NodeJS.ProcessEnv): StalePluginConfigHit[];
export declare function collectStalePluginConfigWarnings(params: {
    hits: StalePluginConfigHit[];
    doctorFixCommand: string;
    autoRepairBlocked?: boolean;
}): string[];
export declare function maybeRepairStalePluginConfig(cfg: KlawConfig, env?: NodeJS.ProcessEnv, params?: {
    preservePluginIds?: Iterable<string>;
}): {
    config: KlawConfig;
    changes: string[];
};
export {};
