interface Intersection { (list1: ArrayLike, list2: ArrayLike): T[]; (list1: ArrayLike): (list2: ArrayLike) => T[]; } /** * Combines two array into a set (i.e. no duplicates) composed of those * elements common to both arrays. * * @param {Array} a The first array. * @param {Array} b The second array. * @return {Array} The array of elements found in both `a` and `b`. * @example * * intersection([1,2,3,4], [7,6,5,4,3]); //=> [4, 3] */ declare const _default: Intersection; export default _default;