/// <reference types="react" />
import { FormFactory } from "../FormFactory";
import { PopupableElemnet } from "./PopupableElemnet";
export declare type IPopupMouseLocation = MouseLocationOfPopup | React.MouseEvent | PopupableElemnet;
export declare class MouseLocationOfPopup {
    X: number;
    Y: number;
    constructor(X: number, Y: number);
    static buildNew(e: React.MouseEvent): MouseLocationOfPopup;
}
export declare class PopupFactory {
    formFactory: FormFactory;
    id: string;
    popupRoot: HTMLElement;
    backdropDivElement: HTMLDivElement;
    mainDivElement: HTMLDivElement;
    forceUpdate: () => void;
    children: JSX.Element | null;
    mouseLocation?: IPopupMouseLocation;
    onClosePopup?: () => void;
    constructor(formFactory: FormFactory, children: JSX.Element | null, mouseLocation?: IPopupMouseLocation, onClosePopup?: () => void);
    closeByClick(e: any): void;
    close(): void;
}
//# sourceMappingURL=index.d.ts.map