/** typed localStorage wrapper with `radar-*` namespaced keys */ declare class Storage { /** localStorage key for user ID */ static get USER_ID(): string; /** localStorage key for device ID */ static get DEVICE_ID(): string; /** localStorage key for install ID */ static get INSTALL_ID(): string; /** localStorage key for session ID */ static get SESSION_ID(): string; /** localStorage key for user description */ static get DESCRIPTION(): string; /** localStorage key for user metadata */ static get METADATA(): string; /** localStorage key for cached location */ static get CACHED_LOCATION(): string; /** localStorage key for trip options */ static get TRIP_OPTIONS(): string; /** localStorage key for product identifier */ static get PRODUCT(): string; /** @internal get the underlying localStorage instance */ private static getStorage; /** * store a string value in localStorage * @param key - the storage key * @param value - the string value to store */ static setItem(key: string, value: string): void; /** * retrieve a string value from localStorage * @param key - the storage key * @returns the stored value, or null if not found */ static getItem(key: string): string | null; /** * retrieve and parse a JSON value from localStorage * @param key - the storage key * @returns the parsed object, or null if not found or parse fails */ static getJSON(key: string): any; /** * remove an item from localStorage * @param key - the storage key to remove */ static removeItem(key: string): null | undefined; /** clear all localStorage entries */ static clear(): null | undefined; } export default Storage;