export declare function removeDuplicates(arr: T[], key: K): T[];