import { AsyncWrappable, AsyncIterableIterator } from '../../types/async-iterable'; declare function asyncCollate(...sources: Array>): AsyncIterableIterator; declare function asyncCollate(compare: (a: T, b: T) => number, ...sources: Array>): AsyncIterableIterator; declare function asyncCollate(compare: (a: T, b: T) => number): (...sources: Array>) => AsyncIterableIterator; export { asyncCollate };