import { OnInit, SimpleChanges, EventEmitter } from '@angular/core'; import { Observable } from 'rxjs'; export declare class DonutChartComponent implements OnInit { /** * Prefix for the html elements id * @internal */ idPrefix: string; /** * Data to display * Format: [text,value] * @internal */ pieData: [string, number][]; /** * Inner text to display * @internal */ title: string; /** * Unit of the total count (meters, units, seconds...) * @internal */ totalUnit: string; /** * Position of the chart legend * @internal */ legendPosition: 'none' | 'bottom' | 'top' | 'left' | 'right' | 'labeled'; /** * Style for the chart section tooltips * @internal */ tooltipStyle: 'percentage' | 'value' | 'both'; selected: EventEmitter; /** * Observable to trigger a chart resize * @internal */ resize: Observable; private resizerCallback; private pieChart; constructor(); ngOnInit(): void; ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; }