import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { LineChartOptions } from 'chartist'; import { CurrencyService } from '../../../providers/currency/currency.service'; import * as i0 from "@angular/core"; export interface ChartFormatOptions { formatValueAs: 'currency' | 'number'; currencyCode?: string; locale?: string; } export interface ChartEntry { label: string; value: number; formatOptions: ChartFormatOptions; } export declare class ChartComponent implements OnInit, OnChanges, OnDestroy { private currencyService; entries: ChartEntry[]; options?: LineChartOptions; private chartDivRef; private chart; constructor(currencyService: CurrencyService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private entriesToLineChartData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }