import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Pipes all the values from this stream through the provided channel.
 * @tsplus fluent ets/Stream pipeThroughChannel
 * @tsplus location "@effect/core/stream/Stream/operations/pipeThroughChannel"
 */
export declare function pipeThroughChannel_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, channel: LazyArg<Channel<R2, E, Chunk<A>, unknown, E2, Chunk<A2>, unknown>>, __tsplusTrace?: string): Stream<R | R2, E | E2, A2>;
/**
 * Pipes all the values from this stream through the provided channel.
 * @tsplus static ets/Stream/Aspects pipeThroughChannel
 * @tsplus pipeable ets/Stream pipeThroughChannel
 * @tsplus location "@effect/core/stream/Stream/operations/pipeThroughChannel"
 */
export declare const pipeThroughChannel: <E, A, R2, E2, A2>(channel: import("@tsplus/stdlib/data/Function").LazyArg<import("../../Channel").Channel<R2, E, import("@tsplus/stdlib/collections/Chunk").Chunk<A>, unknown, E2, import("@tsplus/stdlib/collections/Chunk").Chunk<A2>, unknown>>, __tsplusTrace?: string) => <R>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A2>;
//# sourceMappingURL=pipeThroughChannel.d.ts.map