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