import React from 'react'; import { IChartDataPoint } from 'src/types/chartData'; import { PieChartProps } from '../../charts/PieChart'; import { TLegendItemRow } from '../Legend'; import { ILegendProps } from '../Legend/components/Legend'; export interface PieWidgetProps extends PieChartProps { title?: string; className?: string; widgetLink?: { clickHandler?: React.MouseEventHandler; text: string; }; legendProps: ILegendProps; matchLegendToDataPoint?: (legendItem: TLegendItemRow, dataPoints: IChartDataPoint[]) => IChartDataPoint | undefined; } export declare const PieWidget: ({ title, className, widgetLink, legendProps, standalone, matchLegendToDataPoint, ...pieChartProps }: PieWidgetProps) => JSX.Element;