import { OnDestroy } from '@angular/core'; import { Observable, BehaviorSubject } from 'rxjs'; import { NbLayoutDirectionService } from '@nebular/theme'; export declare class StateService implements OnDestroy { protected layouts: any; protected sidebars: any; protected layoutState$: BehaviorSubject; protected sidebarState$: BehaviorSubject; alive: boolean; constructor(directionService: NbLayoutDirectionService); ngOnDestroy(): void; private updateSidebarIcons; setLayoutState(state: any): any; getLayoutStates(): Observable; onLayoutState(): Observable; setSidebarState(state: any): any; getSidebarStates(): Observable; onSidebarState(): Observable; }