import * as Deferred from "effect/Deferred"; import * as Effect from "effect/Effect"; import * as MutableHashMap from "effect/MutableHashMap"; import * as MutableRef from "effect/MutableRef"; import * as Scope from "effect/Scope"; export declare class ResourceMap { readonly lookup: (key: K, scope: Scope.Scope) => Effect.Effect; readonly entries: BackingMap; readonly isClosed: MutableRef.MutableRef; constructor(lookup: (key: K, scope: Scope.Scope) => Effect.Effect, entries: BackingMap, isClosed: MutableRef.MutableRef); static make: (lookup: (key: K_1) => Effect.Effect, options?: { readonly referential?: boolean | undefined; } | undefined) => Effect.Effect, never, Scope.Scope | R>; get(key: K): Effect.Effect; remove(key: K): Effect.Effect; removeIgnore(key: K): Effect.Effect; } type BackingMap = { readonly _tag: "Equal"; readonly map: MutableHashMap.MutableHashMap>; } | { readonly _tag: "Referential"; readonly map: Map>; }; type Entry = { readonly scope: Scope.CloseableScope; readonly deferred: Deferred.Deferred; }; export {}; //# sourceMappingURL=resourceMap.d.ts.map