import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; /** * Single line series (e.g. "Turnover"). */ export interface UcLineChartDataset { label: string; data: number[]; color?: string; fill?: boolean; } /** * Self-contained line chart built directly on top of chart.js (no ng2-charts, * no NgModule registration required by the consuming app). */ export declare class UcLineChartComponent implements AfterViewInit, OnChanges, OnDestroy { labels: string[]; datasets: UcLineChartDataset[]; height: number; showLegend: boolean; yAxisLabel: string; /** '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 buildDatasets; private renderChart; private updateChart; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }