import { HttpBackend, HttpClient, HttpEvent, HttpParams } from '@angular/common/http';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare enum SkipHeaders {
    TRUE = "true",
    FALSE = "false"
}
export declare class HttpService {
    private http;
    private httpBackend;
    protected withCredentialsOption: boolean;
    httpWithoutInterceptor: HttpClient;
    private skip;
    constructor(http: HttpClient, httpBackend: HttpBackend);
    set withCredentials(value: boolean);
    get withCredentials(): boolean;
    /** TODO: à tester car pas sûr que cela fonctionne... */
    delete<T>(path: string, params?: Object, skip?: string): Observable<T>;
    get<T>(path: string, params?: Object, skip?: string): Observable<T>;
    post<T>(path: string, body?: Object, skip?: string): Observable<T>;
    put<T>(path: string, body?: Object, skip?: string): Observable<any>;
    patch<T>(path: string, body?: Object, skip?: string): Observable<T>;
    file<T>(path: string, params?: Object): Observable<T>;
    upload<T>(path: string, body?: Object, options?: Object): Observable<HttpEvent<T>>;
    protected extractData(res: Response): any;
    protected buildUrlParams(parameters: any): HttpParams;
    static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
}
