import { Stream } from "@effect/core/stream/Stream/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Performs a filter and map in a single step.
 * @tsplus fluent ets/Stream collect
 * @tsplus location "@effect/core/stream/Stream/operations/collect"
 */
export declare function collect_<R, E, A, B>(self: Stream<R, E, A>, pf: (a: A) => Maybe<B>, __tsplusTrace?: string): Stream<R, E, B>;
/**
 * Performs a filter and map in a single step.
 * @tsplus static ets/Stream/Aspects collect
 * @tsplus pipeable ets/Stream collect
 * @tsplus location "@effect/core/stream/Stream/operations/collect"
 */
export declare const collect: <A, B>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<B>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E, B>;
//# sourceMappingURL=collect.d.ts.map