import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { LngLatLike, PointLike, Popup, PopupOptions } from 'mapbox-gl'; import { MapService } from '../map/map.service'; import { MarkerComponent } from '../marker/marker.component'; import * as i0 from "@angular/core"; export declare class PopupComponent implements OnChanges, OnDestroy, AfterViewInit, OnInit { private mapService; closeButton?: PopupOptions['closeButton']; closeOnClick?: PopupOptions['closeOnClick']; closeOnMove?: PopupOptions['closeOnMove']; focusAfterOpen?: PopupOptions['focusAfterOpen']; anchor?: PopupOptions['anchor']; className?: PopupOptions['className']; maxWidth?: PopupOptions['maxWidth']; feature?: GeoJSON.Feature; lngLat?: LngLatLike; marker?: MarkerComponent; offset?: number | PointLike | { [anchor: string]: [number, number]; }; popupClose: EventEmitter; popupOpen: EventEmitter; /** * @deprecated Use popupClose instead */ close: EventEmitter; /** * @deprecated Use popupOpen instead */ open: EventEmitter; content: ElementRef; popupInstance?: Popup; constructor(mapService: MapService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngOnDestroy(): void; private createPopup; private addPopup; private warnDeprecatedOutputs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }