/** * 从 localStorage 取值,自动 JSON.parse */ export declare const getItem: (key: string) => T | null;