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