type Key = number | string | symbol; declare const groupByKeys: >(array: T[], key1: Key, key2: Key) => Record>; export = groupByKeys;