import { IEnumerable } from '../types'; /** * Splits the source sequence by a separator. * @typeparam TSource The type of the source. * @param src The source iterable. * @param separator Separator element. * @returns A sequence of splits of elements. */ export declare function split(src: Iterable, separator: TSource): IEnumerable>; /** * Splits the source sequence by a predicate. * @typeparam TSource The type of the source. * @param src The source iterable. * @param predicate A function to test an element for a condition. * @returns A sequence of splits of elements. */ export declare function split(src: Iterable, predicate: (item: TSource, index: number) => boolean): IEnumerable>; //# sourceMappingURL=split.d.ts.map