import { Operator } from '../Seq'; /** * 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 = from([1,2,3]).pipe( * zipWith(['a','b']) * ).toArray(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = from([1,2,3]).pipe( * zipWith(['a','b'],[true,false,true]) * ).toArray(); * * //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 Operators */ export declare function zipWith(source1: Iterable, source2: Iterable, source3: Iterable, source4: Iterable, source5: Iterable): Operator; /** * 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 = from([1,2,3]).pipe( * zipWith(['a','b']) * ).toArray(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = from([1,2,3]).pipe( * zipWith(['a','b'],[true,false,true]) * ).toArray(); * * //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 Operators */ export declare function zipWith(source1: Iterable, source2: Iterable, source3: Iterable, source4: Iterable): Operator; /** * 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 = from([1,2,3]).pipe( * zipWith(['a','b']) * ).toArray(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = from([1,2,3]).pipe( * zipWith(['a','b'],[true,false,true]) * ).toArray(); * * //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 Operators */ export declare function zipWith(source1: Iterable, source2: Iterable, source3: Iterable): Operator; /** * 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 = from([1,2,3]).pipe( * zipWith(['a','b']) * ).toArray(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = from([1,2,3]).pipe( * zipWith(['a','b'],[true,false,true]) * ).toArray(); * * //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 Operators */ export declare function zipWith(source1: Iterable, source2: Iterable): Operator; /** * 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 = from([1,2,3]).pipe( * zipWith(['a','b']) * ).toArray(); * * //result1: [[1,'a'],[2,'b']] * * const result2 = from([1,2,3]).pipe( * zipWith(['a','b'],[true,false,true]) * ).toArray(); * * //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 Operators */ export declare function zipWith(source1: Iterable): Operator; /** @ignore */ export declare function zipWith(...source1: Iterable[]): Operator;