/** * Create an array of grouped elements, the first of which contains the first * elements of the given arrays, the second of which contains the second elements, etc. * * @param arrays - The arrays to zip * @returns Array of grouped elements * * @example * zipFast(['a', 'b'], [1, 2], [true, false]) * // [['a', 1, true], ['b', 2, false]] */ export declare function zipFast(...arrays: T): { [K in keyof T]: T[K][number]; }[]; /** * Like zipFast, but accepts an iteratee to specify how grouped values should be combined. * * @param arrays - The arrays to zip * @param iteratee - The function to combine grouped values * @returns Array of combined values * * @example * zipWithFast([1, 2], [10, 20], (a, b) => a + b) * // [11, 22] */ export declare function zipWithFast(...args: [...T, (...values: { [K in keyof T]: T[K][number]; }) => R]): R[]; /** * Opposite of zip - split an array of groups into separate arrays. * * @param array - The array of grouped elements * @returns Array of regrouped elements * * @example * unzipFast([['a', 1, true], ['b', 2, false]]) * // [['a', 'b'], [1, 2], [true, false]] */ export declare function unzipFast(array: readonly T[]): { [K in keyof T]: T[K][]; }; //# sourceMappingURL=zip.d.ts.map