import React from 'react';
import { PieDatum } from './CorePieChart';
import { ChartData, ChartPopoverMenuTheme, ChartTheme, ColorFormatterByDatum } from '../types';
import { ConditionalFormattingOption } from '../Legend/Legend';
import { ChartRef } from '../utils/chartRendering';
export interface PieChartProps extends RequiredPieChart {
}
export declare type PieStyleOverrides = {
    cornerRadius?: number;
    gap?: boolean;
    hole?: boolean;
};
export declare const PieChart: React.ForwardRefExoticComponent<PieChartProps & React.RefAttributes<ChartRef>>;
declare type FormatLabel = (key: string) => string;
declare type FormatValue = (key: number) => string | number;
export declare type ClickDatumValues = {
    datum: PieDatum;
    index: number;
    key: string;
};
export declare type PieEvent = {
    clientX: number;
    clientY: number;
};
declare type RequiredPieChart = {
    data: Array<ChartData>;
    valueKey: string;
    labelKey: string;
    colors: Array<string>;
    theme?: ChartTheme;
    showLabel?: boolean;
    legend?: boolean;
    formatValue: FormatValue;
    formatLabel?: FormatLabel;
    formatColor?: ColorFormatterByDatum;
    onClick?: (datum: ClickDatumValues, event: React.MouseEvent<SVGPathElement>) => void;
    conditionalFormattingPossibilities?: (dataKey: string) => Array<ConditionalFormattingOption>;
    popOverMenuStyles?: ChartPopoverMenuTheme;
    styles?: PieStyleOverrides;
};
export {};
