import type { ReactNode } from 'react'; import type { Direction, XAxisOptions, YAxisOptions, ChartType, ChartProps, LabelFormatter } from '@shopify/polaris-viz-core'; import type { Annotation, BottomOnlyLegendPosition, RenderAnnotationContentData, RenderLegendContent, TooltipOptions } from '../../types'; export declare type BarChartProps = { errorText?: string; tooltipOptions?: TooltipOptions; annotations?: Annotation[]; direction?: Direction; emptyStateText?: string; legendPosition?: BottomOnlyLegendPosition; renderLegendContent?: RenderLegendContent; seriesNameFormatter?: LabelFormatter; showLegend?: boolean; maxSeries?: number; skipLinkText?: string; theme?: string; type?: ChartType; xAxisOptions?: Partial; yAxisOptions?: Partial; renderAnnotationContent?: (data: RenderAnnotationContentData) => ReactNode; renderHiddenLegendLabel?: (count: number) => string; renderBucketLegendLabel?: () => string; scrollContainer?: Element | null; } & ChartProps; export declare function BarChart(props: BarChartProps): JSX.Element; //# sourceMappingURL=BarChart.d.ts.map