/** * @file * @author Auth0 https://github.com/auth0/auth0.js * @license MIT */ import Persister from '../persister'; import { type PersisterOptions, type PersistParams } from '../../types/persister'; export default class RedirectUriParamsPersister { persister: Persister; constructor(options: PersisterOptions); /** * Clears query and hash params from redirect_uri and persists them in storage. */ persist(params: PersistParams): void; /** * Retrieves persisted query and hash params from storage and updates current location accordingly. * Params returned by global accounts overrides persisted params in case of duplications. */ retrieve(state: string): void; }