import { Component } from 'react'; import { DialogProps as NextDialogProps, QuickShowConfig, QuickShowRet } from '@alifd/next/types/dialog'; interface DialogProps extends NextDialogProps { size?: 'xs' | 'small' | 'middle' | 'large'; } declare class Dialog extends Component { static wrapMethod: (type?: 'alert' | 'confirm') => (config?: QuickShowConfig) => QuickShowRet; static show: (config?: QuickShowConfig) => QuickShowRet; static alert: (config?: QuickShowConfig) => QuickShowRet; static confirm: (config?: QuickShowConfig) => QuickShowRet; static withContext: any; render(): JSX.Element; } declare const _default: typeof Dialog; export default _default;