import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; interface ChartConfig { chartType: 'bar' | 'pie'; data: number[]; categories: string[]; title: string; pieOptions?: { innerSize?: string; colors?: string[]; }; barOptions?: { xAxisLabel?: string; yAxisLabel?: string; }; } export declare class ChartService { private http; private apiUrl; constructor(http: HttpClient); saveChart(config: ChartConfig): Observable; getChart(id: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};