import { ModuleWithProviders, Provider } from '@angular/core'; import { HttpRequest } from '@angular/common/http'; import * as i0 from "@angular/core"; export interface JwtConfig { tokenGetter?: (request?: HttpRequest) => string | null | Promise; headerName?: string; authScheme?: string | ((request?: HttpRequest) => string); allowedDomains?: Array; disallowedRoutes?: Array; throwNoTokenError?: boolean; skipWhenExpired?: boolean; } export interface JwtModuleOptions { jwtOptionsProvider?: Provider; config?: JwtConfig; } export declare class JwtModule { constructor(parentModule: JwtModule); static forRoot(options: JwtModuleOptions): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }