import { AfterViewInit, OnDestroy, ElementRef } from "@angular/core";
import { IToolPanel, IToolPanelParams } from "@ag-grid-community/all-modules";
import { EagnaService } from "../../../@services/eagna.service";
import { CoreService } from "../../../@services/core.service";
import * as i0 from "@angular/core";
export declare class AnalysisToolPanel implements IToolPanel, AfterViewInit, OnDestroy {
    private _coreService;
    private _eagnaService;
    params: any;
    newTitle: string;
    isPivotMode: boolean;
    chartObj: any;
    chartList: any[];
    currentId: number;
    publish: boolean;
    private _origTitle;
    private _origId;
    isDisabled: boolean;
    last_update: any;
    private _subscription;
    newChartTitle: ElementRef;
    constructor(/* private _sharedService: SharedService, */ _coreService: CoreService, _eagnaService: EagnaService);
    agInit(params: IToolPanelParams): void;
    refresh(): void;
    toggleAnalysisMode(reset?: boolean): void;
    cancelSave(): void;
    deleteChart(): void;
    saveChart(name: any): void;
    onTitleChange(newTitle?: any): void;
    loadChart(chart: any): void;
    ngAfterViewInit(): void;
    private _subsChartList;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AnalysisToolPanel, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AnalysisToolPanel, "analysis-tool-panel", never, {}, {}, never, never, false>;
}
