//#region src/mutationUtils.d.ts /** * Updates an object with a new set of values. undefined values are ignored in * the updates object and deep equal values are not updated. * * @param object - The object to update. * @param updates - The new values to update the object with. */ declare function updateObject>(object: T | undefined | null, updates: Partial): void; declare function getArrayMethodsFromProduce>(produceFn: (cb: (newVal: T[]) => void | T[]) => T[] | void, getItemId: (item: T) => string): { add: (item: T) => void | T[]; remove: (id: string) => void | T[]; update: (id: string, updateItem: ((draftItem: T) => T | void) | Partial) => void | T[]; }; //#endregion export { getArrayMethodsFromProduce, updateObject };