import React from 'react';
interface UseKeyboardOptions {
    isOpen: boolean;
    onOpen: () => void;
    onClose: () => void;
    onSelectNext: () => void;
    onSelectPrev: () => void;
    onEnter: () => void;
    disableShortcut?: boolean;
    shortcutKey?: string;
}
export declare function useKeyboard(options: UseKeyboardOptions): {
    handleModalKeyDown: (event: KeyboardEvent | React.KeyboardEvent) => void;
};
export declare function getShortcutText(key?: string): string;
export {};
//# sourceMappingURL=useKeyboard.d.ts.map