import React from 'react'; export interface DialogOption { wrappedComponent: React.ReactNode; type?: 'dialog' | 'drawer'; dialogType?: 'plain' | 'common'; className?: string; prefixCls?: string; title?: string; width?: number; maskClosable?: boolean; cancelWithSuccess?: boolean; foot?: boolean; okText?: string; cancelText?: string; payload?: any; fromTable?: boolean; mask?: boolean; acudProps?: any; customCancelHandler?: () => Promise; } export interface DialogOptionText { sure?: string; cancel?: string; submitting?: string; } declare const useDialog: any; export default useDialog;