import { default as React, MouseEventHandler, ReactNode } from 'react'; export type PageModalProps = { /** * The content of the PageModal. */ children: ReactNode; /** * Whether the PageModal is open. */ isOpen: boolean; /** * Remove the transition on the PageModal. * @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; /** * Close the PageModal. */ onClose: MouseEventHandler; /** * The title to display in the PageModal. */ title: ReactNode; /** * className for the main modal div. */ className?: string; }; export declare const PageModal: ({ children, isOpen, noAnimation, portalContainer, onClose, title, className, ...rest }: PageModalProps) => React.ReactPortal | null; //# sourceMappingURL=PageModal.d.ts.map