import type { InteractionMode } from '../../interactions-overlay/types.js'; import type { MenuDisplayMode } from '../ChartToolbarRenderer.js'; export declare const useToolbar: (collapsed: boolean, menuDisplayMode: MenuDisplayMode) => { isExpanded: boolean; lastItemSelected: InteractionMode | undefined; updateLastItemSelected: (lastItemSelected?: InteractionMode) => void; toggleExpanded: (state: boolean) => void; isCollapsable: boolean; fitsBounds: boolean; updateFitsBounds: (isFitting: boolean) => void; shouldShowMenu: boolean; };