import predicateType from '../helpers/predicateType'; /** * Removes all given elements from the array using a custom iteratee function * * @since 1.0.0 * * @template T * @param {T[]} array - The source array * @param {T[]} elementsToRemove - The array of elements to be removed * @param {Function} [iteratee=identity] - The function invoked per iteration * @returns {T[]} - The new array with removed elements * * @example * * const users = [{ name: 'John', age: 30 }, { name: 'Jane', age: 25 }, { name: 'Bob', age: 40 }]; * const removedUsers = pullAllBy(users, [{ name: 'John' }, { name: 'Jane' }], 'name'); * * console.log(removedUsers); // [{ name: 'Bob', age: 40 }] */ declare const pullAllBy: (array: T[], elementsToRemove: T[], iteratee?: predicateType) => T[]; export default pullAllBy;