import { AllIterables, AsyncOperator } from '../../AsyncSeq'; /** * Returns a sequence of arrays consisting of the elements of the source array and the elements of the multiple sequences given as arguments, concatenated one by one. * * ```typescript * const result1 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b']) * ).toArrayAsync(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b'],[true,false,true]) * ).toArrayAsync(); * * //result2: [[1,'a',true],[2,'b',false]] * ``` * * @param source1 First iterable. * @param source2 Second iterable. * @param source3 Third iterable. * @param source4 Fourth iterable. * @param source5 Fifth iterable. * @returns [T,T1,T2,T3,T4,T5] sequence. * @typeParam T Source element type. * @typeParam T1 First element type. * @typeParam T2 Second element type. * @typeParam T3 Third element type. * @typeParam T4 Fourth element type. * @typeParam T5 Fifth element type. * @category Async Operators */ export declare function zipWithAsync(source1: AllIterables, source2: AllIterables, source3: AllIterables, source4: AllIterables, source5: AllIterables): AsyncOperator; /** * Returns a sequence of arrays consisting of the elements of the source array and the elements of the multiple sequences given as arguments, concatenated one by one. * * ```typescript * const result1 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b']) * ).toArrayAsync(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b'],[true,false,true]) * ).toArrayAsync(); * * //result2: [[1,'a',true],[2,'b',false]] * ``` * * @param source1 First iterable. * @param source2 Second iterable. * @param source3 Third iterable. * @param source4 Fourth iterable. * @returns [T,T1,T2,T3,T4] sequence. * @typeParam T Source element type. * @typeParam T1 First element type. * @typeParam T2 Second element type. * @typeParam T3 Third element type. * @typeParam T4 Fourth element type. * @category Async Operators */ export declare function zipWithAsync(source1: AllIterables, source2: AllIterables, source3: AllIterables, source4: AllIterables): AsyncOperator; /** * Returns a sequence of arrays consisting of the elements of the source array and the elements of the multiple sequences given as arguments, concatenated one by one. * * ```typescript * const result1 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b']) * ).toArrayAsync(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b'],[true,false,true]) * ).toArrayAsync(); * * //result2: [[1,'a',true],[2,'b',false]] * ``` * * @param source1 First iterable. * @param source2 Second iterable. * @param source3 Third iterable. * @returns [T,T1,T2,T3] sequence. * @typeParam T Source element type. * @typeParam T1 First element type. * @typeParam T2 Second element type. * @typeParam T3 Third element type. * @category Async Operators */ export declare function zipWithAsync(source1: AllIterables, source2: AllIterables, source3: AllIterables): AsyncOperator; /** * Returns a sequence of arrays consisting of the elements of the source array and the elements of the multiple sequences given as arguments, concatenated one by one. * * ```typescript * const result1 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b']) * ).toArrayAsync(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b'],[true,false,true]) * ).toArrayAsync(); * * //result2: [[1,'a',true],[2,'b',false]] * ``` * * @param source1 First iterable. * @param source2 Second iterable. * @returns [T,T1,T2] sequence. * @typeParam T Source element type. * @typeParam T1 First element type. * @typeParam T2 Second element type. * @category Async Operators */ export declare function zipWithAsync(source1: AllIterables, source2: AllIterables): AsyncOperator; /** * Returns a sequence of arrays consisting of the elements of the source array and the elements of the multiple sequences given as arguments, concatenated one by one. * * ```typescript * const result1 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b']) * ).toArrayAsync(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = await fromAsAsync([1,2,3]).pipe( * zipWithAsync(['a','b'],[true,false,true]) * ).toArrayAsync(); * * //result2: [[1,'a',true],[2,'b',false]] * ``` * * @param source1 First iterable. * @returns [T,T1] sequence. * @typeParam T Source element type. * @typeParam T1 First element type. * @category Async Operators */ export declare function zipWithAsync(source1: AllIterables): AsyncOperator; /** @ignore */ export declare function zipWithAsync(...source1: AllIterables[]): AsyncOperator;