import type { Field } from '../fields/config/types.js'; import type { SanitizedConfig } from '../index.js'; import type { JsonObject } from '../types/index.js'; type MergeLocalizedDataArgs = { configBlockReferences: SanitizedConfig['blocks']; dataWithLocales: JsonObject; docWithLocales: JsonObject; fields: Field[]; localesToUpdate: string[]; parentIsLocalized?: boolean; }; /** * Merges data from dataWithLocales onto docWithLocales for specified locales. * For localized fields, merges only the specified locales while preserving others. * For non-localized fields, uses incoming values while preserving existing values when omitted. * Returns a new object without mutating the original. */ export declare function mergeLocalizedData({ configBlockReferences, dataWithLocales, docWithLocales, fields, localesToUpdate, parentIsLocalized, }: MergeLocalizedDataArgs): JsonObject; export {}; //# sourceMappingURL=mergeLocalizedData.d.ts.map