interface JSONStorage { getItem(key: string): T | null; setItem(key: string, value: T): void; removeItem(key: string): void; clear(): void; getAllKeys(): string[]; } declare const safeLocalStorage: JSONStorage, safeSessionStorage: JSONStorage; export { safeLocalStorage, safeSessionStorage };