import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * Keeps none of the errors, and terminates the fiber running the `STM` effect
 * with them, using the specified function to convert the `E` into a
 * `unknown` defect.
 * @tsplus fluent ets/STM orDieWith
 * @tsplus location "@effect/core/stm/STM/operations/orDieWith"
 */
export declare function orDieWith_<R, E, A>(self: STM<R, E, A>, f: (e: E) => unknown): STM<R, never, A>;
/**
 * Keeps none of the errors, and terminates the fiber running the `STM` effect
 * with them, using the specified function to convert the `E` into a
 * `unknown` defect.
 * @tsplus static ets/STM/Aspects orDieWith
 * @tsplus pipeable ets/STM orDieWith
 * @tsplus location "@effect/core/stm/STM/operations/orDieWith"
 */
export declare const orDieWith: <E>(f: (e: E) => unknown) => <R, A>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, never, A>;
//# sourceMappingURL=orDieWith.d.ts.map