export default function getUniqueArray(array: T[], comparator?: (a: T, b: T) => boolean): T[];