import type { FormatCategory } from '../../../hooks/useFormatCategory.js'; import { AxisIdToFormatter, XYChartAxisInternal, XYChartVisibleAxesConfig, XYChartVisibleAxesScales } from '../../../types/xy-chart-internals.js'; type AXIS = 'left' | 'right' | 'bottom' | 'top'; type AXES = AXIS[]; type LabelsAccumulator = { left: string | undefined; right: string | undefined; bottom: string | undefined; top: string | undefined; }; type PartialAxesConfig = { [key in keyof XYChartVisibleAxesConfig]: Pick | undefined; }; export type ChartCrosshairDataTransformer = (args: { axesScale: XYChartVisibleAxesScales; axesConfig: PartialAxesConfig; axesIdToFormatter: AxisIdToFormatter; width: number; axes?: AXES; formatCategory?: FormatCategory; }) => CrosshairLabelsGetter; export type CrosshairLabelsGetter = (args: { position: { x: number; y: number; }; pinned: boolean; }) => LabelsAccumulator; export declare const chartCrosshairDataTransformer: ChartCrosshairDataTransformer; export {};