import { HoverBridgeProps } from './HoverBridge'; export interface UseHoverToolbarOptions { /** Toolbar stays visible regardless of hover — e.g. while the node is selected. */ forceVisible?: boolean; /** @default true */ enabled?: boolean; } export interface UseHoverToolbarResult { visible: boolean; /** Spread onto the hover-bound wrapper (the node/note root). */ hoverProps: { onMouseEnter: () => void; onMouseLeave: () => void; }; /** Spread onto `` so gap/side stay in sync with `visible`. */ bridgeProps: HoverBridgeProps; } /** * State half of the bridge trick — pairs with ``. Tracks hover on the anchor * (a node/note wrapper) and reports whether the floating toolbar should be shown, forced open * (e.g. by selection) regardless of hover state. */ export declare function useHoverToolbar(options?: UseHoverToolbarOptions): UseHoverToolbarResult;