/** * This function creates a new array with unique values from the input `array`, * based on the result of applying the `iteratee` function to each element. The order of * elements in the returned array is based on the order of the first occurrence of each value. * * @template T * @param {T[]} array - The input array to process. * @param {Function} iteratee - The function invoked per iteration. * @returns {T[]} - A new array of unique values. * * @example * const array = [{ x: 1 }, { x: 2 }, { x: 1 }]; * const result = sortedUniqBy(array, o => o.x); * console.log(result); // => [{ x: 1 }, { x: 2 }] */ declare const sortedUniqBy: (array: T[], iteratee: Function) => T[]; export default sortedUniqBy;