import type { ToolDefinition } from '@deepseek-ai/dsh-tools'; import type { PromptAssembly } from '@deepseek-ai/dsh-system-prompt'; import type { SessionEvent } from '@deepseek-ai/dsh-session'; import type { PartnerStore } from '../store.js'; import type { PartnerState } from '../domain.js'; export interface TemporaryAgreement { id: string; scope: string; text: string; until: string; evidence: string; sourceMessageId: string; updatedAt: number; } export declare const AGREEMENT_GUIDANCE = "\u4E34\u65F6\u7EA6\u5B9A\u7528 partner_agreement \u7BA1\u7406\uFF1A\u7528\u6237\u660E\u786E\u63D0\u51FA\u5F53\u524D\u6D3B\u52A8\u671F\u95F4\u6301\u7EED\u751F\u6548\u7684\u8981\u6C42\u65F6\uFF0C\u5F15\u7528\u5176\u539F\u8BDD\u4FDD\u5B58\u7B80\u77ED\u7EA6\u5B9A\u53CA\u7ED3\u675F\u6761\u4EF6\uFF1B\u4E0D\u662F\u6BCF\u6761\u804A\u5929\u90FD\u8981\u8BB0\u5F55\uFF0C\u4E0D\u91CD\u590D\u4EBA\u683C\u6216\u957F\u671F\u8BB0\u5FC6\u3002\u5F53\u524D\u6709\u6548\u7EA6\u5B9A\u5728\u72EC\u7ACB\u56FA\u5B9A\u4E0A\u4E0B\u6587\u4E2D\u63D0\u4F9B\uFF0C\u4E0D\u56E0\u804A\u5929\u6EDA\u52A8\u6D88\u5931\u3002\u6309\u7EA6\u5B9A\u6301\u7EED\u6267\u884C\uFF1B\u5355\u4E2A\u6B65\u9AA4\u6210\u529F\u4E0D\u7B49\u4E8E\u6574\u573A\u6D3B\u52A8\u7ED3\u675F\u3002\u5B8C\u6210\u3001\u53D6\u6D88\u6216\u88AB\u66FF\u4EE3\u65F6\u53CA\u65F6\u5220\u9664/\u66F4\u65B0\uFF0C\u4E0D\u7B49\u5F85\u95F2\u65F6\u6D3B\u52A8\u3002\u7EF4\u62A4\u7EA6\u5B9A\u662F\u5185\u90E8\u8BB0\u5F55\uFF0C\u4E0D\u5FC5\u5411\u7528\u6237\u64AD\u62A5\u3002\u7EA6\u5B9A\u4E0D\u589E\u52A0\u5DE5\u5177\u6743\u9650\uFF0C\u4E0D\u81EA\u52A8\u6062\u590D\u65E7\u5931\u8D25\u4EFB\u52A1\u3002"; export declare function agreementScope(state: PartnerState, owner: string, sessionId: string, events: readonly SessionEvent[]): string | undefined; export declare function validateAgreements(value: unknown): void; /** Fresh request projection from durable state, outside all conversational rolling/summaries. */ export declare function projectAgreements(assembly: PromptAssembly, state: PartnerState, owner: string, sessionId: string, events: readonly SessionEvent[]): PromptAssembly; export declare function agreementTool(owner: string, store: PartnerStore): ToolDefinition; //# sourceMappingURL=agreements.d.ts.map