interface ILocalStorage { setItem: (key: string, value: string) => void getItem: (key: string) => string | null removeItem: (key: string) => void clear: () => void key: (index: number) => string | null } declare const getStorage: (location: string) => ILocalStorage export { ILocalStorage, getStorage }