/**
 * This annotation allows drawing a crosshair on a chart.
 *
 * A crosshair is a combination of horizontal and vertical lines intersecting at a point,
 * with optional coordinate labels.
 *
 * It accepts either pixel coordinates or data values for positioning.
 *
 * In case it receives pixel coordinates, it uses a Cross component (raw SVG).
 * If data values are provided, it uses a combination of two ReferenceLine components.
 *
 * TODO: For data-based positioning, we need two ReferenceLine components (one with x, one with y).
 * However, ReferenceLine with just x or just y will draw a full line across the chart.
 * This works well for crosshairs but doesn't support truncated crosshairs.
 */
import React from 'react';
import { Annotation } from './types.js';
interface CrosshairProps {
    annotation: Annotation;
    showLabels?: boolean;
}
export declare function Crosshair({ annotation, showLabels }: CrosshairProps): React.JSX.Element | null;
export {};
