import React from 'react'; export declare const Modal: React.MemoExoticComponent<({ className, isOpen, preventClose, size, headerTitle, headerClose, footerActions, onClose, parentSelector, children, }: ModalProps) => JSX.Element>; export interface ModalProps { /** * Custom class name * */ className?: string; /** Modal is open * @default false */ isOpen?: boolean; /** Prevent modal close * @default false */ preventClose?: boolean; /** Modal width * @default 'default' * */ size?: 'default' | 'large' | 'small'; /** * Modal title * */ headerTitle?: string | React.ReactNode; /** Close text at header * @default 'Fechar' * */ headerClose?: string | false; /** * Call when modal is closed * */ onClose?: Function; /** * React children */ children?: React.ReactNode; /** * React children */ footerActions?: React.ReactNode; /** The parent element that the modal will be attached to * @default 'document.body' */ parentSelector?: HTMLElement | null; }