export declare class StorageHelper { private static isBrowser; /** * Saves data to localStorage. * Automatically stringifies objects, arrays, booleans, and numbers. */ static set(key: string, value: any): void; /** * Retrieves data from localStorage. * Tries to parse JSON; returns string (or original type) if parsing fails. */ static get(key: string): T | string | null; /** * Removes a specific item. */ static remove(key: string): void; /** * Clears all local storage. */ static clear(): void; } export declare class SessionStorageHelper { private static isBrowser; /** * Saves data to sessionStorage. * automatically stringifies objects/arrays. */ static set(key: string, value: any): void; /** * Retrieves data from sessionStorage. * Tries to parse JSON; returns string if parsing fails. */ static get(key: string): T | string | null; /** * Removes a specific item. */ static remove(key: string): void; /** * Clears all session storage. */ static clear(): void; }