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