import { Injector } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/map'; import 'rxjs/add/observable/throw'; import { AuthService } from '../auth/auth.service'; import { IRequestOptions } from './request-options.interface'; import { AppConfigurationService } from '../common/app-configuration.service'; import { EventsManagerService } from '../common/events-manager.service'; import { HttpInterceptor } from '../common/http-interceptor.service'; export declare class APIClientService { protected defaultPath: string; protected http: HttpInterceptor; authService: AuthService; eventsManagerService: EventsManagerService; AppConfiguration: AppConfigurationService; injector: Injector; private static readonly ACCESS_TOKEN_ERRORS; protected backendDataLimit: number; readonly apiURL: string; readonly isInLAPIMode: boolean; private _onServerError; readonly onServerError: Observable; constructor(defaultPath: string, http: HttpInterceptor, authService: AuthService, eventsManagerService: EventsManagerService, AppConfiguration: AppConfigurationService, injector: Injector); parseError(error: any): any; get(path?: string | null, data?: any, options?: IRequestOptions): Observable; private addUrlParams(data, resourcePath); remove(path?: string, data?: any, options?: IRequestOptions): Observable; post(path?: string | null, data?: any, options?: any): Observable; put(path?: string, data?: any, options?: any): Observable; private extractData(res); private handleError(error); }