import type { ReactNode } from 'react'; import type { ChartBaseProps } from './chartExtra.cjs'; export interface ScatterChartProps = Record> extends ChartBaseProps { data: D[]; xKey: string; yKey: string; /** Key for bubble size; omit for uniform dots. */ sizeKey?: string; /** Key whose value splits points into colored groups (and the legend). */ groupKey?: string; /** Key for the point name shown in the tooltip. */ nameKey?: string; /** Colors by group (in order of first appearance) or a single color. */ colors?: string[]; /** Bubble radius range in px. Default `[4, 22]`. */ sizeRange?: [number, number]; height?: number; /** * Max dots drawn. Above this the plot is thinned to one dot per grid cell (per group) so the * outline of the cloud is kept; hover and keyboard still see every point. Default 1500. */ maxPoints?: number; grid?: boolean; legend?: boolean; legendToggle?: boolean; xTickFormatter?: (v: number) => string; yTickFormatter?: (v: number) => string; renderTooltip?: (params: { datum: D; }) => ReactNode; } /** Scatter plot with optional bubble size and color groups. */ export declare function ScatterChart>({ data: dataProp, xKey, yKey, sizeKey, groupKey, nameKey, colors, sizeRange, height, maxPoints, grid, legend, legendToggle, xTickFormatter, yTickFormatter, renderTooltip, label, animate, loading, empty, className, style, sx, }: ScatterChartProps): import("react/jsx-runtime").JSX.Element;