declare const useLocalStorage: (key: string, initial: T) => [T, (state: T | ((currentState: T) => T)) => void]; export default useLocalStorage;