import { ReactElement, ReactNode } from 'react'; export type ModalOverlayProps = { /** * Whether the modal should be open */ isOpen: boolean; /** * Whether the modal should have opening and closing animation * @default false */ noAnimation?: boolean; /** * The element where to mount the Modal. It needs to be outside the GrapesProvider tree for the focus trap to work properly. * @default document.body */ portalContainer?: Element; /** * The content of the ModalOverlay */ children?: ReactNode; /** * className for the element */ className?: string; /** * Time to wait before removing the element on exit. * Used only when onAnimationEnd is not supported * @default 200ms */ timeout?: number; }; /** * The dimmed overlay behind the modal dialog * @see https://grapes.spendesk.design/docs/components/modal */ export declare const ModalOverlay: ({ children, isOpen, portalContainer, noAnimation, className, timeout, ...rest }: ModalOverlayProps) => ReactElement | null; //# sourceMappingURL=ModalOverlay.d.ts.map