export declare const dedupe: (items: T[], id: (item: T) => string) => T[];