import React from 'react'; import type { IconCfg } from '../Icon/PropsType'; import { UploadType } from 'antd/lib/upload/interface'; export interface MyFormUploadProps { onChange?: (list?: any[]) => void; onFinishUpload?: (file: File, fileList: any[], fileResponseList: any[]) => void; onFileListChange?: (fileList: any[], fileResponseList: any[]) => void; onFileRemove?: (file: File, fileList: any[]) => void; value?: any; disabled?: boolean; readOnly?: boolean; precheckService?: any; numberLimit?: number; singleFileMaxSize?: string; singleFileMinSize?: string; fileNameEncode?: boolean; isWatermark?: boolean; optionalFile?: boolean; onListenUploading?: (file: File, fileList: any[], fileResponseList: any[]) => void; onListenDownloading?: (file: any) => void; onFileNameClick?: (file: File) => void; accept?: any; action?: string; listType?: UploadType; uploadText?: string; defaultFileList?: any[]; uploadStyle?: string; icon?: IconCfg; deleteIcon?: any; downloadIcon?: any; previewIcon?: any; appId: string; pageId: string; iconFile?: any; uploadTimeout?: number; onCheckUpload?: () => any; headers?: any; columns?: any; uploadAccepType?: any; viewMode: 'newTab' | 'popUp' | 'window'; modalWidth?: number; modalHeight?: number; synchronousDeletion?: boolean; } export interface MyStdUploadProps { value?: any; visible?: boolean; onChange?: (e: any) => void; onValueRelease?: (value: any) => void; getCompPropMapState?: (id: string, type: string) => any; compId?: string; name?: string; fieldName: string; required?: any; hidden?: boolean; regexp?: any; message?: any; label?: any; labelCol?: any; wrapperCol?: any; selfSpan?: number; colSpan?: number; style?: React.CSSProperties; fileName?: string; action?: string; uploadProps?: any; multiple?: boolean; singleFileMode?: any; showWrapperContainer: boolean; wrapperContainer: any; titleTip?: any; tipIcon?: any; tipLocation?: any; tipContent?: any; tipPlacement?: any; colon?: boolean; headers?: any; isFormChild?: boolean | undefined; rules?: any[]; tipSize?: string; tipWidth?: string; tipHeight?: string; columns?: any; } declare const StdUpload: React.ForwardRefExoticComponent>; export default StdUpload;