export function arrayToSetDeprecation(set: any, name: string): void; export function createArrayToSetDeprecationSet(name: any): { new (items: any): { add(value: any): any; clear(): void; delete(value: any): boolean; forEach( callbackfn: (value: any, value2: any, set: Set) => void, thisArg?: any, ): void; has(value: any): boolean; readonly size: number; entries(): IterableIterator<[any, any]>; keys(): IterableIterator; values(): IterableIterator; [Symbol.iterator](): IterableIterator; readonly [Symbol.toStringTag]: string; }; readonly [Symbol.species]: SetConstructor; }; export function soonFrozenObjectDeprecation( obj: any, name: string, code: string, note?: string, ): any; export function createFakeHook( fakeHook: T, message?: string | undefined, code?: string | undefined, ): FakeHook; export type FakeHookMarker = { /** * it's a fake hook */ _fakeHook: true; }; /** * */ export type FakeHook = T & FakeHookMarker; /** * @template T * @param {T} obj object * @param {string} message deprecation message * @param {string} code deprecation code * @returns {T} object with property access deprecated */ export function deprecateAllProperties( obj: T, message: string, code: string, ): T;