/** * Performs a deep merge of properties from a diff object into a base object. * Recursively merges nested objects, but replaces arrays and primitive values directly. * Modifies the base object in place. * * @param base - The target object to merge properties into (modified in place) * @param diff - The source object containing properties to merge * * @example * ```typescript * const base = { a: 1, nested: { x: 10, y: 20 } }; * const diff = { b: 2, nested: { y: 25, z: 30 } }; * mergeObject(base, diff); * // base is now: { a: 1, b: 2, nested: { x: 10, y: 25, z: 30 } } * * // Arrays are replaced, not merged * const base2 = { items: [1, 2, 3] }; * const diff2 = { items: [4, 5] }; * mergeObject(base2, diff2); * // base2 is now: { items: [4, 5] } * ``` */ export default function mergeObject(base: Record, diff: Record): void; //# sourceMappingURL=merge.d.ts.map