import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * "Peeks" at the error of the transactional effect.
 * @tsplus fluent ets/STM tapError
 * @tsplus location "@effect/core/stm/STM/operations/tapError"
 */
export declare function tapError_<R, E, A, R2, E2, X>(self: STM<R, E, A>, f: (e: E) => STM<R2, E2, X>): STM<R | R2, E | E2, A>;
/**
 * "Peeks" at the error of the transactional effect.
 * @tsplus static ets/STM/Aspects tapError
 * @tsplus pipeable ets/STM tapError
 * @tsplus location "@effect/core/stm/STM/operations/tapError"
 */
export declare const tapError: <E, R2, E2, X>(f: (e: E) => import("../definition").STM<R2, E2, X>) => <R, A>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R | R2, E | E2, A>;
//# sourceMappingURL=tapError.d.ts.map