import Plotly, { Data } from "plotly.js-basic-dist"; import { ChartProps } from "./Chart.types"; type ChartComponentProps = ChartProps & { normalizedData: Data[]; onSelected?: (event: Plotly.PlotSelectionEvent) => void; onDeselect?: () => void; }; /** * Presentational component. Assumes data fetching, wrangling, etc. has been handled. */ declare const ChartComponent: ({ onSelected, onDeselect, title, normalizedData, className, style, width, height, grow, loading, error, ...restProps }: ChartComponentProps) => import("react/jsx-runtime").JSX.Element; export default ChartComponent;