import { Translator } from '../../../config-provider';
import { ApUploadCustomRequest, ApUploadFile } from '../interface';
export declare function injectUtilUpload(tValue: Translator): void;
export declare function changeFileStatus(file: ApUploadFile, status: ApUploadFile['status'], errMsg: string): void;
export declare function uploadBeforeUpload(file: ApUploadFile, fileList: ApUploadFile[], props: {
    maxSize?: number;
    maxCount?: number;
    accept?: string;
    maxCountErrorMsg?: string;
    maxSizeErrorMsg?: string;
    acceptErrorMsg?: string;
}): boolean;
export declare const uploadCustomRequest: ApUploadCustomRequest;
