import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import type { EChartsOption } from 'echarts'; import * as i0 from "@angular/core"; /** Minimal chart handle — ngx-echarts passes the ECharts instance from `echarts.init`. */ type EChartsResizeHandle = { resize: () => void; }; /** * Chart widget - wraps echarts with proper styling and loading states * Handles responsive sizing and dark mode automatically */ export declare class WidgetChartComponent implements OnInit, OnDestroy, OnChanges { options: EChartsOption; isLoading: boolean; isEmpty: boolean; emptyMessage?: string; chartType?: string; /** When true (default), donut charts are locked to the 540×304 design size. Set false in drill-down/modal views. */ fillContainer: boolean; /** * Report / PDF / print preview: echarts fills the parent (no 540×304 lockup). * Use with `optionsForPrint()` from the parent. Dashboard tiles leave this false. */ printOptimized: boolean; chartInitEvent: EventEmitter; private chartInstance; private themeObserver; private resizeRafId; get isConstrainedDonut(): boolean; ngOnInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; onChartInit(chart: EChartsResizeHandle): void; private scheduleResize; private resizeChart; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};