/** * Constructs an array containing the difference between the given arrays * * @param array1 The source array * @param array2 The comparison array * @returns An array containg the items that exist in either array1 but not array2 and vise versa */ declare function arrayDifference(array1: T[], array2: T[], by?: (first: T, second: T) => boolean): T[]; export default arrayDifference;