/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { KeyboardEvent, RefObject } from 'react'; export declare const KeyboardKeys: { ArrowDown: string; ArrowLeft: string; ArrowRight: string; ArrowUp: string; End: string; Home: string; }; type Options = { directChildrenOnly?: boolean; focusableElements?: string[]; horizontally?: boolean; rotating?: boolean; }; export declare const useKeyboardFocus: (ref: RefObject, options: Options) => { keyDown: (e: KeyboardEvent) => void; }; export {};