import { Observable } from 'rxjs'; import { RefreshTokensResponseInterface } from '../interfaces/refresh-tokens-response.interface'; import { InjectionToken } from '@angular/core'; import { RefreshEndpointConfigInterface } from '../interfaces/refresh-endpoint-config.interface'; import { JwtUserService } from '../services/jwt-user.service'; import { SessionService } from '../services/session.service'; import { HttpClient } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare const REFRESH_ENDPOINT_CONFIG: InjectionToken; export declare class TokenRefreshService { private http; private sessionService; private user; private refreshEndpointConfig; expirationTimerActive: boolean; refreshPending: boolean; private cachedTokens; constructor(http: HttpClient, sessionService: SessionService, user: JwtUserService, refreshEndpointConfig: RefreshEndpointConfigInterface); getRefreshTokens(): Observable; setCachedTokens(tokens: RefreshTokensResponseInterface): void; getCashedTokens(): Observable; clearCachedTokens(): void; startCachedTokensExpirationTimer(expirationTimeSeconds: number): void; private refreshTokens; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }