import { IProject } from '../types';
import { TBusinessType } from '../config/businesstype';
export declare function innerRequest<T>(url: string, body: any): Promise<T>;
export declare function uploadByCos(gzipBuffer: Buffer, commitUrl: string, project: IProject, robot: any): Promise<{
    fallback: boolean;
    body?: any;
    uploadCOSCostTime?: number;
}>;
export declare function uploadByCosSafely(buffer: Buffer, commitUrl: string, project: IProject, robot: any, businessType: TBusinessType, onProgressUpdate?: (progressData: any) => void): Promise<{
    fallback: boolean;
    body?: any;
    uploadCOSCostTime?: number;
}>;
export declare function uploadByCosSafelyAsyncWithoutMulti(buffer: Buffer, commitUrl: string, project: IProject, robot: any): Promise<{
    fallback: boolean;
    body?: any;
    uploadCOSCostTime?: number;
}>;
export declare function uploadByCosSafelyWithMultiUpload(filePath: string, commitUrl: string, project: IProject, robot: any, urlOptions: {
    getUploadInfo: string;
    getUploadSign: string;
    getAsyncResult: string;
    businessType: TBusinessType;
}, onProgress?: (progressData: any) => void): Promise<{
    fallback: boolean;
    body?: any;
    uploadCOSCostTime?: number;
}>;
