import { Series } from '../Series'; import { Bounds } from '../../types'; import { ExportOptions } from './types'; /** * Export series data to CSV format */ export declare function exportToCSV(series: Series[], options?: ExportOptions): string; /** * Export series data to JSON format */ export declare function exportToJSON(series: Series[], viewBounds: Bounds, options?: ExportOptions): string; /** * Export chart to image */ export declare function exportToImage(webglCanvas: HTMLCanvasElement, overlayCanvas: HTMLCanvasElement, backgroundColor: [number, number, number, number], legend: { draw: (ctx: CanvasRenderingContext2D, dpr: number) => void; } | null, showLegend: boolean, dpr: number, type?: "png" | "jpeg"): string;