export interface StorageAdapter { /** Retrieve a value by key. */ get(key: string): Promise; /** Store a value by key. */ put(key: string, value: T): Promise; /** Delete a stored value by key. */ del(key: string): Promise; /** List all keys that start with the given prefix. */ list(prefix?: string): Promise; } export declare class InMemoryStorageAdapter implements StorageAdapter { private store; get(key: string): Promise; put(key: string, value: T): Promise; del(key: string): Promise; list(prefix?: string): Promise; } export declare class LocalStorageAdapter implements StorageAdapter { private keyPrefix; constructor(keyPrefix?: string); private getFullKey; get(key: string): Promise; put(key: string, value: T): Promise; del(key: string): Promise; list(prefix?: string): Promise; } //# sourceMappingURL=StorageAdapter.d.ts.map