/// declare type Type = 'info' | 'success' | 'warning' | 'danger'; declare type DialogProps = { isOpen: boolean; onRequestClose: () => void; title: string; description: string; type: Type; submitText: string; onSubmit: () => void; cancelText?: string; }; export declare function Dialog({ isOpen, onRequestClose, title, description, type, submitText, onSubmit, cancelText, }: DialogProps): JSX.Element; export {};