import * as React from 'react'; import type { MenuMode } from '../interface'; /** * Get focusable elements from the element set under provided container */ export declare function getFocusableElements(container: HTMLElement, elements: Set): HTMLElement[]; export declare const refreshElements: (keys: string[], id: string) => { elements: Set; key2element: Map; element2key: Map; }; export declare function useAccessibility(mode: MenuMode, activeKey: string, isRtl: boolean, id: string, containerRef: React.RefObject, getKeys: () => string[], getKeyPath: (key: string, includeOverflow?: boolean) => string[], triggerActiveKey: (key: string) => void, triggerAccessibilityOpen: (key: string, open?: boolean) => void, originOnKeyDown?: React.KeyboardEventHandler): React.KeyboardEventHandler;