import * as i0 from "@angular/core"; /** * ChartExportService — SSR-safe chart data and image export. * * All public methods are no-ops on the server (SSR) platform. * Inject this service in chart components to avoid duplicating * download logic and document/window references across all 70+ charts. * * Usage: * private readonly exportSvc = inject(ChartExportService); * this.exportSvc.downloadCsv(headers, rows, 'my-chart.csv'); */ export declare class ChartExportService { private readonly doc; private readonly platformId; private get isBrowser(); /** Trigger a file download from a Blob */ private triggerDownload; /** Download chart data as CSV */ downloadCsv(headers: string[], rows: (string | number)[][], filename: string): void; /** Download chart data as JSON */ downloadJson(data: object, filename: string): void; /** Download the chart SVG element as an .svg file */ downloadSvg(svgEl: SVGElement | null | undefined, filename: string): void; /** Open a print dialog to save the chart as PDF (print-to-PDF) */ downloadPdf(svgEl: SVGElement | null | undefined, title: string, filename: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }