import * as React from 'react';
import { HTMLProps } from 'react';
import { FlexProps } from '../Flex';
export declare const ensurePortalElement: () => HTMLElement;
export declare const ensureLoadingScreenPortalElement: () => HTMLElement;
export interface ModalProps extends FlexProps, HTMLProps<HTMLDivElement> {
    isOpen?: boolean;
    baseZIndex?: number;
    onBringToFront?: () => void;
}
export declare const Modal: React.FunctionComponent<React.PropsWithChildren<ModalProps>>;
