import { IUserProfile } from '../apis/udt-types'; /** * 获取当前用户信息。 * 返回 Partial,因为初始值来自 window._userInfo, * 该值在运行时始终为空对象 {},所有字段均为 undefined。 * 异步获取用户信息后才会被填充为完整的 IUserProfile。 */ export declare function getCurrentUserProfile(): Partial; /** * @deprecated 请使用 getCurrentUserProfile 代替 */ export declare const getUserInfo: typeof getCurrentUserProfile;