/** * Chunks an array into smaller arrays of the specified size. * * @example * chunkArray([1, 2, 3, 4, 5], 2) // [[1, 2], [3, 4], [5]] */ export declare function chunk(array: T[], size: number): T[][]; export declare const chunkArray: typeof chunk;