interface UseKeyOptions { event?: 'keydown' | 'keypress' | 'keyup'; target?: EventTarget; options?: AddEventListenerOptions; } /** * Hook that executes a handler when a keyboard key is used. */ export declare const useKey: (keys: string | number | (string | number)[], fn: (event: KeyboardEvent) => void, opts?: UseKeyOptions) => void; export {};