type EqFn = (left: T, right: T) => boolean; export declare function nubBy(items: T[] | unknown, eq?: EqFn): T[]; export {};