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