import type { AgChartInstance, AgChartInstanceOptions, AgChartThemeOverrides, AgChartThemePalette } from 'ag-charts-types';
import type { BeanCollection, ChartModel, ChartToolPanelName, ChartType, IAggFunc, PartialCellRange, SeriesChartType, SortModelItem, UpdateChartParams } from 'ag-grid-community';
import { Component } from 'ag-grid-community';
import type { CrossFilteringContext } from '../chartService';
export interface GridChartParams {
    chartId: string;
    pivotChart?: boolean;
    cellRange: PartialCellRange;
    chartType: ChartType;
    chartThemeName?: string;
    insideDialog: boolean;
    focusDialogOnOpen?: boolean;
    suppressChartRanges?: boolean;
    switchCategorySeries?: boolean;
    aggFunc?: string | IAggFunc;
    chartThemeOverrides?: AgChartThemeOverrides;
    unlinkChart?: boolean;
    crossFiltering?: boolean;
    crossFilteringSort?: SortModelItem[] | boolean;
    crossFilteringContext: CrossFilteringContext;
    chartOptionsToRestore?: AgChartThemeOverrides;
    chartPaletteToRestore?: AgChartThemePalette;
    seriesChartTypes?: SeriesChartType[];
    crossFilteringResetCallback?: () => void;
    useGroupColumnAsCategory?: boolean;
}
export declare class GridChartComp extends Component {
    private crossFilterService;
    private chartTranslation;
    private chartMenuSvc;
    private focusSvc;
    private popupSvc;
    private enterpriseChartProxyFactory?;
    private environment;
    wireBeans(beans: BeanCollection): void;
    private readonly eChart;
    private readonly eWrapper;
    private readonly eChartContainer;
    private readonly eMenuContainer;
    private readonly eEmpty;
    private chartMenu;
    private chartDialog;
    private chartController;
    private chartOptionsService;
    private chartMenuContext;
    private chartProxy;
    private chartType;
    private chartEmpty;
    private readonly params;
    private readonly onDestroyColorSchemeChangeListener;
    constructor(params: GridChartParams);
    postConstruct(): void;
    private updateTheme;
    private createChart;
    private createMenuContext;
    private getChartThemeName;
    private getChartThemes;
    private getGridOptionsChartThemeOverrides;
    private createChartProxy;
    private addDialog;
    private getBestDialogSize;
    private addMenu;
    update(params?: UpdateChartParams): void;
    private updateChart;
    private chartTypeChanged;
    getChartModel(): ChartModel;
    getChartImageDataURL(fileFormat?: string): string;
    private handleEmptyChart;
    downloadChart(dimensions?: {
        width: number;
        height: number;
    }, fileName?: string, fileFormat?: string): void;
    openChartToolPanel(panel?: ChartToolPanelName): void;
    closeChartToolPanel(): void;
    getChartId(): string;
    getUnderlyingChart(): AgChartInstance<AgChartInstanceOptions>;
    crossFilteringReset(): void;
    setMaximized(maximized: boolean): void;
    private setActiveChartCellRange;
    private getThemeName;
    private getAllKeysInObjects;
    private validateCustomThemes;
    private reactivePropertyUpdate;
    private raiseChartCreatedEvent;
    private raiseChartDestroyedEvent;
    destroy(): void;
}
