/** * @file * @author Auth0 https://github.com/auth0/auth0.js * @license MIT */ import Storage from './storage'; import { type PersisterOptions, type PersisterConfig } from '../types/persister'; export default class Persister { options: PersisterConfig; storage: Storage; constructor(options: PersisterOptions, type: string); set(state: string, data: T): void; get(state: string): T; clear(state: string): void; }