import { ReactElement, ReactNode } from 'react'; import { ChartSelection, ChartSeries, ChartTooltipContext } from '../types'; import { ChartSnapshot } from '../chart-context'; import { PlotMark } from '../marks/contract'; /** * How the crosshair travels between points; the band, pills, and pins travel the same way. * Critically damped and quick (most of a column in about 130ms), so the readout lands with the column it reads * instead of trailing it. */ export declare const SPRING_TRANSITION: { stiffness: number; damping: number; mass: number; }; interface InspectionLayerProps { snapshot: ChartSnapshot; selection: ChartSelection | null; series: readonly ChartSeries[]; seriesColors?: Readonly>; paintId?: (seriesId: string, treatment: 'fade' | 'hatch' | 'dots') => string; renderContent?: (context: ChartTooltipContext) => ReactNode; inspectionSeries?: string; /** Stacked pills: the stack `total`, the active series' own value, or its stacked edge. */ stackedPill?: 'total' | 'series' | 'stack'; pinIcon?: ReactNode; tooltipClassName?: string; tooltipAriaLabel?: string; width: number; height: number; reducedMotion: boolean; highlightMaskId: string; crossGradientId: string; compactPlot?: boolean; inlineOnly?: boolean; hideAxisBadges?: boolean; /** * A panel (tooltip or strip) reads the values out away from the point, so the crosshair turns * dotted and the point becomes a ring that marks the spot instead of sitting on it. */ panel?: boolean; peer?: boolean; onCompareFromHere?: () => void; /** Range marks in the plot; column marks draw their own highlight instead of a point. */ marks?: readonly PlotMark[]; } export declare function InspectionLayer({ snapshot, selection, series, seriesColors, paintId, renderContent, inspectionSeries, stackedPill, pinIcon, tooltipClassName, tooltipAriaLabel, width, height, reducedMotion, highlightMaskId, crossGradientId, compactPlot, inlineOnly, hideAxisBadges, panel, peer, onCompareFromHere, marks, }: InspectionLayerProps): ReactElement; export {};