UNPKG

304 BPlain TextView Raw
1export interface StoreServices {
2
3}
4
5export interface StoreConstructor {
6 new (options: object, api: StoreServices): StoreInstance
7}
8
9export interface StoreInstance {
10 get (key: string): Promise<string | undefined>
11 put (key: string, value: string): Promise<void>
12 del (key: string): Promise<void>
13}