import React from 'react';
import { ProvidedProps, PieArcDatum } from '@visx/shape/lib/shapes/Pie';
declare type LabelBounds = {
    left: number;
    right: number;
    top: number;
    bottom: number;
};
export declare type OnMouseOverType<T> = {
    arc: PieArcDatum<T>;
    coords: {
        x: number;
        y: number;
    };
};
export declare type PieDatum = {
    label: string;
    [key: string]: number;
};
declare type AnimatedPieProps<Datum> = ProvidedProps<Datum> & {
    animate?: boolean;
    getKey: (d: PieArcDatum<Datum>) => string;
    getColor: (d: PieArcDatum<Datum>) => string;
    onClickDatum: (d: PieDatum, index: number, event: React.MouseEvent<SVGPathElement>) => void;
    delay?: number;
    onMouseOver: (event: OnMouseOverType<Datum>) => void;
    onMouseOut: () => void;
    showLabel?: boolean;
    valueKey: string;
    formatValue?: (key: number) => string | number;
    dataLabelFontSize?: React.CSSProperties['fontSize'];
    labelChartBounds?: LabelBounds;
    labelInnerRadius?: number;
    labelOuterRadius?: number;
    onAnimation?: (start: boolean) => void;
};
export declare function AnimatedPie<Datum>({ animate, arcs, path, getKey, getColor, onClickDatum, onMouseOver, onMouseOut, showLabel, valueKey, formatValue, dataLabelFontSize, labelChartBounds, labelInnerRadius, labelOuterRadius, onAnimation, }: AnimatedPieProps<Datum>): JSX.Element;
export {};
