import 'reflect-metadata'; import { HttpClient, HttpEvent, HttpRequest, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BaseRestResponse, RestAnnotationInjector, RESTClient, RestDescriptorParam, RestMethodOptions } from 'rest-annotations'; export default class AngularRESTClient extends RESTClient, HttpRequest, { promise(): Promise & BaseRestResponse; httpResponse(): Observable & BaseRestResponse; observable(): Observable & BaseRestResponse; raw(): Observable> & BaseRestResponse; }> { protected readonly http: HttpClient; /** * @deprecated */ constructor(httpClient: HttpClient); constructor(injector: RestAnnotationInjector); protected responseInterceptor(response: HttpResponse, responseStrategy: string): any; protected executeDescriptor(opts: RestMethodOptions, descriptorParams: Promise): Promise | Observable; protected resolveResponseStrategy(propertyKey: string): "promise" | "httpResponse"; protected executeMockup(consumer: (args: any[]) => any, args: any[], strategy: string): any; }