import { VisualizationError } from './visualization-error'; import { IKeyValues, OutputMode, IChartStyleService } from './constants'; import Store from './store'; interface IInitalDataParams { outputMode: OutputMode; count: number; } export default abstract class VisualizationBase extends Store { static VisualizationError: typeof VisualizationError; static COLUMN_MAJOR_OUTPUT_MODE: OutputMode; static ROW_MAJOR_OUTPUT_MODE: OutputMode; static RAW_OUTPUT_MODE: OutputMode; static FIELD_VALUE_DRILLDOWN: string; static GEOSPATIAL_DRILLDOWN: string; static SORT_ASCENDING: string; static SORT_DESCENDING: string; static extend(otherAttr: IKeyValues): new (el: string, chartStyleService?: IChartStyleService, staticPath?: string) => VisualizationBase; chartStyleService?: IChartStyleService; element: any; el: string; staticPath: string; _appName: string; _vizName: string; _dataSources: any; _config: IKeyValues; onAction: (value: any, event?: { clientX: number; clientY: number; }) => void; setElement(element: any): void; initialize(): void; getInitialDataParams(): IInitalDataParams | void; formatData(dataset: any, config: any): any; setupView(): void; abstract updateView(data: any, config: any): void; reflow(): void; onConfigChange(config: any): void; remove(): void; drilldown(): void; setDataSource(dataSources: any): void; setConfig(config: IKeyValues): void; getCurrentData(): any; getCurrentConfig(): IKeyValues; getPropertyNamespaceInfo(): { appName: string; vizName: string; propertyNamespace: string; }; setCurrentData(dataSources: any): void; setCurrentConfig(config: IKeyValues): void; constructor(el: string, chartStyleService?: IChartStyleService, staticPath?: string, onAction?: (value: any) => void); } export {};