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
 * @tsplus fluent ets/Effect refineOrDie
 * @tsplus location "@effect/core/io/Effect/operations/refineOrDie"
 */
export declare function refineOrDie_<R, A, E, E1>(self: Effect<R, E, A>, pf: (e: E) => Maybe<E1>, __tsplusTrace?: string): import("../definition").Effect<R, E1, A>;
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 * @tsplus static ets/Effect/Aspects refineOrDie
 * @tsplus pipeable ets/Effect refineOrDie
 * @tsplus location "@effect/core/io/Effect/operations/refineOrDie"
 */
export declare const refineOrDie: <E, E1>(pf: (e: E) => import("@tsplus/stdlib/data/Maybe").Maybe<E1>, __tsplusTrace?: string) => <R, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R, E1, A>;
//# sourceMappingURL=refineOrDie.d.ts.map