declare const getToken: () => string | null; declare const setToken: (e: string) => void; declare const clearToken: () => void; declare const getConsoleToken: () => string | null; declare const setConsoleToken: (e: string) => void; declare const clearConsoleToken: () => void; declare const getConsoleCookie: () => string | undefined; declare const setConsoleCookie: (e: string) => void; declare const clearConsoleCookie: () => void; declare const getOpenId: () => string | null; declare const setOpenId: (e: string) => void; declare const clearOpenId: () => void; declare const getUnionId: () => string | null; declare const setUnionId: (e: string) => void; declare const clearUnionId: () => void; declare const getVirtualNo: () => string | null; declare const setVirtualNo: (e: string) => void; declare const clearVirtualNo: () => void; declare const getMemNo: () => string | null; declare const setMemNo: (e: string) => void; declare const clearMemNo: () => void; declare const getAtMiniProgram: () => boolean; declare const setAtMiniProgram: (e: string) => void; declare const initToken: (ignore?: (() => boolean) | undefined) => Promise; /** * 跳转到登录页面 * app: 打开原生登录模块 * h5: 跳转到通用登录页面 */ interface ItoLogin { success?: () => void; cancel?: () => void; isBind?: boolean; redirectUrl?: string; } declare const toLogin: (appParams?: ItoLogin | undefined) => void; declare const toConsoleLogin: () => void; declare const getConsoleLoginInfo: () => any; export { getToken, setToken, clearToken, getConsoleToken, setConsoleToken, clearConsoleToken, initToken, toLogin, toConsoleLogin, getOpenId, setOpenId, clearOpenId, getUnionId, setUnionId, clearUnionId, getVirtualNo, setVirtualNo, clearVirtualNo, getMemNo, setMemNo, clearMemNo, getAtMiniProgram, setAtMiniProgram, getConsoleCookie, setConsoleCookie, clearConsoleCookie, getConsoleLoginInfo, };