export type LegacyConfigRule = { path: string[]; message: string; match?: (value: unknown, root: Record) => boolean; requireSourceLiteral?: boolean; }; type LegacyConfigMigration = { id: string; describe: string; apply: (raw: Record, changes: string[]) => void; }; export type LegacyConfigMigrationSpec = LegacyConfigMigration & { legacyRules?: LegacyConfigRule[]; }; 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 defineLegacyConfigMigration: (migration: LegacyConfigMigrationSpec) => LegacyConfigMigrationSpec; export {};