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