import { AnyCnameRecord } from 'node:dns'; import { BizKey, ModifyProfileParams, SimpleInfo, UserDetailInfoByUin } from '../entities'; import { NodeIKernelProfileListener } from '../listeners'; import { GeneralCallResult } from '@/core/services/common'; export enum UserDetailSource { KDB, KSERVER } export enum ProfileBizType { KALL, KBASEEXTEND, KVAS, KQZONE, KOTHER } export interface NodeIKernelProfileService { getUidByUin(callfrom: string, uin: Array): Promise>;//uin->uid getUinByUid(callfrom: string, uid: Array): Promise>; // { // coreInfo: CoreInfo, // baseInfo: BaseInfo, // status: null, // vasInfo: null, // relationFlags: null, // otherFlags: null, // intimate: null // } getCoreAndBaseInfo(callfrom: string, uids: string[]): Promise>; fetchUserDetailInfo(trace: string, uids: string[], arg2: number, arg3: number[]): Promise; addKernelProfileListener(listener: NodeIKernelProfileListener): number; removeKernelProfileListener(listenerId: number): void; prepareRegionConfig(...args: unknown[]): unknown; getLocalStrangerRemark(): Promise; enumCountryOptions(): Array; enumProvinceOptions(Country: string): Array; enumCityOptions(Country: string, Province: string): unknown; enumAreaOptions(...args: unknown[]): unknown; //SimpleInfo // this.uid = ""; // this.uid = str; // this.uin = j2; // this.isBuddy = z; // this.coreInfo = coreInfo; // this.baseInfo = baseInfo; // this.status = statusInfo; // this.vasInfo = vasInfo; // this.relationFlags = relationFlag; // this.otherFlags = otherFlag; // this.intimate = intimate; modifySelfProfile(...args: unknown[]): Promise; modifyDesktopMiniProfile(param: ModifyProfileParams): Promise; setNickName(NickName: string): Promise; setLongNick(longNick: string): Promise; setBirthday(...args: unknown[]): Promise; setGander(...args: unknown[]): Promise; setHeader(arg: string): Promise; setRecommendImgFlag(...args: unknown[]): Promise; getUserSimpleInfo(force: boolean, uids: string[]): Promise; getUserDetailInfo(uid: string): Promise; getUserDetailInfoWithBizInfo(uid: string, Biz: BizKey[]): Promise; getUserDetailInfoByUin(uin: string): Promise; getZplanAvatarInfos(args: string[]): Promise; getStatus(uid: string): Promise; startStatusPolling(isForceReset: boolean): Promise; getSelfStatus(): Promise; // setdisableEmojiShortCuts(...args: unknown[]): unknown; getProfileQzonePicInfo(uid: string, type: number, force: boolean): Promise; //profileService.getCoreInfo("UserRemarkServiceImpl::getStrangerRemarkByUid", arrayList); getCoreInfo(name: string, arg: any[]): unknown; //m429253e12.getOtherFlag("FriendListInfoCache_getKernelDataAndPutCache", new ArrayList<>()); isNull(): boolean; }