import { ElementRef } from '@angular/core'; import { MtnaBaseChart } from '../base-chart'; import { MtnaAmChartsConfig } from './amcharts-configs'; import type { Color, color, Sprite } from '@amcharts/amcharts4/core'; export declare abstract class MtnaBaseAmChart implements MtnaBaseChart { protected elementRef: ElementRef; protected config: C; protected sprite: Sprite | undefined; constructor(elementRef: ElementRef, config: C); cleanup(): void; /** * Creates the chart to be displayed. Any Amchart component extending the MtnaBaseAmChart * needs to utilize createChart building the chart data. */ abstract createChart(): Promise; generateColorList(colors: Array, colorFn: typeof color): Array; }