import { Effect } from "@effect/core/io/Effect/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Takes some fiber failures and converts them into errors.
 * @tsplus fluent ets/Effect unrefine
 * @tsplus location "@effect/core/io/Effect/operations/unrefine"
 */
export declare function unrefine_<R, E, A, E1>(self: Effect<R, E, A>, pf: (u: unknown) => Maybe<E1>, __tsplusTrace?: string): import("../definition").Effect<R, E | E1, A>;
/**
 * Takes some fiber failures and converts them into errors.
 * @tsplus static ets/Effect/Aspects unrefine
 * @tsplus pipeable ets/Effect unrefine
 * @tsplus location "@effect/core/io/Effect/operations/unrefine"
 */
export declare const unrefine: <E1>(pf: (u: unknown) => import("@tsplus/stdlib/data/Maybe").Maybe<E1>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R, E | E1, A>;
//# sourceMappingURL=unrefine.d.ts.map