import React from 'react';
import { MessageBoxProps, MessageBoxPropsTyped } from './messageBox';
import { LoadingBoxProps, LoadingBoxPropsTyped } from './loadingBox';
import { HelpProps, HelpPropsTyped } from './help';
export type ModalProps = MessageBoxProps | LoadingBoxProps | HelpProps;
export type ModalPropsTyped = (MessageBoxPropsTyped | LoadingBoxPropsTyped | HelpPropsTyped) & {
    canClose?: boolean;
    onClose?: () => void;
};
export type ModalRef = {
    getActiveState(): ModalPropsTyped | 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<ModalRef>>;
