UNPKG

dynamic-display-shared

Version:

A library for dynamic view

30 lines (29 loc) 1.13 kB
import { Observable, Subject } from 'rxjs'; import { OAuthService } from 'angular-oauth2-oidc'; import * as i0 from "@angular/core"; export declare class IdleService { private authService; private idle; private timer; private timeOutMilliSeconds; private idleSubscription; expired: Subject<boolean>; constructor(authService: OAuthService); startWatching(timeOutMinutes: number): Observable<any>; private startTimer; resetTimer(): void; stopTimer(): void; initialIdleSettings(idleTimeInMinutes: number, message: string): void; static ɵfac: i0.ɵɵFactoryDeclaration<IdleService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<IdleService>; } export declare function initIdle(): { provide: import("@angular/core").InjectionToken<readonly (() => void | Observable<unknown> | Promise<unknown>)[]>; useFactory: typeof appInitIdleFactory; deps: (typeof IdleService)[]; multi: boolean; }; export declare function appInitIdleFactory(idle: IdleService): boolean; export declare const IdleModule: { init: typeof initIdle; };