import React from "react"; export declare type ModalModeType = "alert" | "confirm" | "custom"; export declare type ModalIconType = "confirm" | "notification" | "error" | "question" | "money"; export interface ModalPropsInterface { show?: boolean; mask?: boolean; maskClosable?: boolean; mode?: ModalModeType; type?: ModalIconType; title?: string; content?: React.ReactNode; width?: number; confirmText?: string; confirmColor?: string; onConfirm?: () => void; customConfirmButton?: boolean; cancelText?: string; cancelColor?: string; onCancel?: () => void; customCancelButton?: boolean; customButtons?: any; showCloseButton?: boolean; } interface ModalStateInterface { show: boolean; } declare class Modal extends React.Component { static defaultProps: { confirmText: string; cancelText: string; maskClosable: boolean; showCloseButton: boolean; }; constructor(props: ModalPropsInterface); componentDidUpdate(prevProps: ModalPropsInterface, prevState: ModalStateInterface): void; hidden: () => void; render(): JSX.Element; } export default Modal;