import { Stream } from "@effect/core/stream/Stream/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Switches over to the stream produced by the provided function in case this
 * one fails with some typed error.
 * @tsplus fluent ets/Stream catchSome
 * @tsplus location "@effect/core/stream/Stream/operations/catchSome"
 */
export declare function catchSome_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, pf: (e: E) => Maybe<Stream<R2, E2, A2>>, __tsplusTrace?: string): Stream<R | R2, E | E2, A | A2>;
/**
 * Switches over to the stream produced by the provided function in case this
 * one fails with some typed error.
 * @tsplus static ets/Stream/Aspects catchSome
 * @tsplus pipeable ets/Stream catchSome
 * @tsplus location "@effect/core/stream/Stream/operations/catchSome"
 */
export declare const catchSome: <E, R2, E2, A2>(pf: (e: E) => import("@tsplus/stdlib/data/Maybe").Maybe<import("../definition").Stream<R2, E2, A2>>, __tsplusTrace?: string) => <R, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A | A2>;
//# sourceMappingURL=catchSome.d.ts.map