import { File } from '@awesome-cordova-plugins/file/ngx';
import * as i0 from "@angular/core";
export interface IUploadResponse {
    text: string;
    response: any;
    headers: (string: any) => string;
}
export declare class UploadRequest {
    private url;
    private cordovaFile;
    private _files;
    private _params;
    private _headers;
    constructor(url: string, cordovaFile: File);
    addFile(name: string, path: string, filename: string): UploadRequest;
    addHeader(name: string, value: string): UploadRequest;
    addParam(name: string, value: string): UploadRequest;
    post(): Promise<IUploadResponse>;
}
export declare class DeviceFileUploadService {
    private cordovaFile;
    static readonly SERVICE_NAME = "DeviceFileUploadService";
    constructor(cordovaFile: File);
    upload(url: string, fileParamName: string, path: string, fileName?: string, params?: any, headers?: any): Promise<IUploadResponse>;
    static ɵfac: i0.ɵɵFactoryDeclaration<DeviceFileUploadService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DeviceFileUploadService>;
}
