export type LegacyConfigRule = { path: string[]; message: string; match?: (value: unknown, root: Record) => boolean; requireSourceLiteral?: boolean; }; export type LegacyConfigMigration = { id: string; describe: string; apply: (raw: Record, changes: string[]) => void; }; import { isRecord } from "../utils.js"; export { isRecord }; export declare const getRecord: (value: unknown) => Record | null; export declare const ensureRecord: (root: Record, key: string) => Record; export declare const mergeMissing: (target: Record, source: Record) => void; export declare const mapLegacyAudioTranscription: (value: unknown) => Record | null; export declare const getAgentsList: (agents: Record | null) => any[]; export declare const resolveDefaultAgentIdFromRaw: (raw: Record) => string; export declare const ensureAgentEntry: (list: unknown[], id: string) => Record;