import { Effect } from "@effect/core/io/Effect/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Recovers from some or all of the error cases.
 * @tsplus fluent ets/Effect catchSome
 * @tsplus location "@effect/core/io/Effect/operations/catchSome"
 */
export declare function catchSome_<R, E, A, R2, E2, A2>(self: Effect<R, E, A>, f: (e: E) => Maybe<Effect<R2, E2, A2>>, __tsplusTrace?: string): Effect<R | R2, E | E2, A | A2>;
/**
 * Recovers from some or all of the error cases.
 * @tsplus static ets/Effect/Aspects catchSome
 * @tsplus pipeable ets/Effect catchSome
 * @tsplus location "@effect/core/io/Effect/operations/catchSome"
 */
export declare const catchSome: <E, R2, E2, A2>(f: (e: E) => import("@tsplus/stdlib/data/Maybe").Maybe<import("../definition").Effect<R2, E2, A2>>, __tsplusTrace?: string) => <R, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E | E2, A | A2>;
//# sourceMappingURL=catchSome.d.ts.map