import { Injector } from '@angular/core'; import { HttpInterceptor, HttpRequest, HttpHandler, HttpSentEvent, HttpHeaderResponse, HttpProgressEvent, HttpResponse, HttpUserEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ITokenModel } from './interface'; import { DelonAuthConfig } from '../auth.config'; import * as i0 from "@angular/core"; export declare abstract class BaseInterceptor implements HttpInterceptor { protected injector: Injector; constructor(injector: Injector); protected model: ITokenModel; abstract isAuth(options: DelonAuthConfig): boolean; abstract setReq(req: HttpRequest, options: DelonAuthConfig): HttpRequest; intercept(req: HttpRequest, next: HttpHandler): Observable | HttpUserEvent>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=base.interceptor.d.ts.map