import { Stream } from "@effect/core/stream/Stream/definition";
import { Cause } from "@effect/core/io/Cause/definition";
/**
 * Switches over to the stream produced by the provided function in case this
 * one fails. Allows recovery from all causes of failure, including
 * interruption if the stream is uninterruptible.
 * @tsplus fluent ets/Stream catchAllCause
 * @tsplus location "@effect/core/stream/Stream/operations/catchAllCause"
 */
export declare function catchAllCause_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, f: (cause: Cause<E>) => Stream<R2, E2, A2>, __tsplusTrace?: string): Stream<R | R2, E2, A | A2>;
/**
 * Switches over to the stream produced by the provided function in case this
 * one fails. Allows recovery from all causes of failure, including
 * interruption if the stream is uninterruptible.
 * @tsplus static ets/Stream/Aspects catchAllCause
 * @tsplus pipeable ets/Stream catchAllCause
 * @tsplus location "@effect/core/stream/Stream/operations/catchAllCause"
 */
export declare const catchAllCause: <E, R2, E2, A2>(f: (cause: import("../../../io/Cause").Cause<E>) => import("../definition").Stream<R2, E2, A2>, __tsplusTrace?: string) => <R, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E2, A | A2>;
//# sourceMappingURL=catchAllCause.d.ts.map