import type { Point } from '../../core/types/point.js'; import { DimensionXYPoint } from '../types/categorical-bar-chart-data.js'; import { Layout, GroupMode } from '../types/categorical-bar-chart.js'; /** * Retrieve the dimension X/Y points based on the * closest category considering the current category and value scale * * @param layout - layout mode of the chart * @param groupMode - group mode of the chart * @param mousePosition - mouse coordinate */ export declare function useClosestDimensionPoints(layout: Layout, groupMode: GroupMode | undefined, mousePosition: Point | undefined): DimensionXYPoint[];