declare function globalRef(key: string, value: () => T): T; declare const refSet: WeakSet; export { globalRef, refSet };