/** * Creates an array of array values not included in the other given arrays * using SameValueZero for equality comparisons. * * @param array - The array to inspect * @param values - The values to exclude * @returns Returns the new array of filtered values * * @example * difference([2, 1], [2, 3]); * // => [1] */ export declare function difference(array: readonly T[], ...values: readonly T[][]): T[]; /** * This method is like `difference` except that it accepts `iteratee` which * is invoked for each element of `array` and `values` to generate the criterion * by which they're compared. * * @param array - The array to inspect * @param values - The values to exclude * @param iteratee - The iteratee invoked per element * @returns Returns the new array of filtered values */ export declare function differenceBy(array: readonly T[], values: readonly T[], iteratee: (value: T) => U): T[]; /** * This method is like `difference` except that it accepts `comparator` * which is invoked to compare elements of `array` to `values`. * * @param array - The array to inspect * @param values - The values to exclude * @param comparator - The comparator invoked per element * @returns Returns the new array of filtered values */ export declare function differenceWith(array: readonly T[], values: readonly T[], comparator: (arrVal: T, othVal: T) => boolean): T[];