import type { UnitAddress, UnitRange, UnitLiteral, ExpressionUnit } from '../../../treb-parser/src/index'; import type { RelationshipMap } from '../relationship'; export interface ChartOptions { type: 'donut' | 'column' | 'bar' | 'scatter' | 'scatter2' | 'bubble'; title?: UnitLiteral | UnitAddress; data: UnitRange[]; labels?: UnitRange; labels2?: UnitRange[]; labels3?: UnitRange[]; names?: ExpressionUnit[]; smooth?: boolean; } export declare class Chart { options: ChartOptions; index: number; static next_chart_index: number; relationships: RelationshipMap; constructor(options: ChartOptions, index?: number); /** set chart title, either static or reference to cell */ UpdateChartTitle(chartnode: any): void; toJSON(): any; CreateBubbleChart(): any; CreateScatterChart(): any; CreateDonutChart(): any; CreateBarChart(): any; }