import { default as React } from 'react';
import { PieChart as RechartsPieChart, PieProps as RechartPieProps, PieSectorDataItem as RechartsPieSectorDataItem } from 'recharts';
import { DataType } from './chartHelper';
import { LegendProps } from './Legend';
import { ChartTooltipProps } from './ChartTooltip';
import { ResponsiveContainerProps } from './ResponsiveContainer';
export type PieSectorDataItem = RechartsPieSectorDataItem;
export type PieChartDataType = DataType;
export type PieProps = Omit<Partial<RechartPieProps>, 'ref'> & {};
type RechartsPieChartProps = React.ComponentProps<typeof RechartsPieChart>;
export type PieChartProps<T extends DataType> = Omit<RechartsPieChartProps, 'data'> & {
    width?: number | string;
    height?: number | string;
    innerRadius?: number | string;
    outerRadius?: number | string;
    data: T[];
    dataKey?: string | number | ((obj: T) => any);
    dataUnit?: string;
    nameKey?: string;
    color?: string | ((obj: T) => any);
    filled?: boolean;
    labels?: boolean;
    innerLabels?: boolean;
    paddingAngle?: number;
    legend?: React.ReactElement<LegendProps> | boolean;
    tooltip?: React.ReactElement<ChartTooltipProps> | boolean;
    pieOptions?: PieProps;
    containerOptions?: ResponsiveContainerProps;
};
declare const PieChart: <T extends DataType>(props: PieChartProps<T>) => import("react/jsx-runtime").JSX.Element;
export default PieChart;
