import type { Cause } from "../Cause/index.js"; import type { Effect, RIO } from "./effect.js"; /** * Runs the specified effect if this effect is terminated, either because of * a defect or because of interruption. */ export declare function onTermination_(self: Effect, cleanup: (_: Cause) => RIO, __trace?: string): Effect; /** * Runs the specified effect if this effect is terminated, either because of * a defect or because of interruption. * * @ets_data_first onTermination_ */ export declare function onTermination(cleanup: (_: Cause) => RIO, __trace?: string): (self: Effect) => Effect; //# sourceMappingURL=onTermination.d.ts.map