import { AfterViewInit, OnDestroy, OnInit } from '@angular/core'; import { AngularDataContext } from '@themost/angular'; import { ActivatedUser } from '../../services/activated-user.service'; import { AuthenticationService } from '../../services/authentication.service'; import { Router } from '@angular/router'; import * as i0 from "@angular/core"; export declare class RefreshTokenComponent implements OnInit, OnDestroy { private activatedUser; private authService; private context; private userSubscription; private refreshTimer; private refreshErrors; /** * Gets or sets the validation interval. The default value is 60000 ms. */ timerInterval: number; /** * Sets the number of milliseconds -before expiration - for refreshing an access token. * The default value is 60000 ms. */ refreshBefore: number; constructor(activatedUser: ActivatedUser, authService: AuthenticationService, context: AngularDataContext); ngOnDestroy(): void; private resetTimer; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class RefreshTokenActionComponent implements AfterViewInit, OnDestroy { private activatedUser; private authService; private context; private router; constructor(activatedUser: ActivatedUser, authService: AuthenticationService, context: AngularDataContext, router: Router); ngOnDestroy(): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }