import type { DaoCoreConfig } from "../../../config/types.daocore.js";
export type LegacyToolsBySenderKeyHit = {
    toolsBySenderPath: Array<string | number>;
    pathLabel: string;
    key: string;
    targetKey: string;
};
export declare function scanLegacyToolsBySenderKeys(cfg: DaoCoreConfig): LegacyToolsBySenderKeyHit[];
export declare function collectLegacyToolsBySenderWarnings(params: {
    hits: LegacyToolsBySenderKeyHit[];
    doctorFixCommand: string;
}): string[];
export declare function maybeRepairLegacyToolsBySenderKeys(cfg: DaoCoreConfig): {
    config: DaoCoreConfig;
    changes: string[];
};
