//#region src/utils/chunkArray.d.ts /** * Splits an array into consecutive chunks of at most `chunkSize` items. * * The last chunk holds the remainder and may be smaller. An empty input, or a * `chunkSize` lower than 1, returns an empty list of chunks. * * @example * ```ts * chunkArray(['a', 'b', 'c', 'd', 'e'], 2); // [['a', 'b'], ['c', 'd'], ['e']] * ``` */ export declare const chunkArray: (items: T[], chunkSize: number) => T[][]; //#endregion //# sourceMappingURL=chunkArray.d.ts.map