/** [ref] §2.1([ref]):`memoryCapture` 的拼写门文案。**wire 可见文本** —— 改一个字就是对端契约漂移 * (SDK/壳/文档锚它),字节冻结在 `test/api-error-text-freeze.test.ts` 的常量锚格。 */ export declare const MEMORY_CAPTURE_SPELLING_MESSAGE = "memoryCapture must be the string 'off' when present (the session-level memory-capture opt-out declaration; absent = capture as usual \u2014 there is no 'on' spelling)"; /** core [ref] r5 §5 W3(S-405):请求级「记忆整面关」`memory` 的拼写门文案。同上,wire 可见、字节冻结。 * 文案刻意点明 capture 的分工 —— 两个键都在记忆轴上、形又一模一样,拿错的人要在同一条回执里读到该用哪个。 */ export declare const MEMORY_OFF_SPELLING_MESSAGE = "memory must be the string 'off' when present (the request-level declaration that this run mounts no memory face at all; absent = memory as usual \u2014 there is no 'on' spelling; to keep memory mounted but stop this session's content from entering long-term memory, send memoryCapture: 'off' instead)"; /** * **单成员闭集键表** —— 合法值只有 `"off"`,缺席=照常,没有 `"on"`。 * * 🔴 顺序 = **裁决顺序**,且是**既存键在前**:一个两键都畸形的存量体,判决与加 `memory` 之前逐字节相同 * (新键不许改写既有体的回执)。新增同形键一律**追加在尾部**。 */ declare const SINGLE_MEMBER_OFF_FIELDS: readonly [{ readonly field: "memoryCapture"; readonly message: "memoryCapture must be the string 'off' when present (the session-level memory-capture opt-out declaration; absent = capture as usual — there is no 'on' spelling)"; }, { readonly field: "memory"; readonly message: "memory must be the string 'off' when present (the request-level declaration that this run mounts no memory face at all; absent = memory as usual — there is no 'on' spelling; to keep memory mounted but stop this session's content from entering long-term memory, send memoryCapture: 'off' instead)"; }]; /** 一次值闭集裁决的产物:出问题的键名(机读)+ 一句 wire 文案。 */ export interface SingleMemberOffFieldIssue { field: (typeof SINGLE_MEMBER_OFF_FIELDS)[number]["field"]; message: string; } /** * 单成员闭集键的值形裁决:表内任一键在场且不是字面 `"off"` ⇒ 返回拒体(调用方 400 `request.field_invalid`); * 全部合法或全部缺席 ⇒ `null`。**两腿(fresh admission / resume 重放)共用这一只**。 */ export declare function singleMemberOffFieldIssue(raw: unknown): SingleMemberOffFieldIssue | null; export {}; //# sourceMappingURL=request-value-closure.d.ts.map