import { TRefineData } from './types'; /** * Generates an HTML string for displaying version digit group information. * @param {Object} params - The parameters for generating the HTML string. * @param {string} params.parentName - The name of the parent group. * @param {string} params.name - The name of the digit group. * @param {string} params.color - The color of the digit group. * @param {number} params.value - The value of the digit group. * @param {string} params.versionName - The version name. * @returns {string} - The HTML string for displaying the version digit group information. */ export declare const getVersionDigitGroupHTML: (params: Record) => string; /** * Generates HTML for a tooltip. * @param {Record} params - The parameters for generating the tooltip HTML. * @param {Record} params.data - The data object containing parentName, name, and value. * @param {string} params.color - The color to be used in the tooltip. * @returns {string} The HTML for the child tooltip. */ export declare const tooltipHTML: (params: Record) => string; /** * Refines data by sorting and mapping it to include additional properties. * @param {TRefineData} params - The parameters for refining the data. * @param {Array} params.colors - The array of colors to assign to each data item. * @param {Array} params.data - The array of data items to be refined. * @returns {Array} The refined data with added properties. */ export declare const refineData: (params: TRefineData) => { key: string | number; label: string | number; color: string; itemStyle: { color: string; }; tooltip: { formatter: (params: Record) => string; }; children: { name: string; key: string | number; label: string | number; parentName: string | number; tooltip: { formatter: (params: Record) => string; }; value: number; path?: string; children?: import("./types").TVersionDataItem[]; }[] | undefined; value: number; name: string | number; path?: string; }[];