///
import { TableAttachInitResponse } from '../api/tableAttachInit';
import { AttachmentType, HostEnv, UploadFile } from '../types';
interface UploadProviderProps {
cursorId?: string;
hostEnv: HostEnv;
type: AttachmentType;
fileList: UploadFile[];
/** 附件上传完成后刷新附件列表方法 */
refreshList?: (files?: UploadFile[]) => Promise;
/** 附件初始化方法 */
attachInit?: () => Promise;
disabled?: boolean;
fileTypeCode?: string;
updateFileList?: (file: UploadFile) => void;
mergeFileList?: (fileList: UploadFile[]) => void;
removeFileByFileId?: (file: UploadFile) => void;
}
export declare const UploadContext: import("react").Context;
export declare const UsePopupContext: import("react").Context<{
usePopup: boolean;
}>;
export {};