export interface IStoreObject { [id: string]: T; } export default class Store { 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; }