import { ComponentRef, ElementRef, EventEmitter } from "@angular/core"; import { PopoverContext } from "./PopoverContext"; import { IPopoverOptions } from "./IPopoverOptions"; import { PopoverWindowComponent } from "./directives/public_directives"; export declare const POPOVER_COMPONENT_SELECTOR = "n-popover-window"; export declare const POPOVER_OPEN_CLASS = "popover__open"; /** * Result of popover */ export interface PopoverResult { data: T; closed: boolean; } /** * Represent instance of shown popover */ export declare class PopoverInstance { private cmpRef; private popoverCtx; readonly options: IPopoverOptions; result: Promise>; onClose: EventEmitter; mouseover: EventEmitter; mouseleave: EventEmitter; opener: ElementRef; private resolve; private zone; private closed; constructor(cmpRef: ComponentRef, popoverCtx: PopoverContext, options: IPopoverOptions); get popoverElement(): ElementRef; get autoclose(): boolean; get instance(): any; done(result: T): Promise; close(): Promise; private closePopover; }