import { Point, SeriesData } from './ScatterPlot'; export declare const POINT_RADIUS = 8; export declare const LABEL_FONT_SIZE = 12; export declare const LABEL_OFFSET = 8; export declare const LABEL_AVG_CHAR_WIDTH_RATIO = 0.6; export declare const CHART_MARGIN_TOP = 45; export declare const CHART_MARGIN_RIGHT = 40; export declare const CHART_MARGIN_LEFT = 30; export declare const CHART_MARGIN_BOTTOM = 15; export declare const ANIMATION_DURATION = 200; export declare const MAX_TOTAL_LABELS = 10; export declare const DISABLE_ANIMATIONS_THRESHOLD_POINTS = 250; export type ProcessedPoint = Point & { pointIndex: number; seriesIndex: number; seriesName: string; seriesColor: string; }; export type GroupedSeriesData = { seriesId: number; name: string; color: string; points: (Point & { pointIndex: number; })[]; }; export declare const processScatterPlotData: (values: SeriesData[], colorsWithExtra: Record) => { allPoints: ProcessedPoint[]; shouldShowLabels: boolean; }; export declare const createGroupedData: (values: SeriesData[], colorsWithExtra: Record, allPoints: ProcessedPoint[]) => GroupedSeriesData[]; export declare const measureLabelWidth: (text: string) => number; export declare const calculateLabelPosition: (pointX: number, pointY: number, text: string, containerWidth: number) => { x: number; y: number; anchor: "start" | "end"; };