import type { Dispatch, SetStateAction } from "react"; type UseSessionstorateStateReturnValue = [ S, Dispatch>, () => void ]; /** * useSessionstorageState hook * Tracks a value within sessionStorage and updates it * * @param {string} key - Key of the sessionStorage object * @param {any} initialState - Default initial value * @returns {[any, Dispatch>, () => void]} * @see https://rooks.vercel.app/docs/hooks/useSessionstorageState */ declare function useSessionstorageState(key: string, initialState?: S | (() => S)): UseSessionstorateStateReturnValue; export { useSessionstorageState };