import type { Point } from '../../core/types/point.js'; import type { DimensionXYPoint } from '../types/categorical-bar-chart-data.js'; import type { GroupMode, Layout } from '../types/categorical-bar-chart.js'; /** * Retrieve the dimension X/Y points based on the * closest category considering the threshold on each chart * * @param layout - layout mode of the chart * @param groupMode - group mode of the chart * @param mousePosition - mouse coordinate * @returns closest point and closes points of the mouse coordinate */ export declare const useClosestDimensionInThresholdPoints: (layout: Layout, groupMode?: GroupMode, mousePosition?: Point) => DimensionXYPoint | undefined;