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