///
import React from 'react';
import { EChartOption } from 'echarts/lib/echarts';
import { Priority, ISprint, IVersion } from '@/common/types';
import { IType } from './usePieChartReport';
export declare type IPieChartType = 'assignee' | 'component' | 'typeCode' | 'version' | 'priority' | 'status' | 'sprint' | 'epic' | 'label';
export declare type IDimension = 'version' | 'sprint' | 'status' | '';
export interface IPieData {
jsonObject?: null;
loginName?: null | string;
name: null | string;
percent: number;
priorityVO?: null | Priority;
realName?: null | string;
typeName: null | string;
value: number;
}
export interface PieChartProps {
loading: boolean;
type: IPieChartType;
data: IPieData[];
colors: string[];
chooseDimension: IDimension;
chooseId: '' | string;
sprints: ISprint[];
versions: IVersion[];
option?: EChartOption;
link?: boolean;
allTypes: IType[];
}
declare const PieChart: React.FC;
export default PieChart;