export declare const groupBy: (arr: T[], predicate: (item: T) => K) => Record;