import { Modal as SemiModal } from '@douyinfe/semi-ui'; import { type ModalProps } from './modal-types'; import './modal.css'; export declare const Modal: import("react").ForwardRefExoticComponent> & { SubTitle: import("react").FC<{ className?: string; children: string | React.ReactNode; style?: React.CSSProperties; }>; Description: import("react").FC<{ className?: string; children: string | import("react").ReactNode; style?: import("react").CSSProperties; }>; Content: import("react").FC<{ className?: string; children: string | import("react").ReactNode; style?: import("react").CSSProperties; }>; info: ({ className, footer, cancelText, okText, okButtonColor, onCancel, onOk, footerFill, confirmLoading, cancelLoading, icon, type, okButtonProps, cancelButtonProps, size, width, closable, autoLoading, ...rest }: ModalProps) => { destroy: any; update: any; }; success: ({ className, footer, cancelText, okText, okButtonColor, onCancel, onOk, footerFill, confirmLoading, cancelLoading, icon, type, okButtonProps, cancelButtonProps, size, width, closable, autoLoading, ...rest }: ModalProps) => { destroy: any; update: any; }; error: ({ className, footer, cancelText, okText, okButtonColor, onCancel, onOk, footerFill, confirmLoading, cancelLoading, icon, type, okButtonProps, cancelButtonProps, size, width, closable, autoLoading, ...rest }: ModalProps) => { destroy: any; update: any; }; warning: ({ className, footer, cancelText, okText, okButtonColor, onCancel, onOk, footerFill, confirmLoading, cancelLoading, icon, type, okButtonProps, cancelButtonProps, size, width, closable, autoLoading, ...rest }: ModalProps) => { destroy: any; update: any; }; confirm: ({ className, footer, cancelText, okText, okButtonColor, onCancel, onOk, footerFill, confirmLoading, cancelLoading, icon, type, okButtonProps, cancelButtonProps, size, width, closable, autoLoading, ...rest }: ModalProps) => { destroy: any; update: any; }; destroyAll: () => void; };