import { Mode } from './types'; export declare const getAccessTokenFromUrl: () => string | null; /** * Try to get the current mode from the access token (also if expired) or from the URL params. * If no mode is found, return 'live' as optimistic default. */ export declare const getCurrentMode: ({ accessToken, }: { accessToken?: string | null; }) => Mode; export declare const removeAuthParamsFromUrl: () => void;