/** * Returns a value deeply equal to `value` that reuses object instances from the * previously returned value wherever they are deeply equal. * * The returned value must never be mutated in place: unchanged objects are * reused on later renders, and memoised components skip rendering when they * receive the same object, so a mutation would leave them showing stale data. */ export default function useStructuralSharing(value: T): T;