import { Channel } from "@effect/core/stream/Channel/definition/base";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Pipe the output of a channel into the input of another.
 * @tsplus operator ets/Channel >>
 * @tsplus fluent ets/Channel pipeTo
 * @tsplus location "@effect/core/stream/Channel/operations/pipeTo"
 */
export declare function pipeTo_<Env, Env2, InErr, InElem, InDone, OutErr, OutElem, OutDone, OutErr2, OutElem2, OutDone2>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>, that: LazyArg<Channel<Env2, OutErr, OutElem, OutDone, OutErr2, OutElem2, OutDone2>>): Channel<Env | Env2, InErr, InElem, InDone, OutErr2, OutElem2, OutDone2>;
/**
 * Pipe the output of a channel into the input of another.
 * @tsplus static ets/Channel/Aspects pipeTo
 * @tsplus pipeable ets/Channel pipeTo
 * @tsplus location "@effect/core/stream/Channel/operations/pipeTo"
 */
export declare const pipeTo: <Env2, OutErr, OutElem, OutDone, OutErr2, OutElem2, OutDone2>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Channel<Env2, OutErr, OutElem, OutDone, OutErr2, OutElem2, OutDone2>>) => <Env_1, InErr, InElem, InDone>(self: import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Env_1 | Env2, InErr, InElem, InDone, OutErr2, OutElem2, OutDone2>;
//# sourceMappingURL=pipeTo.d.ts.map