import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Returns a new channel, which is the same as this one, except its outputs
 * are filtered and transformed by the specified partial function.
 * @tsplus fluent ets/Channel collect
 * @tsplus location "@effect/core/stream/Channel/operations/collect"
 */
export declare function collect_<Env, InErr, InElem, InDone, OutErr, OutElem, OutElem2, OutDone>(self: Channel<Env, InErr, InElem, InDone, OutErr, OutElem, OutDone>, pf: (o: OutElem) => Maybe<OutElem2>): Channel<Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone>;
/**
 * Returns a new channel, which is the same as this one, except its outputs
 * are filtered and transformed by the specified partial function.
 * @tsplus static ets/Channel/Aspects collect
 * @tsplus pipeable ets/Channel collect
 * @tsplus location "@effect/core/stream/Channel/operations/collect"
 */
export declare const collect: <OutElem, OutElem2>(pf: (o: OutElem) => import("@tsplus/stdlib/data/Maybe").Maybe<OutElem2>) => <Env_1, InErr, InElem, InDone, OutErr, OutDone>(self: import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Env_1, InErr, InElem, InDone, OutErr, OutElem2, OutDone>;
//# sourceMappingURL=collect.d.ts.map