import { Wrappable, IterableIterator } from '../../types/iterable'; declare function splitWhen(predicate: (value: T, i: number) => any): (source: Wrappable) => IterableIterator>; declare function splitWhen(predicate: (value: T, i: number) => any, source: Wrappable): IterableIterator>; export { splitWhen };