import { ILngLat, IPopup, IPopupOption } from '@antv/l7-core';
import { EventEmitter } from 'eventemitter3';
import { Container } from 'inversify';
/** colse event */
export default class Popup extends EventEmitter implements IPopup {
    private popupOption;
    private mapsService;
    private sceneSerive;
    private lngLat;
    private content;
    private closeButton;
    private timeoutInstance;
    private container;
    private tip;
    private scene;
    constructor(cfg?: Partial<IPopupOption>);
    addTo(scene: Container): this;
    close(): void;
    open(): void;
    setHTML(html: string): this;
    setLnglat(lngLat: ILngLat | number[]): this;
    getLnglat(): ILngLat;
    setText(text: string): this;
    setMaxWidth(maxWidth: string): this;
    setDOMContent(htmlNode: ChildNode | DocumentFragment): this;
    remove(): this;
    isOpen(): boolean;
    private createContent;
    private creatDom;
    private removeDom;
    private getdefault;
    private onClickClose;
    private update;
    private updatePosition;
}
