import { BehaviorSubject } from 'rxjs' ; export class TreeGridState { readonly loading$ = new BehaviorSubject < boolean > ( false ) ; constructor ( public readonly level , public readonly setSize , public readonly positionInSet ) { } }