import { Http, RequestOptionsArgs, ConnectionBackend, RequestOptions, Response } from '@angular/http'; import '../extentions/rxjs-extensions'; import { Observable } from 'rxjs/Observable'; export declare class AuthHttpService extends Http { private defaultOptions; private webApiBaseUrl; private timeout; error$: Observable; private sessionId; private errorSource; constructor(backend: ConnectionBackend, defaultOptions: RequestOptions, webApiBaseUrl: string, timeout: number); readonly webApiHost: string; readonly defaultRequestOptions: RequestOptionsArgs; get(url: string, options?: RequestOptionsArgs): Observable; put(url: string, body: any, options?: RequestOptionsArgs): Observable; delete(url: string, options?: RequestOptionsArgs): Observable; post(url: string, body: any, options?: RequestOptionsArgs): Observable; setAuthCalls(sessionId: string): void; private setHeaders(options?); private handleError(err); }