import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AuthConfig } from './auth-config'; import { AuthService } from './auth.service'; import * as i0 from "@angular/core"; /** * Trigger login flow when there is an unauthorized response from the api */ export declare class AutoLoginHttpInterceptor implements HttpInterceptor { private authService; private config; constructor(authService: AuthService, config: AuthConfig); intercept(req: HttpRequest, next: HttpHandler): Observable>; private shouldHandle; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }