import { AxisIdToScales } from './XYChartScales.context.js'; import type { RectanglePoint } from '../components/overlay/explore/types.js'; import { RectAxisSelectConfig, XYChartSelectionRectangleMetadata } from '../hooks/useSortRectangleDatapoints.js'; import type { AxisIdToScaleDomain } from '../types/xy-chart-internals.js'; export interface XYChartRectSelectionContextValue { selectionConfigByAxisId: Map; searchAllAxisDatapoints: (start: number, end: number, callback: (point: XYChartSelectionRectangleMetadata) => RectanglePoint, axesIds: string | string[], axisIdToScales: AxisIdToScales, axisIdToScaleDomain: AxisIdToScaleDomain, axisIdToIsRelative: Map) => { axesCurrentSelection: Record; highlightedDatapoints: RectanglePoint[]; }; } export declare const XYChartRectSelectionContext: import("react").Context;