import { Stream } from "@effect/core/stream/Stream/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Returns a stream made of the concatenation in strict order of all the
 * streams produced by passing each element of this stream to `f0`
 * @tsplus fluent ets/Stream flatMap
 * @tsplus location "@effect/core/stream/Stream/operations/flatMap"
 */
export declare function flatMap_<R, E, A, R2, E2, B>(self: Stream<R, E, A>, f: (a: A) => Stream<R2, E2, B>, __tsplusTrace?: string): Stream<R | R2, E | E2, B>;
/**
 * Returns a stream made of the concatenation in strict order of all the
 * streams produced by passing each element of this stream to `f0`
 * @tsplus static ets/Stream/Aspects flatMap
 * @tsplus pipeable ets/Stream flatMap
 * @tsplus location "@effect/core/stream/Stream/operations/flatMap"
 */
export declare const flatMap: <A, R2, E2, B>(f: (a: A) => import("../definition").Stream<R2, E2, B>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, B>;
//# sourceMappingURL=flatMap.d.ts.map