export declare const patchObjectSealingMethods: () => void; export declare const patchPropertyDescriptorMethods: () => void; interface FakeWeakMap { delete(key: K): boolean; get(key: K): V | undefined; has(key: K): boolean; set(key: K, value: V): this; [Symbol.toStringTag]: string; _id: number; } interface FakeWeakMapConstructor { new (entries?: ReadonlyArray<[K, V]> | null, forceUseCustomImplementation?: boolean): FakeWeakMap; [Symbol.species]: FakeWeakMapConstructor; prototype: FakeWeakMap; } /** * this implementation holds the value in the key itself instead of holding the key as * a reference. * however, we need to patch Object.{freeze,seal,preventExtensions} * or WeakMaps on previously frozen objects would not work * */ declare const FakeWeakMap: FakeWeakMapConstructor; export default FakeWeakMap;