import { type VariantProps } from 'class-variance-authority'; import * as React from 'react'; import { type ChartSeries } from '../LineChart/index.js'; import type { PieChartItem } from '../../../../types/data.js'; declare const DEFAULT_PIE_COLORS: string[]; declare const pieChartVariants: (props?: ({ size?: "lg" | "md" | "sm" | "xs" | "xxs" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type PieLegendPosition = 'none' | 'bottom' | 'right'; export type PieHole = 'none' | '25%' | '50%' | '75%'; export type PieLabelType = 'value' | 'name'; export type PieChartDataPoint = PieChartItem; export interface PieChartProps extends React.HTMLAttributes, VariantProps { /** Data points for pie slices */ data: PieChartDataPoint[]; /** Series configuration (for legend) - if not provided, uses data names */ series?: ChartSeries[]; /** Legend position */ legendPosition?: PieLegendPosition; /** Hole size in the center (for donut effect) */ hole?: PieHole; /** Start angle in degrees (0 = right, 90 = top) */ startAngle?: number; /** Show tooltip on hover */ showTooltip?: boolean; /** Padding angle between slices */ paddingAngle?: number; /** Show labels on slices */ showLabels?: boolean; /** Label content */ labelType?: PieLabelType; /** Label placement */ labelPosition?: 'inside' | 'outside'; /** Center metric for donut variants */ centerValue?: string | number; /** Center metric label */ centerLabel?: string; /** Accessible label for screen readers */ 'aria-label'?: string; } declare function PieChart({ data, series, legendPosition, hole, startAngle, showTooltip, paddingAngle, showLabels, labelType, labelPosition, centerValue, centerLabel, size, className, style, 'aria-label': ariaLabel, ...props }: PieChartProps): React.JSX.Element; declare namespace PieChart { var displayName: string; } export { DEFAULT_PIE_COLORS, PieChart, pieChartVariants };