import ProcessModal from './ProcessModal';
import FullnessModal from './FullnessModal';
type Props = {
    withoutAnimation?: boolean;
};
export declare enum ModalSize {
    xs = "modal-xs",
    sm = "modal-sm",
    md = "",
    lg = "modal-lg",
    full = "modal-full"
}
export declare enum ModalStyle {
    primary = "bg-primary",
    danger = "bg-danger",
    success = "bg-success",
    warning = "bg-warning",
    info = "bg-info"
}
export { ProcessModal };
export { FullnessModal };
export declare class ModalInstance {
    private readonly dialog;
    private modal;
    private asBackdrop;
    private lastSize;
    private lastStyle;
    private lastTitle;
    static create(props?: Props): ModalInstance;
    constructor(props?: Props);
    destroy(): void;
    open(title?: string, size?: ModalSize, style?: ModalStyle, asStatic?: boolean): this;
    close(): void;
    onOpen(action: () => void): this;
    onClose(action: () => void): this;
    setStyle(style?: ModalStyle): this;
    setSize(modalSize?: ModalSize): this;
    setTitle(content?: string): this;
    setBody(content: string | HTMLElement | JQuery, withNoPadding?: boolean): this;
    getBody(): JQuery;
    setFooter(newContent?: string | HTMLElement | JQuery): this;
    getFooter(): JQuery;
    removeFooter(): void;
    setWithoutAnimation(set: boolean): void;
}
declare const modal: ModalInstance;
export default modal;
