import PieChartOptions from '~/interfaces/PieChartOptions'; /** * Pie chart based on ApexCharts. */ export default class PieChart { #private; /** * Read-only ApexCharts instance. * @type {ApexCharts|undefined} */ get instance(): ApexCharts | undefined; /** * Create a new instance of the PieChart class. * @param {string|HTMLElement} element CSS selector string or HTMLElement. * @param {PieChartOptions} options Chart options. */ constructor(element: string | HTMLElement, options: PieChartOptions); /** * Redraw the chart. */ reload(): Promise; }