export interface KVStore { get < T = unknown > ( key ) : Promise < T | undefined > ; set < T = unknown > ( key , data ) : Promise < void > ; prefix ( ) : string ; } export interface KVStoreProvider { get ( ) : Promise < { [ key ] : any ; } > ; set ( items ) : Promise < void > ; }