declare function useLocalStorage(key: string, initialValue: S | ((v: S) => S)): [S, (value: S) => void]; export default useLocalStorage;