import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; /** * Single dataset for the bar chart (e.g. "Sanctioned" or "Outstanding"). */ export interface UcChartDataset { label: string; data: number[]; backgroundColor?: string | string[]; } /** * Self-contained bar chart built directly on top of chart.js (no ng2-charts, * no NgModule registration required by the consuming app). Safe to publish * as part of a standalone-component library since chart.js is bundled as a * regular dependency and imported imperatively. */ export declare class UcBarChartComponent implements AfterViewInit, OnChanges, OnDestroy { labels: string[]; datasets: UcChartDataset[]; height: number; horizontal: boolean; showLegend: boolean; yAxisLabel: string; /** 'currency' renders values as ₹ Lakh/Crore; 'number' shows the raw value (e.g. counts). */ 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; }