import * as React from 'react'; import { ModalProps, ModalFuncProps } from 'antd/es/modal'; interface BaseType { uploadURL: string; uploadExtraConf?: { data?: { [key: string]: string }; [key: string]: any; }; success?: (data: any) => void; fail?: (data: any) => void; } export type OpenConfig = BaseType & ModalFuncProps; export type XuiModalPhotoProps = BaseType & ModalProps; declare const XuiModalPhoto: React.FC & { open: (c: OpenConfig) => Record; }; export default XuiModalPhoto;