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