import type { RectanglePoint } from '../components/overlay/explore/types.js'; import { AxisIdToScales } from '../context/XYChartScales.context.js'; import { RectDatapointInternal, RectSeriesWithDatapoints, type AxisIdToScaleDomain, type BarSeriesWithDatapoints } from '../types/xy-chart-internals.js'; import { XYAccessorDataTypes, type BarDatapoint } from '../types/xy-chart.js'; export interface XYChartSelectionRectangleMetadata { series: RectSeriesWithDatapoints | BarSeriesWithDatapoints; datapoint: RectDatapointInternal | BarDatapoint; } export declare const isValidNumeric: (v?: XYAccessorDataTypes) => v is number | Date; export interface NumericColumn { x0: number; x1: number; rectangles: XYChartSelectionRectangleMetadata[]; } export interface RectAxisSelectConfig { numericColumns: NumericColumn[]; allRectangles: XYChartSelectionRectangleMetadata[]; isHorizontal: boolean; } export declare const useSortRectangleDatapoints: () => { addValue: (rect: XYChartSelectionRectangleMetadata) => void; getCurrentSelectConfig: () => Map; searchAllAxisDatapoints: (start: number, end: number, callback: (point: XYChartSelectionRectangleMetadata) => RectanglePoint, axesIds: string | string[], axisIdToScales: AxisIdToScales, axisIdToScaleDomain: AxisIdToScaleDomain, axisIDToIsRelative: Map) => { axesCurrentSelection: Record; highlightedDatapoints: RectanglePoint[]; }; hasDatapoints: () => boolean; }; //# sourceMappingURL=useSortRectangleDatapoints.d.ts.map