import { ChangeDetectorRef } from '@angular/core'; import { AbstractControl } from '@angular/forms'; import { Router } from '@angular/router'; import { HttpClient, HttpHeaders, HttpParams, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiConfig, ApiPageable, ApiResponse } from './model'; import * as i0 from "@angular/core"; export declare class SkApiService { private config; private platformId; private router; private http; apiServer: any; isPlatformBrowser: boolean; maintenanceUrl: string; errorUrl: string; loginUrl: string; constructor(config: ApiConfig, platformId: any, router: Router, http: HttpClient); get(path: string, parameters?: HttpParams): Observable>; getPageable(path: string, parameters?: HttpParams): Observable>>; post(path: string, body: any, parameters?: HttpParams): Observable>; put(path: string, body: any, parameters?: HttpParams): Observable>; delete(path: string, parameters?: HttpParams): Observable>; rawRequest(req: HttpRequest): Observable>; parseTokenHeader(): HttpHeaders; setToken(tokenString: string): void; getToken(): string; clearToken(): void; handleError(error: any): void; handleNext(next: ApiResponse): void; getDuplicateValidator(apiService: SkApiService, path: string, key: string, ignore?: number, cdRef?: ChangeDetectorRef): (control: AbstractControl) => Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }