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