import { ErrorStatus } from './../enum/error-status.enum'; import { BaseErrorHandler } from './../error-handler/base.error-handler'; import { LoadingService } from './loading.service'; import { HttpClient } from '@angular/common/http'; import { StorageService } from '@faab/storage-lib'; import { HttpModuleOptions } from '../interface/http-module-options'; import { ResponseTypeEnum } from './../enum/response-type.enum'; import { ContentTypeEnum } from './../enum/content-type.enum'; import { LoadingEnum } from './../enum/loading.enum'; import { LanguageLibService } from '@faab/language-lib'; import { Observable } from 'rxjs'; import { ResponseInterfaces } from '../interface/response-interfaces'; export declare class HttpService { private token_config; private storage; private http; private loadingService; private languageService; private http_options; private loadingType; private contentType; private _responseType; private baseUrl; private _ignore; private auth; private _cache; private _withCredentials; private errorHandler; private config; constructor(token_config: HttpModuleOptions, storage: StorageService, http: HttpClient, loadingService: LoadingService, languageService: LanguageLibService); createUrl(url: string): string; private showLoading; private reset; responseType(type: ResponseTypeEnum): this; content(type: ContentTypeEnum): HttpService; handler(handler: BaseErrorHandler): this; loading(loadingType: LoadingEnum): HttpService; server(server: string): HttpService; ignore(errors: ErrorStatus[]): HttpService; cache(use: boolean): HttpService; withCredentials(withCredentials: boolean): HttpService; get(shortUrl: string, response: ResponseInterfaces): Observable | Promise; delete(shortUrl: string, response: ResponseInterfaces): Observable | Promise; request(method: string, url: string, options: any, response: any, iterator?: number, sync?: boolean): Observable | Promise; post(shortUrl: string, obj: any, response: ResponseInterfaces, sync?: boolean): Observable | Promise; put(shortUrl: string, obj: object, response: ResponseInterfaces, sync?: boolean): Observable | Promise; patch(shortUrl: string, obj: object, response: ResponseInterfaces, sync?: boolean): Observable | Promise; private createOptions; protected setBaseUrl(): void; getAuthorization(): string; setAuthorization(authorization: string): void; getUappKey(): string; setUappKey(uapp_key: string): void; }