export declare function groupBy<T extends {
    [key: string]: any;
}>(source: T[], by: keyof T): { [key in T[keyof T]]: T[]; };
