import { HttpClient, HttpParams } from '@angular/common/http'; import { Router } from '@angular/router'; import { Observable } from 'rxjs'; import { AuthLoader } from './auth.loader'; import * as i0 from "@angular/core"; export declare class AuthService { readonly loader: AuthLoader; protected readonly router: Router; protected readonly http: HttpClient; protected _token: string; private _redirectUrl; get token(): string; get redirectUrl(): string; set redirectUrl(value: string); get defaultUrl(): string; get isAuthenticated(): boolean; constructor(loader: AuthLoader, router: Router, http: HttpClient); authenticate(username: string, password: string): Observable; invalidate(): Promise; protected getHttpParams: (query?: any[]) => HttpParams; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; }