import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { ChartClickEvent, ChartProvider, ChartRenderError, ChartView, GroupSyncMode, XaxisType, YaxisType } from '@oneteme/jquery-core'; import ApexCharts from 'apexcharts'; import { ChartCustomEvent } from './utils'; import * as i0 from "@angular/core"; export interface ApexChartHandle { exportImage(fileName?: string, type?: 'png' | 'jpeg' | 'svg', pixelRatio?: number): void; exportData(fileName?: string, separator?: string): void; resize(): void; getRenderedOption(): unknown; } export declare abstract class ApexChartDirectiveBase implements ChartView, OnChanges, OnDestroy, ApexChartHandle { protected readonly el: ElementRef; protected readonly ngZone: NgZone; protected readonly chartInstance: import("@angular/core").WritableSignal; protected _options: any; protected _chartConfig: ChartProvider; private toolbarObserver; private scrollPreventionCleanup; private groupSyncUnregister; private readonly groupSyncSource; private isSyncing; private _isLoading; private _loadingLabel; private _noDataLabel; private _canPivot; private _group; private _groupSync; private destroyed; debug: boolean; data: any[]; renderedOption?: unknown; set config(config: ChartProvider); set isLoading(value: boolean); get isLoading(): boolean; set loadingLabel(value: string); set noDataLabel(value: string); set canPivot(value: boolean); get canPivot(): boolean; set theme(value: Record | null); set group(value: string | null); get group(): string | null; set groupSync(value: GroupSyncMode | null); get groupSync(): GroupSyncMode; customEvent: EventEmitter; chartClick: EventEmitter; renderError: EventEmitter; protected constructor(initialChartType: string); protected abstract updateData(): void; protected abstract updateType(): void; protected configureTypeSpecificOptions(): void; protected get effectiveConfig(): ChartProvider; init(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; exportImage(fileName?: string, type?: 'png' | 'jpeg' | 'svg', pixelRatio?: number): void; exportData(fileName?: string, separator?: string): void; resize(): void; getRenderedOption(): unknown; protected updateChartOptions(specificOptions?: any, redrawPaths?: boolean, animate?: boolean, updateSyncedCharts?: boolean): Promise; protected markForRedraw(): void; private hydrate; private updateNoDataLabel; private getEffectiveOptions; private syncSeriesVisibility; private createCustomIcons; private disposeChart; private handleRenderError; private registerGroupSync; private publishDataZoom; private publishTooltip; private applyGroupSync; private applyTooltip; private getXAxisValues; private normalizeXAxisValue; private syncs; private download; private downloadJpeg; private handleExportError; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, { "debug": { "alias": "debug"; "required": false; }; "data": { "alias": "data"; "required": true; }; "renderedOption": { "alias": "renderedOption"; "required": false; }; "config": { "alias": "config"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; }; "noDataLabel": { "alias": "noDataLabel"; "required": false; }; "canPivot": { "alias": "canPivot"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "group": { "alias": "group"; "required": false; }; "groupSync": { "alias": "groupSync"; "required": false; }; }, { "customEvent": "customEvent"; "chartClick": "chartClick"; "renderError": "renderError"; }, never, never, false, never>; }