import { Stream } from "@effect/core/stream/Stream/definition";
import { Cause } from "@effect/core/io/Cause/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Returns a stream that effectfully "peeks" at the cause of failure of the
 * stream.
 * @tsplus fluent ets/Stream tapErrorCause
 * @tsplus location "@effect/core/stream/Stream/operations/tapErrorCause"
 */
export declare function tapErrorCause_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, f: (cause: Cause<E>) => Effect<R2, E2, A2>): Stream<R | R2, E | E2, A>;
/**
 * Returns a stream that effectfully "peeks" at the cause of failure of the
 * stream.
 * @tsplus static ets/Stream/Aspects tapErrorCause
 * @tsplus pipeable ets/Stream tapErrorCause
 * @tsplus location "@effect/core/stream/Stream/operations/tapErrorCause"
 */
export declare const tapErrorCause: <E, R2, E2, A2>(f: (cause: import("../../../io/Cause").Cause<E>) => import("../../../io/Effect").Effect<R2, E2, A2>) => <R, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A>;
//# sourceMappingURL=tapErrorCause.d.ts.map