/** * localStorage 包装器 */ export interface SafeStorage { getItem: (key: string) => T | null; setItem: (key: string, value: T) => void; removeItem: (key: string) => void; clear: () => void; } export declare function safeLocalStorage(): SafeStorage;