import type { Data } from './types.js'; /** @internal */ export type EventCoords = { clientX: number; clientY: number; }; /** * Ergonomic wrapper around the low-level tooltip dispatch. * Encapsulates action types, coordinate rounding, and empty-data defaults so * callers only need to deal with intent (hover / pin / unpin / …). * * @internal */ export declare const useTooltipActions: () => { hover: (event: EventCoords, data?: Data) => void; pin: (event: EventCoords, data: Data) => void; togglePin: (event: EventCoords, data: Data) => void; unpin: () => void; reset: () => void; outOfBounds: () => void; };