export interface StorageAdapter { type?: string; get(key: string): string | null | Promise; set(key: string, value: string): void | Promise; } export function createMemoryStorage(initialState?: Map | Record): StorageAdapter; export function canUseStorage(globalRef: unknown, key: string): boolean;