import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; /** * One slice of the pie (e.g. "Total Liabilities"). */ export interface UcPieChartSlice { label: string; value: number; color?: string; } /** * Self-contained pie chart built directly on top of chart.js (no ng2-charts, * no NgModule registration required by the consuming app). */ export declare class UcPieChartComponent implements AfterViewInit, OnChanges, OnDestroy { slices: UcPieChartSlice[]; height: number; showLegend: boolean; /** 'currency' renders values as ₹ Lakh/Crore; 'number' shows the raw value. */ valueFormat: 'currency' | 'number'; private canvasRef?; private chart; get hasData(): boolean; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private formatValue; private buildColors; private renderChart; private updateChart; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }