import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Sink } from "@effect/core/stream/Sink/definition/base";
import { Take } from "@effect/core/stream/Take/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Sends all elements emitted by this stream to the specified sink in addition
 * to emitting them.
 * @tsplus fluent ets/Stream tapSink
 * @tsplus location "@effect/core/stream/Stream/operations/tapSink"
 */
export declare function tapSink_<R, E, A, R2, E2, X, Z>(self: Stream<R, E, A>, sink: LazyArg<Sink<R2, E2, A, X, Z>>, __tsplusTrace?: string): Stream<R | R2, E | E2, A>;
/**
 * Sends all elements emitted by this stream to the specified sink in addition
 * to emitting them.
 * @tsplus static ets/Stream/Aspects tapSink
 * @tsplus pipeable ets/Stream tapSink
 * @tsplus location "@effect/core/stream/Stream/operations/tapSink"
 */
export declare const tapSink: <A, R2, E2, X, Z>(sink: import("@tsplus/stdlib/data/Function").LazyArg<import("../../Sink").Sink<R2, E2, A, X, Z>>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A>;
//# sourceMappingURL=tapSink.d.ts.map