import React from 'react';
import { MessageBoxProps, MessageBoxPropsTyped } from './messageBox';
import { LoadingBoxProps, LoadingBoxPropsTyped } from './loadingBox';
import { HelpPropsTyped } from './help';
export type ModalProps = (MessageBoxPropsTyped | LoadingBoxPropsTyped | HelpPropsTyped) & {
    canClose?: boolean;
    onClose?: () => void;
};
export type ModalHandle = {
    getActiveState(): ModalProps | undefined;
    loading(content: LoadingBoxProps | undefined): void;
    message(content: MessageBoxProps | undefined): void;
    help(show: boolean): void;
};
export declare const Modal: React.ForwardRefExoticComponent<{
    canFollowLinks: boolean;
} & React.RefAttributes<ModalHandle>>;
