interface Zip { (list1: ArrayLike, list2: ArrayLike): Array<[U, V]>; (list1: ArrayLike): (list2: ArrayLike) => Array<[U, V]>; } /** * Creates a new list out of the two supplied by pairing up equally-positioned * items from both lists. The returned list is truncated to the length of the * shorter of the two input lists. * * @param {Array} a The first array to consider. * @param {Array} b The second array to consider. * @return {Array} The list made by pairing up same-indexed elements of `a` and `b`. * @example * * zip([1, 2, 3], ['a', 'b', 'c']); //=> [[1, 'a'], [2, 'b'], [3, 'c']] */ declare const _default: Zip; export default _default;