/** * AsyncStorage adapter for @thg/vto-core's StorageAdapter interface. * * AsyncStorage is async but StorageAdapter is sync. * We pre-load values on init and write-through on set/remove. * This is safe because VTO storage is small (3 keys). */ import type { StorageAdapter } from './vto-core/index.js'; interface AsyncStorageLike { getItem(key: string): Promise; setItem(key: string, value: string): Promise; removeItem(key: string): Promise; multiGet(keys: string[]): Promise; } export declare function createAsyncStorageAdapter(asyncStorage: AsyncStorageLike): Promise; export {};