import { Effect } from "@effect/core/io/Effect/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Fail with `e` if the supplied `PartialFunction` does not match, otherwise
 * continue with the returned value.
 * @tsplus fluent ets/Effect continueOrFailEffect
 * @tsplus location "@effect/core/io/Effect/operations/continueOrFailEffect"
 */
export declare function continueOrFailEffect_<R, E, A, E1, R2, E2, A2>(self: Effect<R, E, A>, e: LazyArg<E1>, pf: (a: A) => Maybe<Effect<R2, E2, A2>>, __tsplusTrace?: string): Effect<R | R2, E | E1 | E2, A2>;
/**
 * Fail with `e` if the supplied `PartialFunction` does not match, otherwise
 * continue with the returned value.
 * @tsplus static ets/Effect/Aspects continueOrFailEffect
 * @tsplus pipeable ets/Effect continueOrFailEffect
 * @tsplus location "@effect/core/io/Effect/operations/continueOrFailEffect"
 */
export declare const continueOrFailEffect: <A, E1, R2, E2, A2>(e: import("@tsplus/stdlib/data/Function").LazyArg<E1>, pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<import("../definition").Effect<R2, E2, A2>>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E | E1 | E2, A2>;
//# sourceMappingURL=continueOrFailEffect.d.ts.map