import { ToolbarInteractionModes } from '../types/toolbar-interaction-modes.js'; import { A11yToolbarTabIndex } from '../types/toolbar.js'; /** * Get key from ToolbarTabIndex [key]: number * @param tabIndex - toolbar control tab index [key]: number * @internal */ export declare function getTabIndexValue(tabIndex: A11yToolbarTabIndex): number; /** * Get value from ToolbarTabIndex [key]: number * * @internal * @param tabIndex - toolbar control tab index [key]: number */ export declare function getTabIndexKey(tabIndex: A11yToolbarTabIndex): ToolbarInteractionModes; /** * The arrow keys handleControls accepts */ export type ArrowDirection = 'ArrowLeft' | 'ArrowRight'; /** * Modify the controls depending on the param direction: * Left (-1) or right (+1), will modify the next tabIndex control. * * @param direction - ArrowDirection, only accepts AerrowLeft | ArrowRight * @param controls - All toolbar buttons as array of objects [key]: number */ export declare function handleControls(direction: ArrowDirection, controls: A11yToolbarTabIndex[]): A11yToolbarTabIndex[];