import { HttpClient } from '@angular/common/http';
import * as i0 from "@angular/core";
export declare class AzureBlobConfig {
    baseUrl: string | null;
    sasToken: string | null;
    file: File | null;
    progress: (percentComplete: string, data: any, status: any, headers: any, config: any) => void;
    complete: (data: any, status: any, headers: any, config: any) => void;
    error: (data: any, status: any, headers: any, config: any) => void;
    blockSize: number;
    constructor();
}
export declare class AzureBlobUploadService {
    private $http;
    DefaultBlockSize: number;
    constructor($http: HttpClient);
    upload(config: AzureBlobConfig): {
        cancel: () => void;
    };
    initializeState(config: AzureBlobConfig): {
        maxBlockSize: number;
        numberOfBlocks: number;
        totalBytesRemaining: number;
        currentFilePointer: number;
        blockIds: any[];
        blockIdPrefix: string;
        bytesUploaded: number;
        submitUri: null;
        file: File | null;
        baseUrl: string | null;
        sasToken: string | null;
        fileUrl: string;
        progress: (percentComplete: string, data: any, status: any, headers: any, config: any) => void;
        complete: (data: any, status: any, headers: any, config: any) => void;
        error: (data: any, status: any, headers: any, config: any) => void;
        cancelled: boolean;
    };
    uploadFileInBlocks(reader: any, state: any): void;
    commitBlockList(state: any): void;
    pad(number: number, length: number): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<AzureBlobUploadService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AzureBlobUploadService>;
}
//# sourceMappingURL=azureblobupload.service.d.ts.map