import { Stream } from "@effect/core/stream/Stream/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Adds an effect to consumption of every element of the stream.
 * @tsplus fluent ets/Stream tap
 * @tsplus location "@effect/core/stream/Stream/operations/tap"
 */
export declare function tap_<R, E, A, R2, E2, Z>(self: Stream<R, E, A>, f: (a: A) => Effect<R2, E2, Z>, __tsplusTrace?: string): Stream<R | R2, E | E2, A>;
/**
 * Adds an effect to consumption of every element of the stream.
 * @tsplus static ets/Stream/Aspects tap
 * @tsplus pipeable ets/Stream tap
 * @tsplus location "@effect/core/stream/Stream/operations/tap"
 */
export declare const tap: <A, R2, E2, Z>(f: (a: A) => import("../../../io/Effect").Effect<R2, E2, Z>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A>;
//# sourceMappingURL=tap.d.ts.map