declare class FinalizationRegistryType < T > { constructor ( cleanup ) ; register ( object , cleanupToken , unregisterToken ? ) ; unregister ( unregisterToken ) ; } declare const FinalizationRegistry ; const FinalizationRegistryLocal = typeof FinalizationRegistry === "undefined" ? undefined : FinalizationRegistry ; export { FinalizationRegistryLocal as FinalizationRegistry } ;