export declare const groupBy: (arr: T[], attr: keyof T, keyRenamer: (key: T[keyof T]) => string) => { [k: string]: T; };