import { Dispatch, SetStateAction } from 'react';
declare type setStoredValue<T> = Dispatch<SetStateAction<T>>;
export default function useSessionStorage<T>(key: string, defaultValue: T): [T, setStoredValue<T>];
export {};
