import { FabricObject } from '../Object/FabricObject'; import { ChartConfiguration } from 'chart.js'; import { WidgetChartInterface } from './type/widget.entity.chart'; import { WidgetType } from './type/widget.type'; declare class XChart extends FabricObject implements WidgetChartInterface { private chartConfig; private chartInstance; private canvasElement; private needsUpdate; static type: WidgetType; static objType: WidgetType; constructor(options: any); updatedBy: string; updatedByName: string; createdByName: string; chartOptions: any; boardId: string; objType: WidgetType; userId: string; zIndex: number; version: string; updatedAt: number; createdAt: number; createdBy: string; private createCanvasElement; private createOrUpdateChart; getObject(): Record; _render(ctx: CanvasRenderingContext2D): Promise; updateChart(newConfig: ChartConfiguration): void; private addDoubleClickEventListener; private openEditModal; } export { XChart }; //# sourceMappingURL=XChart.d.ts.map