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