import { AsyncIterableX } from './asynciterablex'; export declare class ZipAsyncIterable extends AsyncIterableX { private _sources; constructor(sources: AsyncIterable[]); [Symbol.asyncIterator](signal?: AbortSignal): AsyncIterableIterator; } /** * Merges multiple async-iterable sequences into one async-iterable sequence by combining their elements in a pairwise fashion. * * @export * @template T The type of the first async-iterable sequence. * @template T2 The type of the second async-iterable sequence. * @param {AsyncIterable} source The first async-iterable source. * @param {AsyncIterable} source2 The second async-iterable source. * @returns {AsyncIterableX<[T, T2]>} Async iterable with an array of each element from the source sequences in a pairwise fashion. */ export declare function zip(source: AsyncIterable, source2: AsyncIterable): AsyncIterableX<[T, T2]>; /** * Merges multiple async-iterable sequences into one async-iterable sequence by combining their elements in a pairwise fashion. * * @export * @template T The type of the first async-iterable sequence. * @template T2 The type of the second async-iterable sequence. * @template T3 The type of the third async-iterable sequence. * @param {AsyncIterable} source The first async-iterable source. * @param {AsyncIterable} source2 The second async-iterable source. * @param {AsyncIterable} source3 The third async-iterable source. * @returns {AsyncIterableX<[T, T2, T3]>} Async iterable with an array of each element from the source sequences in a pairwise fashion. */ export declare function zip(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable): AsyncIterableX<[T, T2, T3]>; /** * Merges multiple async-iterable sequences into one async-iterable sequence by combining their elements in a pairwise fashion. * * @export * @template T The type of the first async-iterable sequence. * @template T2 The type of the second async-iterable sequence. * @template T3 The type of the third async-iterable sequence. * @template T4 The type of the fourth async-iterable sequence. * @param {AsyncIterable} source The first async-iterable source. * @param {AsyncIterable} source2 The second async-iterable source. * @param {AsyncIterable} source3 The third async-iterable source. * @param {AsyncIterable} source4 The fourth async-iterable source. * @returns {AsyncIterableX<[T, T2, T3, T4]>} Async iterable with an array of each element from the source sequences in a pairwise fashion. */ export declare function zip(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable): AsyncIterableX<[T, T2, T3, T4]>; /** * Merges multiple async-iterable sequences into one async-iterable sequence by combining their elements in a pairwise fashion. * * @export * @template T The type of the first async-iterable sequence. * @template T2 The type of the second async-iterable sequence. * @template T3 The type of the third async-iterable sequence. * @template T4 The type of the fourth async-iterable sequence. * @template T5 The type of the fifth async-iterable sequence. * @param {AsyncIterable} source The first async-iterable source. * @param {AsyncIterable} source2 The second async-iterable source. * @param {AsyncIterable} source3 The third async-iterable source. * @param {AsyncIterable} source4 The fourth async-iterable source. * @param {AsyncIterable} source5 The fifth async-iterable source. * @returns {AsyncIterableX<[T, T2, T3, T4, T5]>} Async iterable with an array of each element from the source sequences in a pairwise fashion. */ export declare function zip(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable, source5: AsyncIterable): AsyncIterableX<[T, T2, T3, T4, T5]>; /** * Merges multiple async-iterable sequences into one async-iterable sequence by combining their elements in a pairwise fashion. * * @export * @template T The type of the first async-iterable sequence. * @template T2 The type of the second async-iterable sequence. * @template T3 The type of the third async-iterable sequence. * @template T4 The type of the fourth async-iterable sequence. * @template T5 The type of the fifth async-iterable sequence. * @template T6 The type of the sixth async-iterable sequence. * @param {AsyncIterable} source The first async-iterable source. * @param {AsyncIterable} source2 The second async-iterable source. * @param {AsyncIterable} source3 The third async-iterable source. * @param {AsyncIterable} source4 The fourth async-iterable source. * @param {AsyncIterable} source5 The fifth async-iterable source. * @param {AsyncIterable} source6 The sixth async-iterable source. * @returns {AsyncIterableX<[T, T2, T3, T4, T5, T6]>} Async iterable with an array of each element from the source sequences in a pairwise fashion. */ export declare function zip(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable, source5: AsyncIterable, source6: AsyncIterable): AsyncIterableX<[T, T2, T3, T4, T5, T6]>; /** * Merges multiple async-iterable sequences into one async-iterable sequence by combining their elements in a pairwise fashion. * * @export * @template T The type of elements in the source sequences. * @param {...AsyncIterable[]} sources The source sequences. * @returns {AsyncIterableX} Async iterable with an array of each element from the source sequences in a pairwise fashion. */ export declare function zip(...sources: AsyncIterable[]): AsyncIterableX;