import * as i0 from '@angular/core'; import { InjectionToken } from '@angular/core'; import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; type ProvideAuthorization = () => Promise | Observable; declare const PROVIDE_AUTHORIZATION: InjectionToken; declare class AuthorizationInterceptor implements HttpInterceptor { private provide; intercept(req: HttpRequest, next: HttpHandler): Observable>; private getRequestWithToken; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { AuthorizationInterceptor, PROVIDE_AUTHORIZATION }; export type { ProvideAuthorization };