import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Composes this stream with the specified stream to create a cartesian
 * product of elements with a specified function. 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 crossWith
 * @tsplus location "@effect/core/stream/Stream/operations/crossWith"
 */
export declare function crossWith_<R, E, A, R2, E2, B, C>(self: Stream<R, E, A>, that: LazyArg<Stream<R2, E2, B>>, f: (a: A, b: B) => C, __tsplusTrace?: string): Stream<R | R2, E | E2, C>;
/**
 * Composes this stream with the specified stream to create a cartesian
 * product of elements with a specified function. 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 crossWith
 * @tsplus pipeable ets/Stream crossWith
 * @tsplus location "@effect/core/stream/Stream/operations/crossWith"
 */
export declare const crossWith: <A, R2, E2, B, C>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Stream<R2, E2, B>>, f: (a: A, b: B) => C, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, C>;
//# sourceMappingURL=crossWith.d.ts.map