import * as React from 'react'; import './index.scss'; type DialogSize = 'small' | 'medium' | 'large'; type IconType = 'success' | 'warning' | 'notice' | 'about'; type DefaultFooterActions = 'cancel' | 'ok'; type StateEnum = 'error'; interface DialogProps { className?: string; visible: boolean; title?: React.ReactNode; subTitle?: React.ReactNode; onOk?: () => void; onCancel?: () => void; children?: React.ReactNode; footer?: boolean | React.ReactNode; maskClosable?: boolean; okText?: React.ReactNode; cancelText?: React.ReactNode; bodyStyle?: React.CSSProperties; size?: DialogSize; icon?: IconType; footerActions?: Array; width?: number | string; loading?: boolean; okHotKey?: string; cancelHotKey?: string; okDisabled?: boolean; cancelDisabled?: boolean; state?: StateEnum; } export default function Dialog(props: DialogProps): React.JSX.Element; export {};