import { BulletLegendItemInterface, TooltipConfig } from '../../types'; import { LegendPosition } from '../../enums'; export declare enum DonutType { Half = "half", Full = "full" } export type DonutChartProps = { /** * The type of donut chart to render. * See `DonutType` for available options. */ type?: DonutType; /** * The data to be displayed in the donut chart. * Each number in the array represents a segment value. */ data: number[]; /** * The arc width of the chart in pixels. */ arcWidth?: number; /** * The height of the chart in pixels. */ height?: number; /** * The radius of the donut in pixels. */ radius: number; /** * If `true`, hides the chart legend. */ hideLegend?: boolean; /** * Optional position for the legend, if applicable. * See `LegendPosition` for available options. */ legendPosition?: LegendPosition; /** * Optional style object for the legend container. Allows custom CSS styling. */ legendStyle?: string | Record; /** * A record mapping category keys to `BulletLegendItemInterface` objects. * This defines the visual representation and labels for each category in the chart's legend. */ categories: Record; /** * Pad angle. Default: 0 */ padAngle?: number; /** * Use custom formatter for tooltip titles */ tooltipTitleFormatter?: (data: T) => string | number; /** * If `true`, hides the chart tooltip. */ hideTooltip?: boolean; /** * Configuration object for the chart tooltip. */ tooltip?: TooltipConfig; /** * Animation duration in milliseconds. */ duration?: number; };