/** * @file * @author Auth0 https://github.com/auth0/auth0.js * @license MIT */ import { type StorageHandlerOptions, type StorageBackend } from '../../types/storage'; /** * Manages the underlying storage. Defaults to CookieStorage; uses localStorage when * force_local_storage is set. Failover chain: localStorage → CookieStorage → DummyStorage. */ export default class StorageHandler { storage: StorageBackend; constructor(options: StorageHandlerOptions); failover(): void; getItem(key: string): string | null | undefined; removeItem(key: string): void; setItem(key: string, value: string, options?: Cookies.CookieAttributes): void; }