import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { PopupService } from './popup.service'; import { PositionStyle } from '../common'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare const POPUP_OFFSET = 4; export declare class PopupComponent implements OnInit, OnDestroy { protected popupService: PopupService; protected renderer: Renderer2; protected element: ElementRef; protected cdr: ChangeDetectorRef; id?: string; companionElement?: any; adjustHeight: boolean; dontAdjustPosition: boolean; keepOthersOpen: boolean; stayVisible: boolean; sameWidth: boolean; onClose: EventEmitter; onOpen: EventEmitter; popupType: 'popup' | 'dropdown' | 'menu'; isDisplayed: boolean; style?: any; popupHolder?: HTMLElement; private _id; private _handlers; private _originalHeight; protected _terminator: Subject; constructor(popupService: PopupService, renderer: Renderer2, element: ElementRef, cdr: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; show(style: PositionStyle): void; updatePosition(style: PositionStyle): void; private adjustPosition; adjust(): boolean; private _adjustPosition; close(byClickingOutside?: boolean): void; onOutsideClick(event: MouseEvent): void; unListen(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_adjustHeight: unknown; static ngAcceptInputType_dontAdjustPosition: unknown; static ngAcceptInputType_keepOthersOpen: unknown; static ngAcceptInputType_stayVisible: unknown; static ngAcceptInputType_sameWidth: unknown; }