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