import { Effect } from "@effect/core/io/Effect/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Keeps some of the errors, and terminates the fiber with the rest, using
 * the specified function to convert the `E` into a `Throwable`.
 * @tsplus fluent ets/Effect refineOrDieWith
 * @tsplus location "@effect/core/io/Effect/operations/refineOrDieWith"
 */
export declare function refineOrDieWith_<R, A, E, E1>(self: Effect<R, E, A>, pf: (e: E) => Maybe<E1>, f: (e: E) => unknown, __tsplusTrace?: string): import("../definition").Effect<R, E1, A>;
/**
 * Keeps some of the errors, and terminates the fiber with the rest, using
 * the specified function to convert the `E` into a `Throwable`.
 * @tsplus static ets/Effect/Aspects refineOrDieWith
 * @tsplus pipeable ets/Effect refineOrDieWith
 * @tsplus location "@effect/core/io/Effect/operations/refineOrDieWith"
 */
export declare const refineOrDieWith: <E, E1>(pf: (e: E) => import("@tsplus/stdlib/data/Maybe").Maybe<E1>, f: (e: E) => unknown, __tsplusTrace?: string) => <R, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R, E1, A>;
//# sourceMappingURL=refineOrDieWith.d.ts.map