import { BalanceDataForGraph, SegmentedPieChartProps } from '../types';
export declare const useData: ({ data, pieChartColors, legendValueRoundingDigits, legendBackgrounds, }: Pick<SegmentedPieChartProps, "data" | "pieChartColors" | "legendValueRoundingDigits" | "legendBackgrounds">) => {
    balanceDataForTheGraph: BalanceDataForGraph[];
    balanceDataForTheLegend: BalanceDataForGraph[];
    legendColors: string[];
};
