/** * A map where the keys are weakly held and the values are a Set that are also each weakly held. * The goal is to avoid leaking the values, which is what would happen with a WeakMap>. * * Note that this is currently only intended to be used in dev/PRODDEBUG environments. * * This implementation relies on WeakRefs and FinalizationRegistry. * For some background, see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef */ export declare class WeakMultiMap { private _map; private _registry; private _getWeakRefs; get(key: K): ReadonlySet; add(key: K, value: V): void; delete(key: K): void; } //# sourceMappingURL=weak-multimap.d.ts.map