/** * This method is like `unzip` except that it accepts an iteratee to specify * how regrouped values should be combined. The iteratee is invoked with the * elements of each group: (...group). * * @template T, R * @param {ArrayLike> | null | undefined} array - The array of grouped elements to process. * @param {(...values: T[]) => R} iteratee - The function to combine regrouped values. * @returns {R[]} Returns the new array of regrouped elements. * * @example * unzipWith([[1, 10, 100], [2, 20, 200]], (a, b) => a + b); * // => [3, 30, 300] */ declare function unzipWith(array: ArrayLike> | null | undefined, iteratee: (...values: T[]) => R): R[]; /** * This method is like `unzip` except that it accepts an iteratee to specify * how regrouped values should be combined. * * @template T * @param {ArrayLike> | null | undefined} array - The array of grouped elements to process. * @returns {T[][]} Returns the new array of regrouped elements. * * @example * unzipWith([[1, 10, 100], [2, 20, 200]]); * // => [[1, 2], [10, 20], [100, 200]] */ declare function unzipWith(array: ArrayLike> | null | undefined): T[][]; export { unzipWith };