import type { PlotAxisContext, PlotSeriesState } from '../contexts/plotContext.js'; import type { PlotEventsPlotActions } from '../contexts/plotController/usePlotEvents.js'; import type { SeriesPoint } from '../types.js'; export interface ClosestInfo { point: SeriesPoint; label?: string; axis: MethodName extends 'euclidean' ? Record<'x' | 'y', PlotAxisContext> : PlotAxisContext; } export type ClosestMethods = 'x' | 'y' | 'euclidean'; export type ClosestInfoResult = Record>; export interface TrackingResult { event: NativeEventType; coordinates: Record; clampedCoordinates: Record; movement: Record; domains: Record; getClosest: (method: ClosestMethods) => ClosestInfoResult; } export interface TrackingProps { plotId: string; plotEvents: PlotEventsPlotActions; stateSeries: PlotSeriesState[]; axisContext: Record; plotWidth: number; plotHeight: number; } export default function Tracking({ plotId, plotEvents, stateSeries, axisContext, plotHeight, plotWidth, }: TrackingProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Tracking.d.ts.map