import { _Drop } from './Drop'; import { _Take } from './Take'; import { Cast } from '../Any/Cast'; import { Append } from './Append'; import { List } from './List'; import { Extends } from '../Any/Extends'; /** * @hidden */ declare type __Group = { 0: __Group<_Drop, N, Append>>; 1: LN; }[Extends>]; /** * @hidden */ export declare type _Group = __Group extends infer X ? Cast : never; /** * Split `L` into sub-[[List]]s every `N` * @param L to group * @param N to split at * @returns [[List]] * @example * ```ts * ``` */ export declare type Group = L extends unknown ? N extends unknown ? _Group : never : never; export {};