import type { InteractionMode } from '../../interactions-overlay/types.js'; export interface ChartToolbarContextProps { /** Updates the last item selected in the toolbar. */ updateLastItemSelected: (state: InteractionMode | undefined) => void; /** Indicates that controls are inside a dropdown menu. */ isMenuElement?: boolean; /** Indicates that the toolbar is currently expanded. */ isExpanded?: boolean; /** The last interaction mode selected in the toolbar. */ lastItemSelected?: InteractionMode; /** Indicates if the toolbar was dragged. */ didDrag?: boolean; /** Resets the didDrag state to false. */ resetDidDrag?: () => void; } export declare const ChartToolbarContext: import("react").Context;