declare function useSessionStorageEncoded(key: string, ttl: number): [boolean, (newValue: boolean) => void]; export default useSessionStorageEncoded;