import { ResponseObjectType, HttpResponse, HttpUploadProgress } from './types';
export declare class HttpResponseImpl<T, E> implements HttpResponse<T, E> {
    private _ok;
    private _status;
    private _headers;
    private _response;
    private _error;
    type: ResponseObjectType;
    constructor(_ok: boolean, _status: number, _headers: {
        [key: string]: string;
    }, _response: T, _error?: E | null);
    readonly ok: boolean;
    readonly headers: {
        [key: string]: string;
    };
    readonly status: number;
    readonly response: T;
    readonly error: E | null;
}
export declare class HttpUploadProgressImpl implements HttpUploadProgress {
    private event;
    private xhr;
    type: ResponseObjectType;
    constructor(event: ProgressEvent, xhr: XMLHttpRequest);
    readonly percent: number;
    readonly total: number;
    readonly loaded: number;
    cancel(): void;
}
