import type { ReactNode } from 'react'; import type { DataSeries, ChartType, XAxisOptions, YAxisOptions, LabelFormatter } from '@shopify/polaris-viz-core'; import type { AnnotationLookupTable, BottomOnlyLegendPosition, RenderAnnotationContentData, RenderLegendContent, RenderTooltipContentData } from '../../types'; export interface ChartProps { annotationsLookupTable: AnnotationLookupTable; data: DataSeries[]; renderTooltipContent: (data: RenderTooltipContentData) => ReactNode; seriesNameFormatter: LabelFormatter; showLegend: boolean; type: ChartType; xAxisOptions: Required; yAxisOptions: Required; legendPosition?: BottomOnlyLegendPosition; renderAnnotationContent?: (data: RenderAnnotationContentData) => ReactNode; renderHiddenLegendLabel?: (count: number) => string; renderLegendContent?: RenderLegendContent; } export declare function Chart({ annotationsLookupTable, data, legendPosition, renderAnnotationContent, renderHiddenLegendLabel, renderLegendContent, renderTooltipContent, seriesNameFormatter, showLegend, type, xAxisOptions, yAxisOptions, }: ChartProps): JSX.Element; //# sourceMappingURL=Chart.d.ts.map