import { BotInstance } from '../../BotInstance'; import { IntimacyIndexResponseInternal } from './intimacy.types'; export declare class IntimacyAPI { private self; constructor(self: BotInstance); /** * 获取用户亲密度 * @param userId 用户id */ index(userId: string): Promise; /** * * @param userId 用户id * @param score 亲密度,0-2200 * @param socialInfo 机器人与用户的社交信息,500 字以内 * @param imgId id必须在用户亲密度接口返回的 img_list 中 */ update(userId: string, score?: number, socialInfo?: string, imgId?: number): Promise; }