import type { Without } from '../../Array/without.js'; declare global { interface Array { /** * Returns a new array excluding all given values (using `equals` for equality comparisons). * @param values The values to exclude. * * @example * ```typescript * const arr = [1, 2, 3, 1, 2, 3, [1, 2, { b: 10 }]]; * arr.without(1, 2, [1, 2, { b: 10 }]); // => [3, 3] * ``` * * @see {@link equals} */ without< const AS extends readonly unknown[], const BS extends readonly AS[number][], >( this: AS, ...values: BS ): Without; } interface ReadonlyArray { /** * Returns a new array excluding all given values (using `equals` for equality comparisons). * @param values The values to exclude. * * @example * ```typescript * const arr = [1, 2, 3, 1, 2, 3, [1, 2, { b: 10 }]]; * arr.without(1, 2, [1, 2, { b: 10 }]); // => [3, 3] * ``` * * @see {@link equals} */ without< const AS extends readonly unknown[], const BS extends readonly AS[number][], >( this: AS, ...values: BS ): Without; } } //# sourceMappingURL=without.d.ts.map