/// <reference types="react" />
import { MainStateManager } from "../MainStateManager";
import { Argument } from "../Page/ElementsOfFormFactory/Argument";
import { IMainStateFactory } from "../Types";
export declare class ModalFactory {
    mainStateFactory: IMainStateFactory;
    children: JSX.Element | null;
    isWaitingModal?: boolean | undefined;
    onCloseModal?: (() => void) | undefined;
    argument?: Argument | undefined;
    mainStateManager: MainStateManager;
    id: string;
    modalRoot: HTMLElement;
    backdropDivElement: HTMLDivElement;
    mainDivElement: HTMLDivElement;
    forceUpdate: () => void;
    classes: string;
    constructor(mainStateFactory: IMainStateFactory, children: JSX.Element | null, isWaitingModal?: boolean | undefined, onCloseModal?: (() => void) | undefined, argument?: Argument | undefined, classes?: string);
    closeByClick(e: any): void;
    close(): void;
}
