import { M as Maybe } from './Maybe-58ee2d71.js'; /** * Splits an array into chunks of the given size. * * @param array The array to split. * @param size The maximum size of each chunk. * * @returns An array of arrays where each sub-array has at most `size` elements. */ declare function chunk(array: Maybe, size: number): T[][]; /** * Alias for {@link chunk}. */ declare const chunkArray: typeof chunk; export { chunkArray as a, chunk as c };