import * as React from 'react'; import { type ScatterProps, type ScatterSlotProps, type ScatterSlots } from "./Scatter.js"; import type { ScatterPropsOverrides } from "../models/chartsSlotsComponentsProps.js"; export interface ScatterPlotSlots extends ScatterSlots { scatter?: React.JSXElementConstructor; } export interface ScatterPlotSlotProps extends ScatterSlotProps { scatter?: Partial & ScatterPropsOverrides; } export type RendererType = 'svg-single' | 'svg-batch'; export interface ScatterPlotProps extends Pick { className?: string; /** * Callback fired when a marker is clicked directly. * For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead. * @param {MouseEvent} event Mouse event recorded on the `` element. * @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier. */ onItemClick?: ScatterProps['onItemClick']; /** * Overridable component slots. * @default {} */ slots?: ScatterPlotSlots; /** * The props used for each component slot. * @default {} */ slotProps?: ScatterPlotSlotProps; /** * The type of renderer to use for the scatter plot. * - `svg-single`: Renders every scatter item in a `` element, synchronously. * - `svg-progressive`: Renders every scatter item in a `` element, in progressive batches that paint over several animation frames to keep the main thread responsive. * - `svg-batch`: Batch renders scatter items in `` elements for better performance with large datasets, at the cost of some limitations. * Read more: https://mui.com/x/react-charts/scatter/#performance * * When not set, defaults to `svg-single`. Enable the `progressiveRendering` experimental feature to auto-select `svg-progressive` above an internal point-count threshold; this will become the default in the next major version. * @default 'svg-single' */ renderer?: RendererType | 'svg-progressive'; } /** * Demos: * * - [Scatter](https://mui.com/x/react-charts/scatter/) * - [Scatter demonstration](https://mui.com/x/react-charts/scatter-demo/) * * API: * * - [ScatterPlot API](https://mui.com/x/api/charts/scatter-plot/) */ declare function ScatterPlot(props: ScatterPlotProps): import("react/jsx-runtime").JSX.Element | null; declare namespace ScatterPlot { var propTypes: any; } export { ScatterPlot };