import { ComponentProps } from 'react'; import { ChartSeries, DateFormat, NumberFormat } from '../../generated.js'; export type ChartProps = Omit, "title"> & { categoryFormat?: DateFormat | NumberFormat | null; categoryKey?: string | null; data: Record[]; description?: string | null; grid?: boolean; height?: number; legend?: boolean; series: ChartSeries[]; title?: string | null; tooltip?: boolean; valueFormat?: NumberFormat | null; xAxis?: boolean; yAxis?: boolean; }; export type ChartViewProps = { categoryFormat: DateFormat | NumberFormat | null; categoryKey: string | null; data: Record[]; grid: boolean; height: number; legend: boolean; series: ChartSeries[]; tooltip: boolean; valueFormat: NumberFormat | null; xAxis: boolean; yAxis: boolean; }; export declare function Chart({ categoryFormat, categoryKey, className, data, description, grid, height, legend, series, title, tooltip, valueFormat, xAxis, yAxis, ...props }: ChartProps): import("react").JSX.Element;