import { Observable } from 'rxjs/Rx'; import { Adal5Service } from './adal5.service'; import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; export declare class Adal5HTTPService { private http; private service; static factory(http: HttpClient, service: Adal5Service): Adal5HTTPService; constructor(http: HttpClient, service: Adal5Service); get(url: string, options: { body?: any; headers?: HttpHeaders; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }): Observable; post(url: string, body: any, options: { body?: any; headers?: HttpHeaders; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }): Observable; delete(url: string, options: { body?: any; headers?: HttpHeaders; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }): Observable; patch(url: string, body: any, options: { body?: any; headers?: HttpHeaders; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }): Observable; put(url: string, body: any, options: { body?: any; headers?: HttpHeaders; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }): Observable; head(url: string, options: { body?: any; headers?: HttpHeaders; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }): Observable; private sendRequest(method, url, options); private handleError(error); }