import { IUserProfile } from '../apis/udt-types'; /** * useCurrentUserProfile 的返回类型。 * 初始状态为空对象 `{}`(所有字段均为 undefined),异步获取用户信息后字段才会被填充。 * 使用时必须通过可选链或空值合并进行安全访问,如 `userInfo?.user_id`。 * 判断是否已加载完成应使用 `if (!userInfo?.user_id)` 而非 `if (!userInfo)`(因为空对象是 truthy)。 */ export type ICompatibilityUserProfile = Partial; export declare const useCurrentUserProfile: () => Partial;