export enum EStoreKeys { filters = 'filters' , charts = 'charts' , ranges = 'ranges' , disabled = 'disabled' } export interface IStoreData { [ key ] : any ; } export interface IStore < T > { store ( ) : { key ( ) : EStoreKeys ; extract ( ) : IStoreData ; upload ( data , append ) : Error | undefined ; getItemsCount ( ) : number ; } ; }