type UserInfoType = { id?: string | null; accountId?: string | null; plantCode?: string | null; orgId?: string | null; orgName?: string | null; deptId?: string | null; deptName?: string | null; account: { id: string | null; [key: string]: any; }; name?: string; roles?: Record[]; loginInfo?: any; customMap?: { plantCode?: string; [key: string]: any; }; currentOrgId?: string; currentOrgName?: string; simpleOrgName?: string; currentDeptId?: string; currentDeptName?: string; simpleDeptName?: string; employee: { id: string; name: string; [key: string]: any; }; }; /** * @desc 获取用户登录信息 * @return id 用户id * @return name 用户账户名 * @return orgId 机构id * @return orgName 机构全称 * @return simpleOrgName 机构简称 * @return deptId 部门id * @return deptName 部门全称 * @return simpleDeptName 部门简称 */ export default function useUserInfo(): UserInfoType; export {};