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