import { ElementRef, OnChanges, SimpleChanges } from '@angular/core'; export interface PositionStyles { top: string; left: string; right: string; bottom: string; } export declare type PopupPlacement = 'bottomLeft' | 'topRight' | 'bottomRight'; export declare class PopupComponent implements OnChanges { private el; hidden: boolean; placement?: PopupPlacement; positions: PositionStyles; constructor(el: ElementRef); ngOnChanges(changes: SimpleChanges): void; open(): void; close(): void; }