import { Overlay, OverlayConfig } from "@angular/cdk/overlay";
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
import { Subject } from "rxjs";
import { EventBusService } from "../../services/event-bus.service";
import { OverlayComponent } from "../overlay/overlay-component/overlay.component";
import { PopupToggleDirective } from "../popup/popup-toggle.directive";
import * as i0 from "@angular/core";
/** @dynamic */
export declare class PopupComponent implements AfterContentInit, AfterViewInit, OnChanges, OnDestroy {
    private overlay;
    private cdRef;
    private eventBusService;
    private host;
    private document;
    popupToggle: PopupToggleDirective;
    width: string;
    get overlayConfig(): OverlayConfig;
    set overlayConfig(value: OverlayConfig);
    contextClass: string;
    directionTop: boolean;
    directionRight: boolean;
    manualOpenControl: Subject<MouseEvent>;
    appendToBody: boolean;
    baseElementSelector: string;
    isHostToggleRef: boolean;
    ariaLabel: string;
    set isOpen(open: boolean);
    get isOpen(): boolean;
    opened: EventEmitter<boolean>;
    popupArea: ElementRef;
    popup: OverlayComponent;
    popupAreaContainer: ElementRef;
    popupAreaContent: ElementRef;
    toggleReference: HTMLElement;
    customContainer?: ElementRef;
    set visible(value: boolean);
    get visible(): boolean;
    private _visible;
    private _overlayConfig;
    private isContentInitialized;
    private readonly destroy$;
    private lastEventType;
    constructor(overlay: Overlay, cdRef: ChangeDetectorRef, eventBusService: EventBusService, host: ElementRef, document: Document);
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterContentInit(): void;
    ngAfterViewInit(): void;
    toggleOpened(event: Event): void;
    closePopup(): void;
    ngOnDestroy(): void;
    private getPopupConnectedPosition;
    private getPositionStrategy;
    private isOpenHandler;
    private show;
    private hide;
    private toggle;
    private initToggleRef;
    static ɵfac: i0.ɵɵFactoryDeclaration<PopupComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent, "nui-popup", never, { "width": "width"; "overlayConfig": "overlayConfig"; "contextClass": "contextClass"; "directionTop": "directionTop"; "directionRight": "directionRight"; "manualOpenControl": "manualOpenControl"; "appendToBody": "appendToBody"; "baseElementSelector": "baseElementSelector"; "isHostToggleRef": "isHostToggleRef"; "ariaLabel": "ariaLabel"; "isOpen": "isOpen"; "visible": "visible"; }, { "opened": "opened"; }, ["popupToggle"], ["*", "[popupAreaContent]"]>;
}
