/** * Given a function to group, group the given data. * This function prioritizes speed over readability. */ export declare function groupByFn(options: T[], groupBy?: (row: T) => string): T[] | Record; export declare function getEnabledOptionIds(options: T[], getOptionId: (option: T) => string, getIsOptionDisabled?: (option: T) => boolean, getIsOptionCheckable?: (option: T) => boolean): string[]; export type DirectionKey = 'ArrowUp' | 'ArrowDown' | 'Home' | 'End'; export declare function getIndexFromDirectionKey(currentIndex: number, directionKey: DirectionKey, maxIndex: number): number; //# sourceMappingURL=utils.d.ts.map