export interface Store < Model > { set ( id , data ) : Promise < void > ; delete ( id ) : Promise < void > ; getOne ( id ) : Promise < Model > ; getAll ( ) : Promise < Model [ ] > ; getKeys ( ) : Promise < string [ ] > ; }