declare function useHash(): { hashValue: string; updateHash: (newHashValue?: string) => void; }; export default useHash;