import * as _angular_core from '@angular/core'; import { Provider } from '@angular/core'; import { EChartsOption } from 'echarts'; declare const C2G_CHARTS_VERSION = "0.1.0"; declare const C2G_ECHARTS_THEME_NAME = "c2g"; declare const C2G_ECHARTS_THEME: { color: string[]; backgroundColor: string; textStyle: { fontFamily: string; color: string; }; title: { textStyle: { color: string; fontFamily: string; fontWeight: string; }; subtextStyle: { color: string; }; }; line: { itemStyle: { borderWidth: number; }; lineStyle: { width: number; }; symbolSize: number; symbol: string; smooth: boolean; }; bar: { itemStyle: { barBorderRadius: number[]; }; }; categoryAxis: { axisLine: { lineStyle: { color: string; }; }; axisTick: { lineStyle: { color: string; }; }; axisLabel: { color: string; }; splitLine: { lineStyle: { color: string; }; }; }; valueAxis: { axisLine: { lineStyle: { color: string; }; }; axisTick: { lineStyle: { color: string; }; }; axisLabel: { color: string; }; splitLine: { lineStyle: { color: string; type: string; }; }; }; tooltip: { backgroundColor: string; borderColor: string; borderWidth: number; textStyle: { color: string; }; extraCssText: string; }; legend: { textStyle: { color: string; }; }; grid: { borderColor: string; }; }; declare function provideC2gCharts(): Provider[]; interface C2gChartSeries { name: string; data: number[]; color?: string; smooth?: boolean; area?: boolean; dashed?: boolean; } interface C2gYAxis { label?: string; min?: number; max?: number; unit?: string; } interface C2gBarChartData { categories: string[]; series: C2gChartSeries[]; unit?: string; } interface C2gTooltipContext { categoryIndex: number; category: string; seriesValues: { name: string; value: number; color: string; }[]; } interface C2gLineChartData { categories: string[]; series: C2gChartSeries[]; yAxis?: C2gYAxis; smooth?: boolean; area?: boolean; zoom?: boolean; tooltipWidget?: (ctx: C2gTooltipContext) => string; } declare class BarChartComponent { readonly theme = "c2g"; readonly data: _angular_core.InputSignal; readonly title: _angular_core.InputSignal; readonly height: _angular_core.InputSignal; readonly stacked: _angular_core.InputSignal; readonly chartOptions: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class LineChartComponent { readonly theme = "c2g"; readonly data: _angular_core.InputSignal; readonly title: _angular_core.InputSignal; readonly height: _angular_core.InputSignal; readonly chartOptions: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface C2gGaugeSegment { min: number; max: number; color: string; } interface C2gGaugeChartData { value: number; min?: number; max?: number; label?: string; unit?: string; segments?: C2gGaugeSegment[]; showDetail?: boolean; } declare class GaugeChartComponent { readonly data: _angular_core.InputSignal; readonly height: _angular_core.InputSignal; readonly theme = "c2g"; readonly chartOptions: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface WeatherTooltipEntry { icon: string; description: string; rain?: number; wind?: number; } interface WeatherTooltipConfig { entries: WeatherTooltipEntry[]; unit?: string; } declare function createWeatherTooltip(config: WeatherTooltipConfig): (ctx: C2gTooltipContext) => string; export { BarChartComponent, C2G_CHARTS_VERSION, C2G_ECHARTS_THEME, C2G_ECHARTS_THEME_NAME, GaugeChartComponent, LineChartComponent, createWeatherTooltip, provideC2gCharts }; export type { C2gBarChartData, C2gChartSeries, C2gGaugeChartData, C2gGaugeSegment, C2gLineChartData, C2gTooltipContext, C2gYAxis, WeatherTooltipConfig, WeatherTooltipEntry };