import { AnyObject } from '../../utils/utility-types'; export declare const defaultMerger:

(existingValue: P, delta: Partial

) => P & Partial

; type UseWithChangeDetectionParams

= { target: P | P[]; onChange: (delta: Partial

, index?: number) => void; }; /** * A hook that extends a target object (or array of objects) with change detection functionality. * It monitors changes and triggers the provided `onChange` callback whenever a change occurs. * * This hook can handle both single object and array of objects. * * @internal */ export declare function useWithChangeDetection

(params: UseWithChangeDetectionParams

): (P & { onChange: (delta: Partial

) => void; }) | (P & { onChange: (delta: Partial

) => void; })[]; export {}; //# sourceMappingURL=use-with-change-detection.d.ts.map