import { Channel } from "@effect/core/stream/Channel/definition/base";
/**
 * Returns a new channel which reads all the elements from upstream's output
 * channel and ignores them, then terminates with the upstream result value.
 * @tsplus getter ets/Channel drain
 * @tsplus location "@effect/core/stream/Channel/operations/drain"
 */
export declare function drain<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>): Channel<Env, InErr, InElem, InDone, OutErr, never, OutDone>;
//# sourceMappingURL=drain.d.ts.map