export declare function isPlainObject(value: unknown): value is Record; /** * Returns `next`, but with any arrays or plain objects that are deeply equal to * the matching value in `previous` replaced by the instance from `previous`. If * `next` is deeply equal to `previous`, `previous` is returned. This keeps * object identities stable across renders so memoised components can bail out * of rendering when their slice of a large computed object has not changed. * * The name, borrowed from TanStack Query's equivalent function, reads as * "replace equal values, deeply": it is not an equality check, it returns a * value in which unchanged parts are replaced by their previous instances * (structural sharing). */ export default function replaceEqualDeep(previous: unknown, next: T): T;