/** * Returns a duplicate-free version of the array, * in which only the first occurrence of each element is kept (using `equals` for equality comparisons). * @param array The array to get the unique values of. * * @example * ```typescript * const arr = [1, 2, 3, 1, 2, 3, { a: [2], c: { d: 10 } }, , { a: [2], c: { d: 10 } }]; * unique(arr); // => [1, 2, 3, { a: [2], c: { d: 10 } }] * ``` * * @see {@link equals} */ declare const unique: (array: T[]) => T[]; export default unique; //# sourceMappingURL=unique.d.ts.map