/** * Group elements of an array based on provided function */ export declare const groupBy: (list: readonly T[], fn: (a: T) => K) => Record;