import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import type { MergeTuple } from "@tsplus/stdlib/data/Tuple";
/**
 * Composes this stream with the specified stream to create a cartesian
 * product of elements. The `that` stream would be run multiple times, for
 * every element in the `this` stream.
 *
 * See also `Stream.zip` for the more common point-wise variant.
 * @tsplus fluent ets/Stream crossFlatten
 * @tsplus location "@effect/core/stream/Stream/operations/crossFlatten"
 */
export declare function crossFlatten_<R, E, A, R2, E2, B>(self: Stream<R, E, A>, that: LazyArg<Stream<R2, E2, B>>, __tsplusTrace?: string): Stream<R | R2, E | E2, MergeTuple<A, B>>;
/**
 * Composes this stream with the specified stream to create a cartesian
 * product of elements. The `that` stream would be run multiple times, for
 * every element in the `this` stream.
 *
 * See also `Stream.zip` for the more common point-wise variant.
 * @tsplus static ets/Stream/Aspects crossFlatten
 * @tsplus pipeable ets/Stream crossFlatten
 * @tsplus location "@effect/core/stream/Stream/operations/crossFlatten"
 */
export declare const crossFlatten: <R2, E2, B>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Stream<R2, E2, B>>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, MergeTuple<A, B>>;
//# sourceMappingURL=crossFlatten.d.ts.map