import { HttpClient } from '@angular/common/http'; import { BehaviorSubject, Observable } from 'rxjs'; import { AuthenticationService } from './authentication.service'; import { ConfigurationService } from './configuration.service'; import { LoadingStatus } from './interfaces'; import { LoadingService } from './loading.service'; export declare class APIService { protected authentication: AuthenticationService; protected config: ConfigurationService; protected http: HttpClient; protected loading: LoadingService; status: BehaviorSubject; backendAvailable: BehaviorSubject; constructor(authentication: AuthenticationService, config: ConfigurationService, http: HttpClient, loading: LoadingService); get(path: string): Observable; post(path: string, data: Object): Observable; put(path: string, data: Object): Observable; patch(path: string, data: Object): Observable; delete(path: string): Observable; download(path: string): Observable; getFullPath(path: string): string; getPath(path: string): string; private wrapRequest; protected setBackendAvailability(availability: boolean): void; }