import type { Stream } from "../uri"; /** * Transposes the rows and columns of a 2D {@link Stream}. * * If some of the rows are shorter than the following rows, their elements are skipped. * * @export * @template A The type of the values. * @param {Stream>} xs The stream of a stream of the values. * @return {Stream>} A new stream of transposed values. * * @__PURE__ */ export declare function transpose(xs: Stream>): Stream>; /** * Transposes the rows and columns of a 2D {@link Stream}. * * If some of the rows are shorter than the following rows, their elements are skipped. * * @export * @template A The type of the values. * @param {Stream>} xs The stream of the array of the values. * @return {Stream>} A new stream of transposed values. * * @__PURE__ */ export declare function transposeArray(xs: Stream>): Stream>;