import { Stream } from '../../Stream/uri'; import { AsyncStream } from '../uri'; /** * Splits an {@link AsyncStream} into {@link AsyncStream} of {@link AsyncStream} * of given chunk size. * * @export * @param {number} n The chunk size. * @return {(fa: AsyncStream) => AsyncStream>} A function that * takes an async stream and returns an async stream of async streams of given * chunks. * * @__PURE__ */ export declare function chunksOf(n: number): (fa: AsyncStream) => AsyncStream>; /** * Splits an {@link AsyncStream} into {@link AsyncStream} of array * of given chunk size. * * @export * @param {number} n The chunk size. * @return {(fa: AsyncStream) => AsyncStream} A function that * takes an async stream and returns an async stream of array of given * chunks. * * @__PURE__ */ export declare function arrayChunksOf(n: number): (fa: AsyncStream) => AsyncStream; /** * Splits an {@link AsyncStream} into {@link AsyncStream} of {@link Stream} * of given chunk size. * * @export * @param {number} n The chunk size. * @return {(fa: AsyncStream) => AsyncStream>} A function that * takes an async stream and returns an async stream of streams of given * chunks. * * @__PURE__ */ export declare function streamChunksOf(n: number): (fa: AsyncStream) => AsyncStream>;