import { Scope } from "@effect/core/io/Scope/definition"; import { ReleaseMap } from "@effect/core/io/Scope/ReleaseMap/definition"; import { Effect } from "@effect/core/io/Effect/definition"; import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; /** * Replaces the finalizer associated with this key and returns it. If the * finalizers associated with this scope have already been run this * finalizer will be run immediately. * @tsplus static effect/core/io/ReleaseMap.Aspects replace * @tsplus pipeable effect/core/io/ReleaseMap replace * @tsplus location "@effect/core/io/Scope/ReleaseMap/operations/replace" */ export declare function replace(key: number, finalizer: Scope.Finalizer): (self: ReleaseMap) => Effect>; //# sourceMappingURL=replace.d.ts.map