import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * Returns an `STM` effect whose failure and success channels have been mapped by
 * the specified pair of functions, `f` and `g`.
 * @tsplus fluent ets/STM mapBoth
 * @tsplus location "@effect/core/stm/STM/operations/mapBoth"
 */
export declare function mapBoth_<R, E, A, E1, B>(self: STM<R, E, A>, g: (e: E) => E1, f: (a: A) => B): STM<R, E1, B>;
/**
 * Returns an `STM` effect whose P.failure and success channels have been mapped by
 * the specified pair of functions, `f` and `g`.
 * @tsplus static ets/STM/Aspects mapBoth
 * @tsplus pipeable ets/STM mapBoth
 * @tsplus location "@effect/core/stm/STM/operations/mapBoth"
 */
export declare const mapBoth: <E, A, E1, B>(g: (e: E) => E1, f: (a: A) => B) => <R>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, E1, B>;
//# sourceMappingURL=mapBoth.d.ts.map