import { ReactNode } from 'react'; import { HookDataProvider } from '../../react/base'; export declare function showDialog(title: string, content?: ReactNode, onOk?: () => void, onCancel?: () => void, width?: string | number, okCancel?: boolean): { destroy: () => void; update: (newConfig: import("antd/lib/modal").ModalFuncProps) => void; }; export declare function showConfirmDialog(message: string, onOk?: () => void, onCancel?: () => void): { destroy: () => void; update: (newConfig: import("antd/lib/modal").ModalFuncProps) => void; }; /** 关闭全部模块框 */ export declare function closeAllDialog(): void; export declare class DialogProvider extends HookDataProvider { getData?: (() => any) | undefined; }