import { IExecutionResult } from './entities/commandresults/iexecution-result'; import { IBaseCommandResult } from './entities/commandresults/ibase-command-result'; import { BaseCommand } from './entities/commands/base-command'; import { HttpHeaders, HttpClient } from '@angular/common/http'; import { UUID } from 'angular2-uuid'; import { IBaseQuery } from './entities/queries/ibase-query'; import { IApiQueryResponse } from './entities/queries/iapi-query-response'; import { Tso } from '@parenta/ts-odata'; import * as i0 from "@angular/core"; export declare class SauronService { private http; private authToken; private apiUrl; private errorHandler; constructor(http: HttpClient); setAuthToken(newToken: string): void; getAuthToken(): string | undefined; setApiUrl(apiUrl: string): void; getFileUploadUrl(): string; setErrorHandler(handler: any): void; createQuery(namespace: string, entity: string): Tso; runQuery(query: Tso): Promise>; private query; executeCommand(cmd: TBaseCommand, overridenToken?: string): Promise>; executeVersionedCommand(request: RequestType, theNamespace: string, theCommand: string, overridenToken?: string): Promise; executeFileDownload(request: RequestType, theNamespace: string, theCommand: string, overridenToken?: string): Promise; getFileDownloadUrl(request: RequestType, theNamespace: string, theCommand: string, temporaryToken?: UUID): string; private getCommandUrl; private execute; private generateCommandUrl; generateHeaders(overridenToken: string | null | undefined): HttpHeaders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }