import { Injector, InjectionToken } from '@angular/core'; import { NaStartupService } from '@ng-arthur/core'; import { Observable } from 'rxjs'; import { HttpResponse, HttpClient, HttpRequest } from '@angular/common/http'; import { INaHttpConfig } from './na-http-config'; export declare const NA_HTTP_CONFIG: InjectionToken; export declare class NaHttpService { protected injector: Injector; private startupService; private http; private _doc; static METHOD: string[]; private _currentHttpConfig; private _defaultHttpConfig; constructor(injector: Injector, startupService: NaStartupService, http: HttpClient, _doc: any); resolved(req: HttpRequest): INaHttpConfig; readonly baseUrl: string; getUrl(key: string, baseUrl?: boolean): any; concatUrl(urlPrefix: string, urlSuffix: string): string; private concat; download(url: string, body: any, method?: 'GET' | 'POST', filename?: string, deleteEmptyProperties?: boolean): Observable>; private innerDownload; }