import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
import { IChartSettings } from '../common/IChartSettings';
import { DataService } from './DataService';
import 'hammerjs';
export declare class SPXChartComponent implements OnInit, OnChanges {
    private _dataService;
    error: string;
    inEditMode: boolean;
    inSitePage: boolean;
    showSetting: boolean;
    chartType: string;
    aggregateType: any;
    chartTitle: string;
    valuesTitle: string;
    categoriesTitle: string;
    colorArray: any[];
    noAxisCharts: boolean;
    twoPointCharts: boolean;
    isBubbleChart: boolean;
    otherCharts: boolean;
    gear: boolean;
    seriesData: any[];
    categories: any[];
    settingsEditable: boolean;
    siteCollUrl: string;
    settings: IChartSettings;
    settingsChange: EventEmitter<IChartSettings>;
    private chart;
    constructor(_dataService: DataService);
    ngOnInit(): void;
    uiInit(): void;
    labelContent(e: any): string;
    private setChartType(chartType);
    private setAggregateType(type, groupingEnabled);
    private getData(schema);
    private getDataItems(schema);
    private checkForSingleAxis(isSingleAxis);
    private getDataForSingleAxis(data);
    onSeriesClick(e: any): void;
    toggleSettings(): void;
    showGear(): void;
    hideGear(): void;
    settingsFromComponent(schema: IChartSettings): void;
    exportChartAsImage(): boolean;
    exportChartAsPDF(): boolean;
    exportChartAsSVG(): boolean;
    private exportElement(element);
    private mm(val);
    private fixUrls(schema);
    ngOnChanges(changes: SimpleChanges): void;
}
