import { KeyboardEvent } from 'react'; /** * Gets all visible focusable elements for a specific toolbar instance. * Filters out hidden items and includes the overflow trigger if present. */ export declare function getToolbarElements(toolbarElement: HTMLElement): Element[]; /** * Updates tabindex values for all items in a toolbar. * Sets tabindex="0" for the active item and tabindex="-1" for all others. */ export declare function updateToolbarItemsTabIndex(toolbarElement: HTMLElement, activeItem?: Element | number): Element | undefined; /** * Handles keyboard navigation within the toolbar component following ARIA practices. * * Navigation behavior: * - Left/Right arrows move focus in horizontal toolbars * - Up/Down arrows move focus in vertical toolbars * - Home/End move to first/last items * - Navigation wraps around at the ends * - Only visible items are included in navigation */ export declare function handleToolbarKeyDown(event: KeyboardEvent, toolbarElement: HTMLElement): void; /** * Handles keyboard navigation within overflow menu using arrow keys */ export declare const handleMenuKeyboardNavigation: (event: KeyboardEvent) => void;