import { FaHttpClientOptions, HttpObserve, ResponseMetadata } from "./http.interface"; import 'reflect-metadata'; import { HttpEvent, HttpHeaders, HttpParams, HttpResponse } from "@angular/common/http"; export declare class FaHttpService { constructor(); dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe?: 'body'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'arraybuffer'; withCredentials?: boolean; }, transformCallback?: (res: ArrayBuffer, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe?: 'body'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'blob'; withCredentials?: boolean; }, transformCallback?: (res: Blob, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe?: 'body'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'text'; withCredentials?: boolean; }, transformCallback?: (res: string, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; params?: HttpParams | { [param: string]: string | string[]; }; observe: 'events'; reportProgress?: boolean; responseType: 'arraybuffer'; withCredentials?: boolean; }, transformCallback?: (res: HttpEvent) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe: 'events'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'blob'; withCredentials?: boolean; }, transformCallback?: (res: HttpEvent) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe: 'events'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'text'; withCredentials?: boolean; }, transformCallback?: (res: HttpEvent) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; reportProgress?: boolean; observe: 'events'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }, transformCallback?: (res: HttpEvent) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; headers?: HttpHeaders | { [header: string]: string | string[]; }; reportProgress?: boolean; observe: 'events'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }, transformCallback?: (res: HttpEvent) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'arraybuffer'; withCredentials?: boolean; }, transformCallback?: (res: HttpResponse, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'blob'; withCredentials?: boolean; }, transformCallback?: (res: HttpResponse, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType: 'text'; withCredentials?: boolean; }, transformCallback?: (res: HttpResponse, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }, transformCallback?: (res: HttpResponse, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; reportProgress?: boolean; observe: 'response'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; withCredentials?: boolean; }, transformCallback?: (res: HttpResponse, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe?: 'body'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; reportProgress?: boolean; withCredentials?: boolean; }, transformCallback?: (res: Object, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; observe?: 'body'; params?: HttpParams | { [param: string]: string | string[]; }; responseType?: 'json'; reportProgress?: boolean; withCredentials?: boolean; }, transformCallback?: (res: R, meta: ResponseMetadata) => any): any; dispatch(token: string, options?: { decConfig?: FaHttpClientOptions; body?: any; headers?: HttpHeaders | { [header: string]: string | string[]; }; params?: HttpParams | { [param: string]: string | string[]; }; observe?: HttpObserve; reportProgress?: boolean; responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; withCredentials?: boolean; }, transformCallback?: (res: any, meta: ResponseMetadata) => any): any; }