export interface IStoreObject<T> {
[id: string]: T;
}
export default class Store<T> {
private _store;
add(id: string, data: any): void;
remove(id: string): void;
get(id: string): T;
exists(id: string): boolean;
count(): number;
getAllKeys(): string[];
getAll(): IStoreObject<T>;
}