export function getItem(key: string): string | null { return localStorage.getItem(key) } export async function getItemAsync(key: string): Promise { return localStorage.getItem(key) } export function setItem(key: string, value: string): void { localStorage.setItem(key, value) } export async function setItemAsync(key: string, value: string): Promise { localStorage.setItem(key, value) } export default { getItem, getItemAsync, setItem, setItemAsync }