import type { AsyncStream } from '../uri'; /** * Returns the {@link https://en.wikipedia.org/wiki/Cartesian_product Cartesian product} * of two {@link AsyncStream}s. In other words, returns a {@link AsyncStream} containing tuples of every * possible ordered combination of the two input {@link AsyncStream}s. * * @export * @template A The type of the left hand side of the output tuple. * @param {AsyncStream} left The left hand side stream. * @return {(right: AsyncStream) => AsyncStream<[ A, B ]>} A function * that will take another stream to return the cartesian product of these. * * @__PURE__ */ export declare function cartesian(left: AsyncStream): (right: AsyncStream) => AsyncStream<[A, B]>;