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