import { type MouseEvent as ReactMouseEvent } from 'react'; import type { ColorToken } from '../../../types/color-palette.js'; import type { Point } from '../../../types/point.js'; import type { ThresholdMarker } from '../types.js'; type tooltipItem = { id: string; name: string | string[]; color: ColorToken; values: string[]; }; export declare function useThresholdBarTooltip(markers: ThresholdMarker[], onHover?: (id: string | undefined) => void): { showTooltip: false | Point | undefined; tooltipPosition: Point | undefined; tooltipItems: tooltipItem[]; handleMouseMove: (event: ReactMouseEvent, index: number) => void; handleMouseLeave: () => void; }; export {};