import { RefObject } from 'react'; import { Callback } from 'ctrl-keys'; export interface HotkeyShortcuts { name: string; keys: string | string[]; ref?: RefObject; disabled?: boolean; callback: Callback; action?: 'keypress' | 'keydown' | 'keyup'; description?: string; category?: string; hidden?: boolean; } export declare const useHotkeys: (shortcuts?: HotkeyShortcuts[]) => HotkeyShortcuts[];