import * as React from 'react'; import { ModalProps, ModalFuncProps } from 'antd/es/modal'; interface BaseType { name?: string; idcard?: string; 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 XuiModalIdcardProps = BaseType & ModalProps; declare const XuiModalIdcard: React.FC & { open: (c: OpenConfig) => Record; }; export default XuiModalIdcard;