import { Exit } from "@effect/core/io/Exit/definition"; import { Effect } from "@effect/core/io/Effect/definition"; import { Channel } from "@effect/core/stream/Channel/definition/base"; /** * Returns a new channel with an attached finalizer. The finalizer is * guaranteed to be executed so long as the channel begins execution (and * regardless of whether or not it completes). * @tsplus static effect/core/stream/Channel.Aspects ensuringWith * @tsplus pipeable effect/core/stream/Channel ensuringWith * @tsplus location "@effect/core/stream/Channel/operations/ensuringWith" */ export declare function ensuringWith(finalizer: (e: Exit) => Effect): (self: import("../definition").Channel) => import("../definition").Channel; //# sourceMappingURL=ensuringWith.d.ts.map