import { ToolbarDataNode, ToolbarDataTree, ToolbarLeafClickHandler } from '../toolbar-types';
import { DataNode } from '../../../types/data-structures';
/**
 * Hook for managing keyboard interactions with toolbar
 * @param refs
 * @param expandNode
 * @returns
 */
export declare function useKeyboardNavigation(setState: React.Dispatch<React.SetStateAction<ToolbarDataTree | undefined>>, refs: React.RefObject<Map<string, HTMLDivElement>>, handleNodeExpand: (node: ToolbarDataNode, nodeId: string) => Promise<void>, onToolbarLeafNodeClick?: ToolbarLeafClickHandler, onToolbarClose?: () => void): {
    handleKeyDown: (e: React.KeyboardEvent, node: DataNode, nodeId: string) => Promise<void>;
};
//# sourceMappingURL=useKeyboardNavigation.d.ts.map