import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpClient } from '@angular/common/http'; import { Router } from '@angular/router'; import { Observable } from 'rxjs'; import { AuthService } from './auth.service'; import { NAuthClientConfig } from '@nauth-toolkit/client'; import * as i0 from "@angular/core"; /** * Class-based HTTP interceptor for NgModule apps (Angular < 17). * * For standalone components (Angular 17+), use the functional `authInterceptor` instead. * * @example * ```typescript * // app.module.ts * import { HTTP_INTERCEPTORS } from '@angular/common/http'; * import { AuthInterceptorClass } from '@nauth-toolkit/client-angular'; * * @NgModule({ * providers: [ * { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptorClass, multi: true } * ] * }) * ``` */ export declare class AuthInterceptorClass implements HttpInterceptor { private readonly config; private readonly http; private readonly authService; private readonly router; constructor(config: NAuthClientConfig, http: HttpClient, authService: AuthService, router: Router); intercept(req: HttpRequest, next: HttpHandler): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }