declare const uniqByKey: (array: any[], key: any) => T[]; export default uniqByKey;