import { Stream } from "@effect/core/stream/Stream/definition";
import { Cause } from "@effect/core/io/Cause/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 errors. Allows recovery from all causes of failure,
 * including interruption if the stream is uninterruptible.
 * @tsplus fluent ets/Stream catchSomeCause
 * @tsplus location "@effect/core/stream/Stream/operations/catchSomeCause"
 */
export declare function catchSomeCause_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, pf: (cause: Cause<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 errors. Allows recovery from all causes of failure,
 * including interruption if the stream is uninterruptible.
 * @tsplus static ets/Stream/Aspects catchSomeCause
 * @tsplus pipeable ets/Stream catchSomeCause
 * @tsplus location "@effect/core/stream/Stream/operations/catchSomeCause"
 */
export declare const catchSomeCause: <E, R2, E2, A2>(pf: (cause: import("../../../io/Cause").Cause<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=catchSomeCause.d.ts.map