import { AsyncOperator } from '../../AsyncSeq'; /** * Returns a sequence divided into array of the specified size. * * ```typescript * const result = await fromAsAsync([1, 2, 3, 4, 5, 6, 7]).pipe( * chunkAsync(2) * ).toArrayAsync(); * //result: [[1,2],[3,4],[5,6],[7]] * ``` * * @param size Length of elements per array. * @returns Operator function. * @typeParam T Source element type. * @category Async Operators */ export declare const chunkAsync: (size: number) => AsyncOperator;