/**
 * This annotation allows drawing a text label on a chart.
 *
 * It accepts either pixel coordinates or data values for positioning.
 *
 * Position can be provided either as a keyword (see Label.position prop),
 * or pixel coordinates, or data coordinates.
 *
 * In case it receives pixel coordinates, it passes them directly as position={{x, y}} to the Label component.
 * If data values are provided, it resolves them to pixel coordinates and then passes them as position={{x, y}} to the Label component again.
 *
 * TODO: Recharts Label component doesn't have direct support for data-based coordinates.
 * When positionType='data', we would need access to axis scales to convert data values to pixels.
 * This requires being inside a chart context with access to selectAxisScale.
 * For now, data-based positioning falls back to pixel positioning with a warning.
 */
import React from 'react';
import { Annotation } from './types.js';
interface LabelAnnotationProps {
    annotation: Annotation;
}
export declare function LabelAnnotation({ annotation }: LabelAnnotationProps): React.JSX.Element | null;
export {};
