export interface UploadPropsInner { multiple?: boolean; showUploadList?: boolean; showSlotList?: boolean; listType?: 'text' | 'picture-card'; text?: string; accept?: string; data?: Record; name?: string; disabled?: boolean; } export interface ExtraProps { maxSize?: number; maxCount?: number; isAllowDownloadFieldProps?: boolean; hideDisabledBtn?: boolean; tips?: string; showTips?: boolean; btnClass?: string; picClass?: string; alignCenter?: boolean; canNotViewAccept?: string; myBtn?: boolean; showFileName?: boolean; drag?: boolean; } export declare type DefaultList = Array<{ uid?: string; name?: string; url?: string; type?: string; }>; export declare type UploadRequest = (file: File, config: Record) => Promise<{ url?: string; [prop: string]: any; }>; export interface CustomErrors { maxSize?: string; maxCount?: string; format?: string; } export declare type UploadProps = { uploadProps: UploadPropsInner; extraProps: ExtraProps; defaultList: DefaultList; uploadRequest: UploadRequest; cloudReadUrl: string; holdProgress: number; customErrors: CustomErrors; };