export type Updater = (value: any) => Promise export interface PersistentStoreAdapter { del: (key: string) => Promise get: (key: string) => Promise list: () => Promise set: (key: string, value: any) => Promise update: (key: string, updater: Updater) => Promise }