/** * @file * @author Auth0 https://github.com/auth0/auth0.js * @license MIT */ import StorageHandler from './storage/handler'; import { type StorageHandlerOptions } from '../types/storage'; /** * A wrapper around StorageHandler that handles JSON serialization/deserialization. */ export default class Storage { handler: StorageHandler; constructor(options: StorageHandlerOptions); getItem(key: string): T | null; removeItem(key: string): void; setItem(key: string, value: T, options?: Cookies.CookieAttributes): void; }