import { ErrorCallback } from '../../types/base'; export declare function mergeIterators(callback: ErrorCallback | undefined, ...iterators: AsyncIterator[]): AsyncIterable; /** * Merge the informed async iterables into one. The item orders will be defined from what is returned first * @param iterables the iterables to merge */ export declare function mergeIterables(...iterables: AsyncIterable[]): AsyncIterable; /** * Merge the informed async iterables into one. The item orders will be defined from what is returned first * @param callback A callback to case in case that any iterable throws an error. If informed, an failed iterable will not cause an error in the merging * @param iterables the iterables to merge */ export declare function mergeIterables(callback: ErrorCallback, ...iterables: AsyncIterable[]): AsyncIterable;