import { Observable } from 'rxjs'; import * as i0 from '@angular/core'; import { EnvironmentProviders } from '@angular/core'; import { HttpFeature, HttpFeatureKind, HttpInterceptorFn } from '@angular/common/http'; interface KitAuth0Settings { domain: string; clientId: string; audience: string; connection?: string; } type KitAuth0CacheLocation = 'memory' | 'localstorage'; interface KitAuth0Options { allowedApiUrls: readonly string[]; cacheLocation?: KitAuth0CacheLocation; appUrl?: string; } declare class KitAuthService { private readonly auth0; private readonly location; private readonly authConfig; private loggingIn; private loggingOut; isAuthenticated$(): Observable; getAccessToken$(): Observable; isLoggingOut(): boolean; login(targetPath?: string): void; logout(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const withKitAuthHttpInterceptor: () => HttpFeature; declare const provideKitAuth0: (settings: KitAuth0Settings, options: KitAuth0Options) => EnvironmentProviders; declare const kitAuthHttpInterceptor: HttpInterceptorFn; export { KitAuthService, kitAuthHttpInterceptor, provideKitAuth0, withKitAuthHttpInterceptor }; export type { KitAuth0CacheLocation, KitAuth0Options, KitAuth0Settings };