export interface ObjectType<T> {
    [key: string]: T[];
}
declare function groupBy<T>(data: T[], condition: (item: T) => string): ObjectType<T>;
declare function groupBy<T>(data: T[], condition: string): ObjectType<T>;
export default groupBy;
