export interface Store { create: (key: string, data: any) => Promise<{ sessionId: string; }>; createH: (hash: string, key: string, data: any) => Promise<{ sessionId: string; }>; update: (id: string, newData: any) => {}; getById(id: string): Promise; getByIdH(hash: string, key: string): Promise; getAll(hash: string): Promise; delete: (id: string) => Promise; deleteH: (hash: string, id: string) => Promise; deleteAll: (hash: string) => Promise; }