import { InternalSliceData } from '../types/internal/pie-chart.js'; /** * Calculates what's the percentage of a value in relation to a total. * @param value - The value that will be used to calculate it's percentage. * @param totalValue - The total value that would correspond to a 100%. * @returns The value in percentage format of the supplied flat value. */ export declare const getSlicePercentage: (sliceValue: number, allSlicesValue: number) => number; /** * Calculates the relative value of each slice in %. * @param slices - Array of an internal slice data * @returns - Same sorted object with its relative value property. */ export declare const getSlicesWithRelativeValues: (slices: InternalSliceData[]) => InternalSliceData[];