import { PaletteService, LazyloadScriptService, PaletteConfig, ColorScale } from '@finastra/angular-components/core'; import * as i0 from '@angular/core'; import { OnInit, OnDestroy, OnChanges, EventEmitter, SimpleChanges } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from '@angular/material/tooltip'; import { TooltipComponent } from '@angular/material/tooltip'; import * as i3 from '@angular/material/select'; import * as i4 from '@angular/material/form-field'; import * as i5 from '@angular/material/input'; import * as i6 from 'angular-plotly.js'; import { PlotlyComponent } from 'angular-plotly.js'; import { Subscription, Observable } from 'rxjs'; interface VectorMapCountry { value: number; name: string; code: string; } interface VectorMapView { id: string; text: string; } interface VectorMapViewsDataSource { data: Record[]>; views: VectorMapView[]; } type VectorMapDataSource = Partial[] | VectorMapViewsDataSource; declare const COUNTRIES: VectorMapCountry[]; interface VectorMapLegend { text: string; color: string; } declare const DEFAULT_DATA: { type: string; hoverinfo: string; autocolorscale: boolean; reversescale: boolean; marker: { line: {}; }; tick0: number; zmin: number; zmax: number; showscale: boolean; }; declare const DEFAULT_LAYOUT: { autosize: boolean; geo: { showframe: boolean; showcoastlines: boolean; projection: { type: string; }; center: { lat: number; lon: number; }; }; margin: { l: number; r: number; b: number; t: number; pad: number; }; }; declare const DEFAULT_CONFIG: { displayModeBar: boolean; responsive: boolean; }; declare const DEFAULT_STYLE: { position: string; width: string; height: string; }; declare class VectorMapComponent implements OnInit, OnDestroy, OnChanges { paletteService: PaletteService; lazyLoadScriptService: LazyloadScriptService; plot: PlotlyComponent; tooltip: TooltipComponent; title: string; dataSource: VectorMapDataSource; showLegend: boolean; autoResize: boolean; click: EventEmitter>; viewChange: EventEmitter; countries: VectorMapCountry[]; data: any[]; layout: any; config: any; style: { [key: string]: string; }; paletteConfig: PaletteConfig; legend: VectorMapLegend[]; viewId: string | null; views: VectorMapView[] | null; tooltipTop: string; tooltipLeft: string; max: number; subscriptions: Subscription[]; plotlyReady$: Observable; constructor(paletteService: PaletteService, lazyLoadScriptService: LazyloadScriptService); ngOnInit(): void; ngOnChanges({ dataSource, showLegend }: SimpleChanges): void; ngOnDestroy(): void; onWindowResize(): void; refresh(): void; getLegendValue(value: number, max: number): number; getData(): Partial[]; setLayout(layout?: any): void; setConfig(config?: any): void; setStyle(style?: { [key: string]: string; }): void; setView(): void; setPlotData(): void; setCountries(data: Partial[]): void; setLegend(colorScale: ColorScale): void; onHover({ points: [point] }: { points: Array; }): void; onUnHover(): void; onPlotClick({ points: [point] }: { points: Array; }): void; onViewChange($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class VectorMapModule { constructor(lazyLoadScriptService: LazyloadScriptService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { COUNTRIES, DEFAULT_CONFIG, DEFAULT_DATA, DEFAULT_LAYOUT, DEFAULT_STYLE, VectorMapComponent, VectorMapModule }; export type { VectorMapCountry, VectorMapDataSource, VectorMapLegend, VectorMapView, VectorMapViewsDataSource };