import type { KeyValueStorageAdapter } from "../types"; export class StorageManager { constructor(private readonly adapter: KeyValueStorageAdapter) {} async get(key: string): Promise { return this.adapter.getItem(key); } async set(key: string, value: string): Promise { await this.adapter.setItem(key, value); } async remove(key: string): Promise { await this.adapter.removeItem(key); } }