import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Returns a new channel that collects the output and terminal value of this
 * channel, which it then writes as output of the returned channel.
 * @tsplus getter ets/Channel emitCollect
 * @tsplus location "@effect/core/stream/Channel/operations/emitCollect"
 */
export declare function emitCollect<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>): Channel<Env, InErr, InElem, InDone, OutErr, Tuple<[Chunk<OutElem>, OutDone]>, void>;
//# sourceMappingURL=emitCollect.d.ts.map