import { Ref } from 'vue'; import * as defaultCookie from 'js-cookie'; export declare type TopList = { ref: string; name: string; url?: string; apps?: { ref: string; name: string; url: string; logo: string; desc: string; version?: string; [k: string]: string | undefined; }[]; }[]; export declare const Cookie: defaultCookie.CookiesStatic; export declare const userInfoKey = "jm-navgator-user-session-key"; export declare const navInfoKey = "jm-navgator-session-key"; export declare const changeCookieEventKey = "setItemEvent"; export declare const listenCookieChaneEventRegister: (userInfo: Ref, currentUrl: Ref, currentRef: Ref, activeApp: Ref, navList: Ref) => void; export declare const routerTo: (url?: string | undefined) => string | undefined; export declare const toLogin: (loginUrl?: string | undefined) => void; export declare const getTextWidth: (text: string, fontSize: number, weight?: number) => number; export interface INavDataVo { platform: { name: string; logo: string; url: string; loginUrl: string; settingUrl: string; feeUrl: string; [k: string]: string; }; topData: TopList; bottomData?: { year?: number; name?: string; nameHref?: string; gonganBeianNo?: string; gonganBeianHref?: string; beianNo?: string; beianHref?: string; icpNo?: string; icpHref?: string; email?: string; emailHref?: string; }; otherData: { cookieDomain?: string; imgBaseUrl: string; apiBaseUrl: string; [k: string]: string | undefined; }; expires: number; } /** 获取导航栏json文件数据 */ export declare const getNavData: () => Promise; export interface IUserVo { nickName: string; ref: string; mobile: string; accountId: string; portraitKey: string; accountStatus: string; company?: string; position?: string; introduction?: string; locationCity?: string; locationProvince?: string; } export interface IAppVo { ref: string; name: string; url: string; logo: string; desc: string; version?: string; }