import { AsyncWrappable, AsyncIterableIterator } from '../../types/async-iterable'; declare function asyncSplitWhen(predicate: (value: T, i: number) => any): (source: AsyncWrappable) => AsyncIterableIterator>; declare function asyncSplitWhen(predicate: (value: T, i: number) => any, source: AsyncWrappable): AsyncIterableIterator>; export { asyncSplitWhen };