import { HTMLWidget, Widget } from "@hpcc-js/common"; export declare class Popup extends HTMLWidget { _surfaceButtons: any; _originalPosition: any; constructor(); updateState(visible: any): void; enter(domNode: any, element: any): void; update(domNode: any, element: any): void; postUpdate(domNode: any, element: any): void; exit(domNode: any, element: any): void; click(obj: any): void; } export interface Popup { popupState(): boolean; popupState(_: boolean): this; shrinkWrap(): boolean; shrinkWrap(_: boolean): this; centerPopup(): "none" | "container" | "window"; centerPopup(_: "none" | "container" | "window"): this; top(): number; top(_: number): this; bottom(): number; bottom(_: number): this; left(): number; left(_: number): this; right(): number; right(_: number): this; position(): string; position(_: string): this; widget(): Widget; widget(_: Widget): this; }