import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Switches over to the stream produced by the provided function in case this
 * one fails with a typed error.
 * @tsplus fluent ets/Stream catchAll
 * @tsplus location "@effect/core/stream/Stream/operations/catchAll"
 */
export declare function catchAll_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, f: (e: 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 with a typed error.
 * @tsplus static ets/Stream/Aspects catchAll
 * @tsplus pipeable ets/Stream catchAll
 * @tsplus location "@effect/core/stream/Stream/operations/catchAll"
 */
export declare const catchAll: <E, R2, E2, A2>(f: (e: 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=catchAll.d.ts.map