import { LegendProps, RadialBarProps, RadialBarChart as ReChartsRadialBarChart, TooltipProps } from 'recharts'; import { BoxProps, ElementProps, Factory, StylesApiProps } from '@mantine/core'; import { ChartLegendStylesNames } from '../ChartLegend'; export type RadialBarChartStylesNames = 'root' | 'tooltip' | ChartLegendStylesNames; export type RadialBarChartCssVariables = { root: '--chart-empty-background'; }; export interface RadialBarChartProps extends BoxProps, StylesApiProps, ElementProps<'div'> { /** Chart data */ data: Record[]; /** Key from data object to use as data key */ dataKey: string; /** Size of bars in px, `20` by default */ barSize?: number; /** Determines whether empty bars area should be visible @default `true` */ withBackground?: boolean; /** Determines whether labels should be displayed @default `false` */ withLabels?: boolean; /** Determines whether the legend should be displayed @default `false` */ withLegend?: boolean; /** Determines whether the tooltip should be displayed when one of the bars is hovered @default `true` */ withTooltip?: boolean; /** Color of the empty background, by default depends on the color scheme */ emptyBackgroundColor?: string; /** Angle at which chart starts @default `90` */ startAngle?: number; /** Angle at which chart ends @default `-270` */ endAngle?: number; /** Props passed down to recharts RadialBar component */ radialBarProps?: Omit; /** Props passed down to recharts RadarChartChart component */ radialBarChartProps?: React.ComponentPropsWithoutRef; /** Props passed down to recharts Legend component */ legendProps?: Omit; /** Props passed down to `Tooltip` recharts component */ tooltipProps?: Omit, 'ref'>; } export type RadialBarChartFactory = Factory<{ props: RadialBarChartProps; ref: HTMLDivElement; stylesNames: RadialBarChartStylesNames; vars: RadialBarChartCssVariables; }>; export declare const RadialBarChart: import("@mantine/core").MantineComponent<{ props: RadialBarChartProps; ref: HTMLDivElement; stylesNames: RadialBarChartStylesNames; vars: RadialBarChartCssVariables; }>;