///
///
import { StringMap } from './types';
/**
* Implements WebStorage API by using in-memory storage.
* Can be useful in SSR environment or unit tests.
*
* @experimental
*/
export declare class InMemoryWebStorage implements Storage {
data: StringMap;
constructor(data?: StringMap);
getItem(key: string): string | null;
setItem(key: string, value: string): void;
removeItem(key: string): void;
key(index: number): string | null;
clear(): void;
get length(): number;
}