export declare function copyWithStructuralSharing(oldObj: any, newObj: T): T;