import { Stream } from "@effect/core/stream/Stream/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Performs an effectful filter and map in a single step.
 * @tsplus fluent ets/Stream collectEffect
 * @tsplus location "@effect/core/stream/Stream/operations/collectEffect"
 */
export declare function collectEffect_<R, E, A, R2, E2, A2>(self: Stream<R, E, A>, pf: (a: A) => Maybe<Effect<R2, E2, A2>>, __tsplusTrace?: string): Stream<R | R2, E | E2, A2>;
/**
 * Performs an effectful filter and map in a single step.
 * @tsplus static ets/Stream/Aspects collectEffect
 * @tsplus pipeable ets/Stream collectEffect
 * @tsplus location "@effect/core/stream/Stream/operations/collectEffect"
 */
export declare const collectEffect: <A, R2, E2, A2>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<import("../../../io/Effect").Effect<R2, E2, A2>>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A2>;
//# sourceMappingURL=collectEffect.d.ts.map