import { InjectionToken } from '@angular/core'; import { Observable } from 'rxjs'; export declare enum ViewState { Activate = "Activate", ToStack = "ToStack", Destroy = "Destroy", Reactivate = "Reactivate", Sleep = "Sleep" } export declare const UI_VIEW_INIT_STATE: InjectionToken; export declare const UI_VIEW_INIT_TOUCH_BACK: InjectionToken; export declare class ViewStateService { state: Observable; progress: Observable; touchProgress: Observable; private stateSource; private progressSource; private touchEvent; constructor(); changeState(state: ViewState): void; updateProgress(n: number): void; touching(progress: number): void; }