import { AfterViewInit, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { IIdentified, InventoryService } from '@c8y/client';
import { ClusterMapComponent, ClusterMapConfig, MapService, PositionManagedObject } from '@c8y/ngx-components/map';
import { DashboardChildComponent, DynamicComponent, DynamicComponentAlertAggregator, WidgetsDashboardComponent } from '@c8y/ngx-components';
import { MapWidgetConfig } from './map-widget.model';
import { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';
import * as i0 from "@angular/core";
export declare class MapWidgetComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit, DynamicComponent {
    private dashboardContextComponent;
    private inventory;
    private mapService;
    private widgetsDashboardComponent;
    mapConfig: ClusterMapConfig;
    rootNode: IIdentified;
    config: MapWidgetConfig;
    clusterMap: ClusterMapComponent;
    alerts: DynamicComponentAlertAggregator;
    assets: PositionManagedObject[];
    private TIMEOUT_ERROR_TEXT;
    private SERVER_ERROR_TEXT;
    private savedNode;
    private destroy$;
    private resizeObserver;
    constructor(dashboardChild: DashboardChildComponent, dashboardContextComponent: ContextDashboardComponent, inventory: InventoryService, mapService: MapService, widgetsDashboardComponent: WidgetsDashboardComponent);
    ngOnInit(): Promise<void>;
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    startFollow(context: any): void;
    stopFollow(): void;
    ngOnDestroy(): void;
    fitToBounds(): Promise<void>;
    private updateAssets;
    private listenToWidgetResizeEvent;
    private subscribeToErrorsOccurred;
    private updateMapConfigRealtime;
    static ɵfac: i0.ɵɵFactoryDeclaration<MapWidgetComponent, [null, { optional: true; }, null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<MapWidgetComponent, "c8y-map-widget", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
}
//# sourceMappingURL=map-widget.component.d.ts.map