export namespace defaultUploadConfig {
    let uploadUrl: string;
    let fieldName: string;
    let headers: {};
    let withCredentials: boolean;
    function responseParser(data: any): any;
    let compress: boolean;
    let compressQuality: number;
    let compressMaxWidth: number;
    let compressMaxHeight: number;
}
export function compressImage(file: any, config?: {}): Promise<any>;
export function uploadImage(file: any, config?: {}): Promise<any>;
