import { Exit } from "@effect/core/io/Exit/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
/**
 * A more powerful variant of `addFinalizer` that allows the finalizer to
 * depend on the `Exit` value that the scope is closed with.
 * @tsplus static ets/Effect/Ops addFinalizerExit
 * @tsplus location "@effect/core/io/Effect/operations/addFinalizerExit"
 */
export declare function addFinalizerExit<R, X>(finalizer: (exit: Exit<unknown, unknown>) => Effect<R, never, X>, __tsplusTrace?: string): Effect<R | Scope, never, void>;
//# sourceMappingURL=addFinalizerExit.d.ts.map