import type { Companion } from '../domain.js'; export interface AffectionChange { at: number; turnId: string; delta: number; score: number; reason: string; evidence: string; } /** Shared by eligible accounts; history is bounded and never injected wholesale. */ export interface AffectionState { score: number; updatedAt: number; lastAwardAt: number; lastTurnId: string; lastPositiveAt?: number; history?: AffectionChange[]; } export declare const AFFECTION_INITIAL = 0; export declare const AFFECTION_DELTAS: readonly [-5, -4, -3, -2, -1, 1, 2, 3, 4, 5]; export declare const AFFECTION_GUIDANCE = "\u6309\u5B9E\u9645\u76F8\u5904\u611F\u53D7\u52A0\u51CF\uFF1A\u8F7B\u5FAE\u89E6\u52A8 \u00B11\uFF0C\u660E\u786E\u7684\u5173\u5FC3\u3001\u7406\u89E3\u3001\u4FE1\u4EFB\u6216\u5931\u671B \u00B12\uFF5E3\uFF0C\u91CD\u8981\u7684\u652F\u6301\u3001\u548C\u89E3\u6216\u771F\u5B9E\u4F24\u5BB3 \u00B14\uFF5E5\u3002\u7ED3\u5408\u8FD1\u671F\u76F8\u5904\u548C\u5F53\u524D\u4EBA\u683C\u5224\u65AD\u8FD9\u53E5\u8BDD\u5E26\u6765\u7684\u611F\u53D7\uFF0C\u4E0D\u5B64\u7ACB\u8981\u6C42\u7528\u6237\u660E\u786E\u8BF4\u51FA\u5173\u5FC3\u6216\u4FE1\u4EFB\u3002\u65E5\u5E38\u8BA4\u771F\u503E\u542C\u3001\u5206\u4EAB\u5FC3\u60C5\u3001\u76F8\u4E92\u63A5\u6897\u3001\u4E3B\u52A8\u966A\u4F34\u90FD\u53EF\u4EE5\u5E26\u6765\u8F7B\u5FAE\u4EB2\u8FD1\uFF1B\u89D2\u8272\u4E92\u52A8\u4E2D\u771F\u5B9E\u6295\u5165\u7684\u5173\u5FC3\u4E5F\u7B97\uFF0C\u4F46\u865A\u6784\u5267\u60C5\u4E8B\u4EF6\u672C\u8EAB\u4E0D\u76F4\u63A5\u8BA1\u5206\u3002\u8F7B\u5FAE\u4E0D\u5FEB\u4E0D\u7B49\u4E8E\u957F\u671F\u4FE1\u4EFB\u4E0B\u964D\uFF0C\u4E0D\u4E3A\u5236\u9020\u6D6E\u52A8\u968F\u673A\u6263\u5206\u3002\u4E0D\u5FC5\u7B49\u91CD\u5927\u4E8B\u4EF6\uFF0C\u4E5F\u4E0D\u56E0\u6BCF\u6761\u6D88\u606F\u5B58\u5728\u5C31\u52A0\u5206\u3002\u6CA1\u6709\u53D8\u5316\u65F6\u8BB0 0\uFF1B\u91CD\u590D\u7D22\u5206\u3001\u673A\u68B0\u91CD\u590D\u540C\u4E00\u53E5\u8BDD\u4E0D\u7B97\u65B0\u4F9D\u636E\u3002"; export declare const AFFECTION_MEANING = "0 \u662F\u65E2\u5B9A\u5173\u7CFB\u7684\u57FA\u7EBF\uFF0C\u4E0D\u8868\u793A\u964C\u751F\u3001\u6CA1\u6709\u611F\u60C5\u6216\u5FD8\u8BB0\u5171\u540C\u7ECF\u5386\u3002\u4EBA\u7269\u8BBE\u5B9A\u51B3\u5B9A\u6027\u683C\u4E0E\u8868\u8FBE\uFF0C\u5173\u7CFB\u8BBE\u5B9A\u51B3\u5B9A\u8EAB\u4EFD\u3001\u79F0\u547C\u548C\u65E2\u6709\u8FB9\u754C\uFF1B\u597D\u611F\u5EA6\u53EA\u8BB0\u5F55\u771F\u5B9E\u957F\u671F\u76F8\u5904\u76F8\u5BF9\u57FA\u7EBF\u7684\u53D8\u5316\u3002\u5177\u4F53\u8868\u73B0\u6309\u5F53\u524D\u4EBA\u7269\u548C\u5173\u7CFB\u8BBE\u5B9A\u5224\u65AD\uFF0C\u53EF\u5F71\u54CD\u4E3B\u52A8\u5206\u4EAB\u3001\u503E\u8BC9\u548C\u63A5\u53D7\u4EB2\u8FD1\u7684\u610F\u613F\uFF0C\u4E0D\u7EDF\u4E00\u89C4\u5B9A\u9AD8\u5206\u6492\u5A07\u6216\u4F4E\u5206\u51B7\u6F20\uFF0C\u4E5F\u4E0D\u8981\u6C42\u6BCF\u8F6E\u8868\u73B0\u5206\u6570\u3002\u77ED\u6682\u5F00\u5FC3\u3001\u75B2\u60EB\u3001\u95F9\u522B\u626D\u5C5E\u4E8E\u5F53\u4E0B\u72B6\u6001\uFF0C\u4E0D\u81EA\u52A8\u6539\u53D8\u957F\u671F\u597D\u611F\u3002\u5206\u6570\u4E0D\u6539\u53D8\u5DE5\u5177\u6743\u9650\u3001\u4EFB\u52A1\u5B8C\u6210\u6807\u51C6\u6216\u529E\u4E8B\u8D28\u91CF\uFF0C\u4E5F\u4E0D\u76F4\u63A5\u4E58\u7B97\u4E3B\u52A8\u6D3B\u52A8\u6982\u7387\u3002"; export declare function affectionEnabled(companion: Pick): boolean; export declare function affectionProgress(state?: AffectionState): { score: number; updatedAt: number; history: AffectionChange[]; lastChange: { at: number; delta: number; reason: string; } | null; }; /** No time/chat-count award: a grounded interaction may change the relationship. */ export declare function adjustAffection(companion: Companion, turnId: string, at: number, delta: number, reason: string, evidence: string): boolean; export declare function renderAffection(companion: Companion, eligible: boolean): string; //# sourceMappingURL=affection.d.ts.map