import React from 'react';
import { VirtualGroupedListItem, VirtualGroupedListMainItem } from '../../VirtualGroupedList/types';
type Item<T> = T & {
    notSelectable?: boolean;
};
type Props<T, S> = {
    items: VirtualGroupedListMainItem<Item<T>>[];
    open: boolean;
    onSelectFocusedItem: (item: {
        item: Item<T>;
        groupData: VirtualGroupedListItem<Item<T>>;
    }) => void;
    selectedItems: S[];
    onClose?: (event: React.KeyboardEvent) => void;
};
export declare const useKeyboardNavigation: <T, S>({ items, open, onSelectFocusedItem, selectedItems, onClose }: Props<T, S>) => {
    focusIndex: number;
    handleKeyDown: (event: React.KeyboardEvent) => boolean;
};
export {};
