import { Observable , Subject } from 'rxjs' ; export interface StorageStrategy < T > { readonly keyChanges : Subject < string > ; readonly isAvailable : boolean ; readonly name : string ; get ( key ) : Observable < T > ; set ( key , value ) : Observable < T > ; del ( key ) : Observable < void > ; clear ( ) : Observable < void > ; }