import type { DaoCoreConfig } from "../../../config/types.daocore.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: DaoCoreConfig, env?: NodeJS.ProcessEnv): boolean;
export declare function scanStalePluginConfig(cfg: DaoCoreConfig, env?: NodeJS.ProcessEnv): StalePluginConfigHit[];
export declare function collectStalePluginConfigWarnings(params: {
    hits: StalePluginConfigHit[];
    doctorFixCommand: string;
    autoRepairBlocked?: boolean;
}): string[];
export declare function maybeRepairStalePluginConfig(cfg: DaoCoreConfig, env?: NodeJS.ProcessEnv, params?: {
    preservePluginIds?: Iterable<string>;
}): {
    config: DaoCoreConfig;
    changes: string[];
};
export {};
