import React, { PropsWithChildren } from 'react';
import { ModalProps } from './types';
export declare function Modal({ children, className, isOpen, modalRoot, onClose, shouldCloseOnEsc, shouldCloseOnOverlayClick, pinnedFooter, size, position, action, variant, hideCloseIcon, title, primaryAction, dismissAction, stackedActionButtons, isLoading, ...props }: PropsWithChildren<ModalProps>): React.ReactPortal | null;
