import { ReactNode } from 'react'; type Props = { heading: string; close: () => void; children?: ReactNode; className?: string; headerAddon?: ReactNode; footer?: ReactNode; maxWidth?: 'small' | 'medium' | 'large' | (string & NonNullable); }; declare const Modal: ({ heading, close, children, className, headerAddon, footer, maxWidth }: Props) => import('react').ReactPortal | null; export { Modal }; export type { Props as ModalProps };