@dreamboard-games/sdk 0.5.0-alpha.2 → 0.5.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +136 -45
  2. package/dist/chunk-DMFVAZI2.js +16 -0
  3. package/dist/chunk-DMFVAZI2.js.map +1 -0
  4. package/dist/chunk-FMM5LVJW.js +833 -0
  5. package/dist/chunk-FMM5LVJW.js.map +1 -0
  6. package/dist/{chunk-S2JEDVWH.js → chunk-LRILEVKC.js} +6113 -6489
  7. package/dist/chunk-LRILEVKC.js.map +1 -0
  8. package/dist/chunk-SP234IY4.js +1363 -0
  9. package/dist/chunk-SP234IY4.js.map +1 -0
  10. package/dist/chunk-VUWNJXLJ.js +52 -0
  11. package/dist/chunk-VUWNJXLJ.js.map +1 -0
  12. package/dist/chunk-ZPRKWPEP.js +511 -0
  13. package/dist/chunk-ZPRKWPEP.js.map +1 -0
  14. package/dist/definition-BaHNPZol.d.ts +4639 -0
  15. package/dist/diagnostics-B0lgnuZ6.d.ts +65 -0
  16. package/dist/index.d.ts +3553 -1
  17. package/dist/index.js +1045 -6
  18. package/dist/index.js.map +1 -1
  19. package/dist/model-BHro6yXu.d.ts +288 -0
  20. package/dist/react.d.ts +32 -0
  21. package/dist/react.js +80 -0
  22. package/dist/react.js.map +1 -0
  23. package/dist/reducer.d.ts +1194 -79
  24. package/dist/reducer.js +4326 -121
  25. package/dist/reducer.js.map +1 -1
  26. package/dist/testing.d.ts +518 -564
  27. package/dist/testing.js +2448 -915
  28. package/dist/testing.js.map +1 -1
  29. package/dist/types-DimqnJBq.d.ts +86 -0
  30. package/package.json +26 -131
  31. package/dist/HandView-Bi2lxzQP.d.ts +0 -79
  32. package/dist/ResourceCounter-BFxJknqp.d.ts +0 -98
  33. package/dist/ThemeProvider-CElaL2ik.d.ts +0 -99
  34. package/dist/attributes-DbvyMbXw.d.ts +0 -68
  35. package/dist/browser-interaction.d.ts +0 -910
  36. package/dist/browser-interaction.js +0 -119
  37. package/dist/browser-interaction.js.map +0 -1
  38. package/dist/chunk-32PFKDV7.js +0 -11705
  39. package/dist/chunk-32PFKDV7.js.map +0 -1
  40. package/dist/chunk-3BAD4VC2.js +0 -263
  41. package/dist/chunk-3BAD4VC2.js.map +0 -1
  42. package/dist/chunk-3SKDNDPG.js +0 -104
  43. package/dist/chunk-3SKDNDPG.js.map +0 -1
  44. package/dist/chunk-5YV2WHJ4.js +0 -25
  45. package/dist/chunk-5YV2WHJ4.js.map +0 -1
  46. package/dist/chunk-ANRB4XKA.js +0 -90
  47. package/dist/chunk-ANRB4XKA.js.map +0 -1
  48. package/dist/chunk-BI4G3PM2.js +0 -1864
  49. package/dist/chunk-BI4G3PM2.js.map +0 -1
  50. package/dist/chunk-EVCLTY4Q.js +0 -935
  51. package/dist/chunk-EVCLTY4Q.js.map +0 -1
  52. package/dist/chunk-GDPKTBUR.js +0 -564
  53. package/dist/chunk-GDPKTBUR.js.map +0 -1
  54. package/dist/chunk-H6VDGFL5.js +0 -2903
  55. package/dist/chunk-H6VDGFL5.js.map +0 -1
  56. package/dist/chunk-LR3ZTWQF.js +0 -5960
  57. package/dist/chunk-LR3ZTWQF.js.map +0 -1
  58. package/dist/chunk-PF7L4BMG.js +0 -117
  59. package/dist/chunk-PF7L4BMG.js.map +0 -1
  60. package/dist/chunk-PN5O6GG2.js +0 -32
  61. package/dist/chunk-PN5O6GG2.js.map +0 -1
  62. package/dist/chunk-PZ5AY32C.js +0 -10
  63. package/dist/chunk-PZ5AY32C.js.map +0 -1
  64. package/dist/chunk-S2JEDVWH.js.map +0 -1
  65. package/dist/chunk-T3ZKNUZ7.js +0 -1
  66. package/dist/chunk-T3ZKNUZ7.js.map +0 -1
  67. package/dist/chunk-UGH54WZ2.js +0 -223
  68. package/dist/chunk-UGH54WZ2.js.map +0 -1
  69. package/dist/chunk-VCDWP5VL.js +0 -746
  70. package/dist/chunk-VCDWP5VL.js.map +0 -1
  71. package/dist/chunk-VDXOF4FW.js +0 -69
  72. package/dist/chunk-VDXOF4FW.js.map +0 -1
  73. package/dist/chunk-WHR5UW3F.js +0 -1988
  74. package/dist/chunk-WHR5UW3F.js.map +0 -1
  75. package/dist/chunk-Y75CFE77.js +0 -17
  76. package/dist/chunk-Y75CFE77.js.map +0 -1
  77. package/dist/chunk-Z7QCREWI.js +0 -3435
  78. package/dist/chunk-Z7QCREWI.js.map +0 -1
  79. package/dist/chunk-ZZGN2ATS.js +0 -1941
  80. package/dist/chunk-ZZGN2ATS.js.map +0 -1
  81. package/dist/components-gAbIz7hK.d.ts +0 -1284
  82. package/dist/definitions-BgmV_GhC.d.ts +0 -300
  83. package/dist/diagnostics-DIi3ina7.d.ts +0 -50
  84. package/dist/digest.d.ts +0 -8
  85. package/dist/game-CsZScpcn.d.ts +0 -763
  86. package/dist/hex-board-view-aKkblDp6.d.ts +0 -1228
  87. package/dist/index-CcT9Q7N7.d.ts +0 -193
  88. package/dist/index.d-DjzoK7zn.d.ts +0 -2101
  89. package/dist/package-set.d.ts +0 -13
  90. package/dist/package-set.js +0 -12
  91. package/dist/package-set.js.map +0 -1
  92. package/dist/player-state-Cqpyeql0.d.ts +0 -371
  93. package/dist/plugin-runtime-contract.d.ts +0 -17
  94. package/dist/plugin-runtime-contract.js +0 -92
  95. package/dist/plugin-runtime-contract.js.map +0 -1
  96. package/dist/primitive-props-BNHDkgd7.d.ts +0 -16
  97. package/dist/protocol-dYgafTYY.d.ts +0 -314
  98. package/dist/reducer/advanced.d.ts +0 -82
  99. package/dist/reducer/advanced.js +0 -51
  100. package/dist/reducer/advanced.js.map +0 -1
  101. package/dist/reducer-contract.d.ts +0 -11
  102. package/dist/reducer-contract.js +0 -16
  103. package/dist/reducer-contract.js.map +0 -1
  104. package/dist/reference-games/index.d.ts +0 -31
  105. package/dist/reference-games/index.js +0 -48
  106. package/dist/reference-games/index.js.map +0 -1
  107. package/dist/runtime/primitives.d.ts +0 -250
  108. package/dist/runtime/primitives.js +0 -189
  109. package/dist/runtime/primitives.js.map +0 -1
  110. package/dist/runtime/runtime-api.d.ts +0 -2
  111. package/dist/runtime/runtime-api.js +0 -1
  112. package/dist/runtime/runtime-api.js.map +0 -1
  113. package/dist/runtime/workspace-contract.d.ts +0 -392
  114. package/dist/runtime/workspace-contract.js +0 -28
  115. package/dist/runtime/workspace-contract.js.map +0 -1
  116. package/dist/runtime-RJ5orDJU.d.ts +0 -1699
  117. package/dist/runtime-api-Bz5pwNU_.d.ts +0 -296
  118. package/dist/runtime-json-CQ9QbLZ5.d.ts +0 -5
  119. package/dist/runtime.d.ts +0 -83
  120. package/dist/runtime.js +0 -242
  121. package/dist/runtime.js.map +0 -1
  122. package/dist/schema.d.ts +0 -379
  123. package/dist/stale-contract-artifact-error-XLaweZtF.d.ts +0 -18
  124. package/dist/testing-compiler.d.ts +0 -37
  125. package/dist/testing-compiler.js +0 -272
  126. package/dist/testing-compiler.js.map +0 -1
  127. package/dist/testing-runtime.d.ts +0 -119
  128. package/dist/testing-runtime.js +0 -212
  129. package/dist/testing-runtime.js.map +0 -1
  130. package/dist/types-DJj5MJkl.d.ts +0 -256
  131. package/dist/types-DR7DoB1x.d.ts +0 -28
  132. package/dist/types-JWCYHmu7.d.ts +0 -122
  133. package/dist/types.d.ts +0 -1958
  134. package/dist/types.js +0 -14
  135. package/dist/types.js.map +0 -1
  136. package/dist/ui/components.d.ts +0 -17
  137. package/dist/ui/components.js +0 -216
  138. package/dist/ui/components.js.map +0 -1
  139. package/dist/ui/defaults.d.ts +0 -19
  140. package/dist/ui/defaults.js +0 -104
  141. package/dist/ui/defaults.js.map +0 -1
  142. package/dist/ui/player-state.d.ts +0 -2
  143. package/dist/ui/player-state.js +0 -1
  144. package/dist/ui/player-state.js.map +0 -1
  145. package/dist/ui/plugin-styles.css +0 -2
  146. package/dist/ui-contract-GTUPkf8z.d.ts +0 -1168
  147. package/dist/ui.d.ts +0 -317
  148. package/dist/ui.js +0 -277
  149. package/dist/ui.js.map +0 -1
  150. package/dist/views-BpuWcOyN.d.ts +0 -1641
@@ -1,910 +0,0 @@
1
- import { k as BrowserInteractionEffectPattern, K as BrowserInteractionSurfaceEffect, N as CanonicalBrowserInteractionValue, X as GameplaySemanticEffect, J as BrowserInteractionSurfaceDefinition, A as BrowserInteractionRegistry, I as BrowserInteractionSurface, q as BrowserInteractionIntent, g as BrowserInteractionActuator, L as BrowserInteractionSurfaceSnapshot, G as BrowserInteractionSemanticSurfaceSnapshot, y as BrowserInteractionRawRecord, H as BrowserInteractionSnapshot, s as BrowserInteractionPointerTarget, h as BrowserInteractionActuatorKind, j as BrowserInteractionDiagnostic, l as BrowserInteractionEffectRequest, m as BrowserInteractionEffectResolution, r as BrowserInteractionIntentRequest, C as BrowserInteractionResolution, t as BrowserInteractionPointerTargetResolution } from './types-DJj5MJkl.js';
2
- export { B as BROWSER_INTERACTION_ACTUATOR_KINDS, a as BROWSER_INTERACTION_ATTRIBUTES, b as BROWSER_INTERACTION_CANDIDATE_STATES, c as BROWSER_INTERACTION_READINESS_VALUES, d as BROWSER_INTERACTION_RECORD_ROLES, e as BrowserGameplayInteraction, f as BrowserGameplaySurfaceSnapshot, i as BrowserInteractionCandidateState, n as BrowserInteractionEffectResolutionFailure, o as BrowserInteractionEffectResolutionSuccess, p as BrowserInteractionEntity, u as BrowserInteractionPointerTargetResolutionFailure, v as BrowserInteractionPointerTargetResolutionSuccess, w as BrowserInteractionPreparationTarget, x as BrowserInteractionProtocolIdentity, z as BrowserInteractionReadiness, D as BrowserInteractionResolutionFailure, E as BrowserInteractionResolutionSuccess, F as BrowserInteractionScalarPattern, M as BrowserInteractionUnknownSurfaceSnapshot, O as DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_NAME, P as DREAMBOARD_BROWSER_INTERACTION_PROTOCOL_VERSION, Q as GAMEPLAY_BROWSER_INTERACTION_EFFECT_KINDS, R as GAMEPLAY_BROWSER_INTERACTION_INTENTS, S as GAMEPLAY_BROWSER_INTERACTION_SURFACE, T as GameplayBrowserInteractionEffectKind, U as GameplayBrowserInteractionEffectRequest, V as GameplayBrowserInteractionIntent, W as GameplayBrowserInteractionSurface, Y as GameplaySemanticEffectPattern, Z as compareStableJson, _ as decodeCanonicalCandidateValue, $ as encodeCanonicalCandidateValue } from './types-DJj5MJkl.js';
3
- export { B as BrowserInteractionActuatorAttributesInput, a as BrowserInteractionAttributeMap, b as BrowserInteractionPointerTargetAttributesInput, c as BrowserInteractionRootAttributesInput, G as GameplayActuatorAttributesInput, d as GameplayInteractionRootAttributesInput, e as GameplayPointerTargetAttributesInput, f as createBrowserInteractionActuatorAttributes, g as createBrowserInteractionActuatorKey, h as createBrowserInteractionPointerTargetAttributes, i as createBrowserInteractionRootAttributes, j as createGameplayActuatorAttributes, k as createGameplayInteractionRootAttributes, l as createGameplayPointerTargetAttributes } from './attributes-DbvyMbXw.js';
4
- import { R as RuntimeJson } from './runtime-json-CQ9QbLZ5.js';
5
- import { z } from 'zod';
6
-
7
- declare function encodeBrowserInteractionEffect(effect: BrowserInteractionSurfaceEffect): string;
8
- declare function decodeBrowserInteractionEffect(encoded: string): BrowserInteractionSurfaceEffect;
9
- declare function encodeBrowserInteractionEffectPattern(pattern: BrowserInteractionEffectPattern): string;
10
- declare function decodeBrowserInteractionEffectPattern(encoded: string): BrowserInteractionEffectPattern;
11
- declare function browserInteractionEffectPatternMatches(pattern: BrowserInteractionEffectPattern, effect: BrowserInteractionSurfaceEffect): boolean;
12
- declare function assertBrowserInteractionEffectPattern(value: unknown): asserts value is BrowserInteractionEffectPattern;
13
- declare function gameplaySetCandidateEffect(input: {
14
- readonly inputKey: string;
15
- readonly candidateValue: CanonicalBrowserInteractionValue;
16
- readonly beforeSelected: boolean;
17
- readonly afterSelected: boolean;
18
- }): GameplaySemanticEffect;
19
- declare function gameplayAdjustResourceEffect(input: {
20
- readonly inputKey: string;
21
- readonly resourceKey: CanonicalBrowserInteractionValue;
22
- readonly delta: -1 | 1;
23
- }): GameplaySemanticEffect;
24
- declare function gameplaySetScalarEffect(input: {
25
- readonly inputKey: string;
26
- readonly value: number;
27
- }): GameplaySemanticEffect;
28
- declare function gameplayCommitEffect(): GameplaySemanticEffect;
29
- declare function gameplayInvokeEffect(): GameplaySemanticEffect;
30
-
31
- declare function defineBrowserInteractionSurface<Surface extends BrowserInteractionSurface, Intent extends BrowserInteractionIntent>(definition: BrowserInteractionSurfaceDefinition<Surface, Intent>): BrowserInteractionSurfaceDefinition<Surface, Intent>;
32
- declare const gameplayBrowserInteractionSurface: BrowserInteractionSurfaceDefinition<"gameplay", "arm" | "reveal" | "invoke" | "select" | "toggle" | "increment" | "decrement" | "fill" | "submit", string>;
33
- declare function createBrowserInteractionRegistry(definitions?: readonly BrowserInteractionSurfaceDefinition[]): BrowserInteractionRegistry;
34
- declare const defaultBrowserInteractionRegistry: BrowserInteractionRegistry;
35
-
36
- interface NormalizeBrowserInteractionRecordsOptions {
37
- readonly registry?: BrowserInteractionRegistry;
38
- }
39
- declare function normalizeBrowserInteractionRecords(records: readonly BrowserInteractionRawRecord[], options?: NormalizeBrowserInteractionRecordsOptions): BrowserInteractionSnapshot;
40
- declare function validateBrowserInteractionSnapshot(snapshot: BrowserInteractionSnapshot): readonly BrowserInteractionDiagnostic[];
41
- declare function actuatorIdentityKey(input: {
42
- readonly surface: string;
43
- readonly scopeId: string;
44
- readonly interactionKey: string;
45
- readonly actuator: Pick<BrowserInteractionActuator, "intent" | "inputKey" | "candidateValueKey" | "actuatorKind">;
46
- }): string;
47
- declare function pointerTargetIdentityKey(input: {
48
- readonly surface: string;
49
- readonly scopeId: string;
50
- readonly interactionKey: string;
51
- readonly pointerTarget: Pick<BrowserInteractionPointerTarget, "targetId">;
52
- }): string;
53
- declare function isSemanticSurfaceSnapshot(surface: BrowserInteractionSurfaceSnapshot): surface is BrowserInteractionSemanticSurfaceSnapshot;
54
- declare function targetIdentityKey(input: {
55
- readonly surface: string;
56
- readonly scopeId: string;
57
- readonly interactionKey: string;
58
- readonly target: {
59
- readonly intent: string;
60
- readonly inputKey?: string;
61
- readonly candidateValueKey?: string;
62
- readonly actuatorKind?: BrowserInteractionActuatorKind;
63
- };
64
- }): string;
65
-
66
- declare function resolveBrowserInteractionIntent(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionIntentRequest): BrowserInteractionResolution;
67
- declare function resolveBrowserInteractionEffect(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionEffectRequest): BrowserInteractionEffectResolution;
68
- declare function resolveBrowserPointerTarget(snapshot: BrowserInteractionSnapshot, request: BrowserInteractionEffectRequest): BrowserInteractionPointerTargetResolution;
69
-
70
- declare function readBrowserInteractionSnapshot(root: ParentNode): BrowserInteractionSnapshot;
71
-
72
- declare const browserInteractionEffectSchema: z.ZodObject<{
73
- kind: z.ZodString;
74
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
75
- declare const browserInteractionEffectPatternSchema: z.ZodUnion<readonly [z.ZodObject<{
76
- kind: z.ZodLiteral<"exact">;
77
- effect: z.ZodObject<{
78
- kind: z.ZodString;
79
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
80
- }, z.core.$strip>, z.ZodObject<{
81
- kind: z.ZodLiteral<"match">;
82
- effectKind: z.ZodString;
83
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
84
- scalar: z.ZodOptional<z.ZodObject<{
85
- field: z.ZodString;
86
- min: z.ZodOptional<z.ZodNumber>;
87
- max: z.ZodOptional<z.ZodNumber>;
88
- integer: z.ZodOptional<z.ZodBoolean>;
89
- }, z.core.$strip>>;
90
- }, z.core.$strip>]>;
91
- declare const gameplaySemanticEffectSchema: z.ZodUnion<readonly [z.ZodObject<{
92
- kind: z.ZodLiteral<"setCandidate">;
93
- inputKey: z.ZodString;
94
- candidateValue: z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>;
95
- beforeSelected: z.ZodBoolean;
96
- afterSelected: z.ZodBoolean;
97
- }, z.core.$strip>, z.ZodObject<{
98
- kind: z.ZodLiteral<"adjustResource">;
99
- inputKey: z.ZodString;
100
- resourceKey: z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>;
101
- delta: z.ZodUnion<readonly [z.ZodLiteral<-1>, z.ZodLiteral<1>]>;
102
- }, z.core.$strip>, z.ZodObject<{
103
- kind: z.ZodLiteral<"setScalar">;
104
- inputKey: z.ZodString;
105
- value: z.ZodNumber;
106
- }, z.core.$strip>, z.ZodObject<{
107
- kind: z.ZodLiteral<"commit">;
108
- }, z.core.$strip>, z.ZodObject<{
109
- kind: z.ZodLiteral<"invoke">;
110
- }, z.core.$strip>]>;
111
- declare const browserInteractionDiagnosticSchema: z.ZodObject<{
112
- code: z.ZodString;
113
- severity: z.ZodEnum<{
114
- error: "error";
115
- warning: "warning";
116
- }>;
117
- message: z.ZodString;
118
- surface: z.ZodOptional<z.ZodString>;
119
- scopeId: z.ZodOptional<z.ZodString>;
120
- interactionKey: z.ZodOptional<z.ZodString>;
121
- intent: z.ZodOptional<z.ZodString>;
122
- actuatorId: z.ZodOptional<z.ZodString>;
123
- targetId: z.ZodOptional<z.ZodString>;
124
- }, z.core.$strip>;
125
- declare const browserInteractionActuatorSchema: z.ZodObject<{
126
- actuatorId: z.ZodString;
127
- intent: z.ZodString;
128
- inputKey: z.ZodOptional<z.ZodString>;
129
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
130
- candidateValueKey: z.ZodOptional<z.ZodString>;
131
- candidateState: z.ZodOptional<z.ZodEnum<{
132
- selected: "selected";
133
- unselected: "unselected";
134
- mixed: "mixed";
135
- }>>;
136
- enabled: z.ZodBoolean;
137
- actuatorKind: z.ZodEnum<{
138
- fill: "fill";
139
- click: "click";
140
- keyboard: "keyboard";
141
- pointer: "pointer";
142
- }>;
143
- semanticEffects: z.ZodArray<z.ZodObject<{
144
- kind: z.ZodString;
145
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
146
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
147
- kind: z.ZodLiteral<"exact">;
148
- effect: z.ZodObject<{
149
- kind: z.ZodString;
150
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
151
- }, z.core.$strip>, z.ZodObject<{
152
- kind: z.ZodLiteral<"match">;
153
- effectKind: z.ZodString;
154
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
155
- scalar: z.ZodOptional<z.ZodObject<{
156
- field: z.ZodString;
157
- min: z.ZodOptional<z.ZodNumber>;
158
- max: z.ZodOptional<z.ZodNumber>;
159
- integer: z.ZodOptional<z.ZodBoolean>;
160
- }, z.core.$strip>>;
161
- }, z.core.$strip>]>>;
162
- preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
163
- kind: z.ZodLiteral<"exact">;
164
- effect: z.ZodObject<{
165
- kind: z.ZodString;
166
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
167
- }, z.core.$strip>, z.ZodObject<{
168
- kind: z.ZodLiteral<"match">;
169
- effectKind: z.ZodString;
170
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
171
- scalar: z.ZodOptional<z.ZodObject<{
172
- field: z.ZodString;
173
- min: z.ZodOptional<z.ZodNumber>;
174
- max: z.ZodOptional<z.ZodNumber>;
175
- integer: z.ZodOptional<z.ZodBoolean>;
176
- }, z.core.$strip>>;
177
- }, z.core.$strip>]>>;
178
- prepares: z.ZodOptional<z.ZodObject<{
179
- intent: z.ZodString;
180
- inputKey: z.ZodOptional<z.ZodString>;
181
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
182
- candidateValueKey: z.ZodOptional<z.ZodString>;
183
- actuatorKind: z.ZodOptional<z.ZodEnum<{
184
- fill: "fill";
185
- click: "click";
186
- keyboard: "keyboard";
187
- pointer: "pointer";
188
- }>>;
189
- }, z.core.$strip>>;
190
- diagnostics: z.ZodArray<z.ZodObject<{
191
- code: z.ZodString;
192
- severity: z.ZodEnum<{
193
- error: "error";
194
- warning: "warning";
195
- }>;
196
- message: z.ZodString;
197
- surface: z.ZodOptional<z.ZodString>;
198
- scopeId: z.ZodOptional<z.ZodString>;
199
- interactionKey: z.ZodOptional<z.ZodString>;
200
- intent: z.ZodOptional<z.ZodString>;
201
- actuatorId: z.ZodOptional<z.ZodString>;
202
- targetId: z.ZodOptional<z.ZodString>;
203
- }, z.core.$strip>>;
204
- }, z.core.$strip>;
205
- declare const browserInteractionPointerTargetSchema: z.ZodObject<{
206
- targetId: z.ZodString;
207
- enabled: z.ZodBoolean;
208
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
209
- kind: z.ZodLiteral<"exact">;
210
- effect: z.ZodObject<{
211
- kind: z.ZodString;
212
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
213
- }, z.core.$strip>, z.ZodObject<{
214
- kind: z.ZodLiteral<"match">;
215
- effectKind: z.ZodString;
216
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
217
- scalar: z.ZodOptional<z.ZodObject<{
218
- field: z.ZodString;
219
- min: z.ZodOptional<z.ZodNumber>;
220
- max: z.ZodOptional<z.ZodNumber>;
221
- integer: z.ZodOptional<z.ZodBoolean>;
222
- }, z.core.$strip>>;
223
- }, z.core.$strip>]>>;
224
- descriptorDigest: z.ZodOptional<z.ZodString>;
225
- diagnostics: z.ZodArray<z.ZodObject<{
226
- code: z.ZodString;
227
- severity: z.ZodEnum<{
228
- error: "error";
229
- warning: "warning";
230
- }>;
231
- message: z.ZodString;
232
- surface: z.ZodOptional<z.ZodString>;
233
- scopeId: z.ZodOptional<z.ZodString>;
234
- interactionKey: z.ZodOptional<z.ZodString>;
235
- intent: z.ZodOptional<z.ZodString>;
236
- actuatorId: z.ZodOptional<z.ZodString>;
237
- targetId: z.ZodOptional<z.ZodString>;
238
- }, z.core.$strip>>;
239
- }, z.core.$strip>;
240
- declare const browserGameplayInteractionSchema: z.ZodObject<{
241
- interactionKey: z.ZodString;
242
- interactionId: z.ZodString;
243
- descriptorDigest: z.ZodOptional<z.ZodString>;
244
- draftDigest: z.ZodOptional<z.ZodString>;
245
- readiness: z.ZodEnum<{
246
- ready: "ready";
247
- blocked: "blocked";
248
- unavailable: "unavailable";
249
- }>;
250
- actuators: z.ZodArray<z.ZodObject<{
251
- actuatorId: z.ZodString;
252
- intent: z.ZodString;
253
- inputKey: z.ZodOptional<z.ZodString>;
254
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
255
- candidateValueKey: z.ZodOptional<z.ZodString>;
256
- candidateState: z.ZodOptional<z.ZodEnum<{
257
- selected: "selected";
258
- unselected: "unselected";
259
- mixed: "mixed";
260
- }>>;
261
- enabled: z.ZodBoolean;
262
- actuatorKind: z.ZodEnum<{
263
- fill: "fill";
264
- click: "click";
265
- keyboard: "keyboard";
266
- pointer: "pointer";
267
- }>;
268
- semanticEffects: z.ZodArray<z.ZodObject<{
269
- kind: z.ZodString;
270
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
271
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
272
- kind: z.ZodLiteral<"exact">;
273
- effect: z.ZodObject<{
274
- kind: z.ZodString;
275
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
276
- }, z.core.$strip>, z.ZodObject<{
277
- kind: z.ZodLiteral<"match">;
278
- effectKind: z.ZodString;
279
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
280
- scalar: z.ZodOptional<z.ZodObject<{
281
- field: z.ZodString;
282
- min: z.ZodOptional<z.ZodNumber>;
283
- max: z.ZodOptional<z.ZodNumber>;
284
- integer: z.ZodOptional<z.ZodBoolean>;
285
- }, z.core.$strip>>;
286
- }, z.core.$strip>]>>;
287
- preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
288
- kind: z.ZodLiteral<"exact">;
289
- effect: z.ZodObject<{
290
- kind: z.ZodString;
291
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
292
- }, z.core.$strip>, z.ZodObject<{
293
- kind: z.ZodLiteral<"match">;
294
- effectKind: z.ZodString;
295
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
296
- scalar: z.ZodOptional<z.ZodObject<{
297
- field: z.ZodString;
298
- min: z.ZodOptional<z.ZodNumber>;
299
- max: z.ZodOptional<z.ZodNumber>;
300
- integer: z.ZodOptional<z.ZodBoolean>;
301
- }, z.core.$strip>>;
302
- }, z.core.$strip>]>>;
303
- prepares: z.ZodOptional<z.ZodObject<{
304
- intent: z.ZodString;
305
- inputKey: z.ZodOptional<z.ZodString>;
306
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
307
- candidateValueKey: z.ZodOptional<z.ZodString>;
308
- actuatorKind: z.ZodOptional<z.ZodEnum<{
309
- fill: "fill";
310
- click: "click";
311
- keyboard: "keyboard";
312
- pointer: "pointer";
313
- }>>;
314
- }, z.core.$strip>>;
315
- diagnostics: z.ZodArray<z.ZodObject<{
316
- code: z.ZodString;
317
- severity: z.ZodEnum<{
318
- error: "error";
319
- warning: "warning";
320
- }>;
321
- message: z.ZodString;
322
- surface: z.ZodOptional<z.ZodString>;
323
- scopeId: z.ZodOptional<z.ZodString>;
324
- interactionKey: z.ZodOptional<z.ZodString>;
325
- intent: z.ZodOptional<z.ZodString>;
326
- actuatorId: z.ZodOptional<z.ZodString>;
327
- targetId: z.ZodOptional<z.ZodString>;
328
- }, z.core.$strip>>;
329
- }, z.core.$strip>>;
330
- pointerTargets: z.ZodArray<z.ZodObject<{
331
- targetId: z.ZodString;
332
- enabled: z.ZodBoolean;
333
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
334
- kind: z.ZodLiteral<"exact">;
335
- effect: z.ZodObject<{
336
- kind: z.ZodString;
337
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
338
- }, z.core.$strip>, z.ZodObject<{
339
- kind: z.ZodLiteral<"match">;
340
- effectKind: z.ZodString;
341
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
342
- scalar: z.ZodOptional<z.ZodObject<{
343
- field: z.ZodString;
344
- min: z.ZodOptional<z.ZodNumber>;
345
- max: z.ZodOptional<z.ZodNumber>;
346
- integer: z.ZodOptional<z.ZodBoolean>;
347
- }, z.core.$strip>>;
348
- }, z.core.$strip>]>>;
349
- descriptorDigest: z.ZodOptional<z.ZodString>;
350
- diagnostics: z.ZodArray<z.ZodObject<{
351
- code: z.ZodString;
352
- severity: z.ZodEnum<{
353
- error: "error";
354
- warning: "warning";
355
- }>;
356
- message: z.ZodString;
357
- surface: z.ZodOptional<z.ZodString>;
358
- scopeId: z.ZodOptional<z.ZodString>;
359
- interactionKey: z.ZodOptional<z.ZodString>;
360
- intent: z.ZodOptional<z.ZodString>;
361
- actuatorId: z.ZodOptional<z.ZodString>;
362
- targetId: z.ZodOptional<z.ZodString>;
363
- }, z.core.$strip>>;
364
- }, z.core.$strip>>;
365
- diagnostics: z.ZodArray<z.ZodObject<{
366
- code: z.ZodString;
367
- severity: z.ZodEnum<{
368
- error: "error";
369
- warning: "warning";
370
- }>;
371
- message: z.ZodString;
372
- surface: z.ZodOptional<z.ZodString>;
373
- scopeId: z.ZodOptional<z.ZodString>;
374
- interactionKey: z.ZodOptional<z.ZodString>;
375
- intent: z.ZodOptional<z.ZodString>;
376
- actuatorId: z.ZodOptional<z.ZodString>;
377
- targetId: z.ZodOptional<z.ZodString>;
378
- }, z.core.$strip>>;
379
- }, z.core.$strip>;
380
- declare const browserGameplaySurfaceSnapshotSchema: z.ZodObject<{
381
- surface: z.ZodLiteral<"gameplay">;
382
- scopeId: z.ZodString;
383
- interactions: z.ZodArray<z.ZodObject<{
384
- interactionKey: z.ZodString;
385
- interactionId: z.ZodString;
386
- descriptorDigest: z.ZodOptional<z.ZodString>;
387
- draftDigest: z.ZodOptional<z.ZodString>;
388
- readiness: z.ZodEnum<{
389
- ready: "ready";
390
- blocked: "blocked";
391
- unavailable: "unavailable";
392
- }>;
393
- actuators: z.ZodArray<z.ZodObject<{
394
- actuatorId: z.ZodString;
395
- intent: z.ZodString;
396
- inputKey: z.ZodOptional<z.ZodString>;
397
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
398
- candidateValueKey: z.ZodOptional<z.ZodString>;
399
- candidateState: z.ZodOptional<z.ZodEnum<{
400
- selected: "selected";
401
- unselected: "unselected";
402
- mixed: "mixed";
403
- }>>;
404
- enabled: z.ZodBoolean;
405
- actuatorKind: z.ZodEnum<{
406
- fill: "fill";
407
- click: "click";
408
- keyboard: "keyboard";
409
- pointer: "pointer";
410
- }>;
411
- semanticEffects: z.ZodArray<z.ZodObject<{
412
- kind: z.ZodString;
413
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
414
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
415
- kind: z.ZodLiteral<"exact">;
416
- effect: z.ZodObject<{
417
- kind: z.ZodString;
418
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
419
- }, z.core.$strip>, z.ZodObject<{
420
- kind: z.ZodLiteral<"match">;
421
- effectKind: z.ZodString;
422
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
423
- scalar: z.ZodOptional<z.ZodObject<{
424
- field: z.ZodString;
425
- min: z.ZodOptional<z.ZodNumber>;
426
- max: z.ZodOptional<z.ZodNumber>;
427
- integer: z.ZodOptional<z.ZodBoolean>;
428
- }, z.core.$strip>>;
429
- }, z.core.$strip>]>>;
430
- preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
431
- kind: z.ZodLiteral<"exact">;
432
- effect: z.ZodObject<{
433
- kind: z.ZodString;
434
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
435
- }, z.core.$strip>, z.ZodObject<{
436
- kind: z.ZodLiteral<"match">;
437
- effectKind: z.ZodString;
438
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
439
- scalar: z.ZodOptional<z.ZodObject<{
440
- field: z.ZodString;
441
- min: z.ZodOptional<z.ZodNumber>;
442
- max: z.ZodOptional<z.ZodNumber>;
443
- integer: z.ZodOptional<z.ZodBoolean>;
444
- }, z.core.$strip>>;
445
- }, z.core.$strip>]>>;
446
- prepares: z.ZodOptional<z.ZodObject<{
447
- intent: z.ZodString;
448
- inputKey: z.ZodOptional<z.ZodString>;
449
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
450
- candidateValueKey: z.ZodOptional<z.ZodString>;
451
- actuatorKind: z.ZodOptional<z.ZodEnum<{
452
- fill: "fill";
453
- click: "click";
454
- keyboard: "keyboard";
455
- pointer: "pointer";
456
- }>>;
457
- }, z.core.$strip>>;
458
- diagnostics: z.ZodArray<z.ZodObject<{
459
- code: z.ZodString;
460
- severity: z.ZodEnum<{
461
- error: "error";
462
- warning: "warning";
463
- }>;
464
- message: z.ZodString;
465
- surface: z.ZodOptional<z.ZodString>;
466
- scopeId: z.ZodOptional<z.ZodString>;
467
- interactionKey: z.ZodOptional<z.ZodString>;
468
- intent: z.ZodOptional<z.ZodString>;
469
- actuatorId: z.ZodOptional<z.ZodString>;
470
- targetId: z.ZodOptional<z.ZodString>;
471
- }, z.core.$strip>>;
472
- }, z.core.$strip>>;
473
- pointerTargets: z.ZodArray<z.ZodObject<{
474
- targetId: z.ZodString;
475
- enabled: z.ZodBoolean;
476
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
477
- kind: z.ZodLiteral<"exact">;
478
- effect: z.ZodObject<{
479
- kind: z.ZodString;
480
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
481
- }, z.core.$strip>, z.ZodObject<{
482
- kind: z.ZodLiteral<"match">;
483
- effectKind: z.ZodString;
484
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
485
- scalar: z.ZodOptional<z.ZodObject<{
486
- field: z.ZodString;
487
- min: z.ZodOptional<z.ZodNumber>;
488
- max: z.ZodOptional<z.ZodNumber>;
489
- integer: z.ZodOptional<z.ZodBoolean>;
490
- }, z.core.$strip>>;
491
- }, z.core.$strip>]>>;
492
- descriptorDigest: z.ZodOptional<z.ZodString>;
493
- diagnostics: z.ZodArray<z.ZodObject<{
494
- code: z.ZodString;
495
- severity: z.ZodEnum<{
496
- error: "error";
497
- warning: "warning";
498
- }>;
499
- message: z.ZodString;
500
- surface: z.ZodOptional<z.ZodString>;
501
- scopeId: z.ZodOptional<z.ZodString>;
502
- interactionKey: z.ZodOptional<z.ZodString>;
503
- intent: z.ZodOptional<z.ZodString>;
504
- actuatorId: z.ZodOptional<z.ZodString>;
505
- targetId: z.ZodOptional<z.ZodString>;
506
- }, z.core.$strip>>;
507
- }, z.core.$strip>>;
508
- diagnostics: z.ZodArray<z.ZodObject<{
509
- code: z.ZodString;
510
- severity: z.ZodEnum<{
511
- error: "error";
512
- warning: "warning";
513
- }>;
514
- message: z.ZodString;
515
- surface: z.ZodOptional<z.ZodString>;
516
- scopeId: z.ZodOptional<z.ZodString>;
517
- interactionKey: z.ZodOptional<z.ZodString>;
518
- intent: z.ZodOptional<z.ZodString>;
519
- actuatorId: z.ZodOptional<z.ZodString>;
520
- targetId: z.ZodOptional<z.ZodString>;
521
- }, z.core.$strip>>;
522
- }, z.core.$strip>>;
523
- diagnostics: z.ZodArray<z.ZodObject<{
524
- code: z.ZodString;
525
- severity: z.ZodEnum<{
526
- error: "error";
527
- warning: "warning";
528
- }>;
529
- message: z.ZodString;
530
- surface: z.ZodOptional<z.ZodString>;
531
- scopeId: z.ZodOptional<z.ZodString>;
532
- interactionKey: z.ZodOptional<z.ZodString>;
533
- intent: z.ZodOptional<z.ZodString>;
534
- actuatorId: z.ZodOptional<z.ZodString>;
535
- targetId: z.ZodOptional<z.ZodString>;
536
- }, z.core.$strip>>;
537
- }, z.core.$strip>;
538
- declare const browserSemanticSurfaceSnapshotSchema: z.ZodObject<{
539
- surface: z.ZodString;
540
- scopeId: z.ZodString;
541
- interactions: z.ZodArray<z.ZodObject<{
542
- interactionKey: z.ZodString;
543
- interactionId: z.ZodString;
544
- descriptorDigest: z.ZodOptional<z.ZodString>;
545
- draftDigest: z.ZodOptional<z.ZodString>;
546
- readiness: z.ZodEnum<{
547
- ready: "ready";
548
- blocked: "blocked";
549
- unavailable: "unavailable";
550
- }>;
551
- actuators: z.ZodArray<z.ZodObject<{
552
- actuatorId: z.ZodString;
553
- intent: z.ZodString;
554
- inputKey: z.ZodOptional<z.ZodString>;
555
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
556
- candidateValueKey: z.ZodOptional<z.ZodString>;
557
- candidateState: z.ZodOptional<z.ZodEnum<{
558
- selected: "selected";
559
- unselected: "unselected";
560
- mixed: "mixed";
561
- }>>;
562
- enabled: z.ZodBoolean;
563
- actuatorKind: z.ZodEnum<{
564
- fill: "fill";
565
- click: "click";
566
- keyboard: "keyboard";
567
- pointer: "pointer";
568
- }>;
569
- semanticEffects: z.ZodArray<z.ZodObject<{
570
- kind: z.ZodString;
571
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
572
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
573
- kind: z.ZodLiteral<"exact">;
574
- effect: z.ZodObject<{
575
- kind: z.ZodString;
576
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
577
- }, z.core.$strip>, z.ZodObject<{
578
- kind: z.ZodLiteral<"match">;
579
- effectKind: z.ZodString;
580
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
581
- scalar: z.ZodOptional<z.ZodObject<{
582
- field: z.ZodString;
583
- min: z.ZodOptional<z.ZodNumber>;
584
- max: z.ZodOptional<z.ZodNumber>;
585
- integer: z.ZodOptional<z.ZodBoolean>;
586
- }, z.core.$strip>>;
587
- }, z.core.$strip>]>>;
588
- preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
589
- kind: z.ZodLiteral<"exact">;
590
- effect: z.ZodObject<{
591
- kind: z.ZodString;
592
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
593
- }, z.core.$strip>, z.ZodObject<{
594
- kind: z.ZodLiteral<"match">;
595
- effectKind: z.ZodString;
596
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
597
- scalar: z.ZodOptional<z.ZodObject<{
598
- field: z.ZodString;
599
- min: z.ZodOptional<z.ZodNumber>;
600
- max: z.ZodOptional<z.ZodNumber>;
601
- integer: z.ZodOptional<z.ZodBoolean>;
602
- }, z.core.$strip>>;
603
- }, z.core.$strip>]>>;
604
- prepares: z.ZodOptional<z.ZodObject<{
605
- intent: z.ZodString;
606
- inputKey: z.ZodOptional<z.ZodString>;
607
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
608
- candidateValueKey: z.ZodOptional<z.ZodString>;
609
- actuatorKind: z.ZodOptional<z.ZodEnum<{
610
- fill: "fill";
611
- click: "click";
612
- keyboard: "keyboard";
613
- pointer: "pointer";
614
- }>>;
615
- }, z.core.$strip>>;
616
- diagnostics: z.ZodArray<z.ZodObject<{
617
- code: z.ZodString;
618
- severity: z.ZodEnum<{
619
- error: "error";
620
- warning: "warning";
621
- }>;
622
- message: z.ZodString;
623
- surface: z.ZodOptional<z.ZodString>;
624
- scopeId: z.ZodOptional<z.ZodString>;
625
- interactionKey: z.ZodOptional<z.ZodString>;
626
- intent: z.ZodOptional<z.ZodString>;
627
- actuatorId: z.ZodOptional<z.ZodString>;
628
- targetId: z.ZodOptional<z.ZodString>;
629
- }, z.core.$strip>>;
630
- }, z.core.$strip>>;
631
- pointerTargets: z.ZodArray<z.ZodObject<{
632
- targetId: z.ZodString;
633
- enabled: z.ZodBoolean;
634
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
635
- kind: z.ZodLiteral<"exact">;
636
- effect: z.ZodObject<{
637
- kind: z.ZodString;
638
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
639
- }, z.core.$strip>, z.ZodObject<{
640
- kind: z.ZodLiteral<"match">;
641
- effectKind: z.ZodString;
642
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
643
- scalar: z.ZodOptional<z.ZodObject<{
644
- field: z.ZodString;
645
- min: z.ZodOptional<z.ZodNumber>;
646
- max: z.ZodOptional<z.ZodNumber>;
647
- integer: z.ZodOptional<z.ZodBoolean>;
648
- }, z.core.$strip>>;
649
- }, z.core.$strip>]>>;
650
- descriptorDigest: z.ZodOptional<z.ZodString>;
651
- diagnostics: z.ZodArray<z.ZodObject<{
652
- code: z.ZodString;
653
- severity: z.ZodEnum<{
654
- error: "error";
655
- warning: "warning";
656
- }>;
657
- message: z.ZodString;
658
- surface: z.ZodOptional<z.ZodString>;
659
- scopeId: z.ZodOptional<z.ZodString>;
660
- interactionKey: z.ZodOptional<z.ZodString>;
661
- intent: z.ZodOptional<z.ZodString>;
662
- actuatorId: z.ZodOptional<z.ZodString>;
663
- targetId: z.ZodOptional<z.ZodString>;
664
- }, z.core.$strip>>;
665
- }, z.core.$strip>>;
666
- diagnostics: z.ZodArray<z.ZodObject<{
667
- code: z.ZodString;
668
- severity: z.ZodEnum<{
669
- error: "error";
670
- warning: "warning";
671
- }>;
672
- message: z.ZodString;
673
- surface: z.ZodOptional<z.ZodString>;
674
- scopeId: z.ZodOptional<z.ZodString>;
675
- interactionKey: z.ZodOptional<z.ZodString>;
676
- intent: z.ZodOptional<z.ZodString>;
677
- actuatorId: z.ZodOptional<z.ZodString>;
678
- targetId: z.ZodOptional<z.ZodString>;
679
- }, z.core.$strip>>;
680
- }, z.core.$strip>>;
681
- diagnostics: z.ZodArray<z.ZodObject<{
682
- code: z.ZodString;
683
- severity: z.ZodEnum<{
684
- error: "error";
685
- warning: "warning";
686
- }>;
687
- message: z.ZodString;
688
- surface: z.ZodOptional<z.ZodString>;
689
- scopeId: z.ZodOptional<z.ZodString>;
690
- interactionKey: z.ZodOptional<z.ZodString>;
691
- intent: z.ZodOptional<z.ZodString>;
692
- actuatorId: z.ZodOptional<z.ZodString>;
693
- targetId: z.ZodOptional<z.ZodString>;
694
- }, z.core.$strip>>;
695
- }, z.core.$strip>;
696
- declare const browserUnknownSurfaceSnapshotSchema: z.ZodObject<{
697
- surface: z.ZodString;
698
- scopeId: z.ZodString;
699
- diagnostics: z.ZodArray<z.ZodObject<{
700
- code: z.ZodString;
701
- severity: z.ZodEnum<{
702
- error: "error";
703
- warning: "warning";
704
- }>;
705
- message: z.ZodString;
706
- surface: z.ZodOptional<z.ZodString>;
707
- scopeId: z.ZodOptional<z.ZodString>;
708
- interactionKey: z.ZodOptional<z.ZodString>;
709
- intent: z.ZodOptional<z.ZodString>;
710
- actuatorId: z.ZodOptional<z.ZodString>;
711
- targetId: z.ZodOptional<z.ZodString>;
712
- }, z.core.$strip>>;
713
- }, z.core.$strip>;
714
- declare const browserInteractionSnapshotSchema: z.ZodObject<{
715
- protocol: z.ZodObject<{
716
- name: z.ZodLiteral<"dreamboard-browser-interaction">;
717
- version: z.ZodLiteral<"3.0.0">;
718
- }, z.core.$strip>;
719
- surfaces: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
720
- surface: z.ZodString;
721
- scopeId: z.ZodString;
722
- interactions: z.ZodArray<z.ZodObject<{
723
- interactionKey: z.ZodString;
724
- interactionId: z.ZodString;
725
- descriptorDigest: z.ZodOptional<z.ZodString>;
726
- draftDigest: z.ZodOptional<z.ZodString>;
727
- readiness: z.ZodEnum<{
728
- ready: "ready";
729
- blocked: "blocked";
730
- unavailable: "unavailable";
731
- }>;
732
- actuators: z.ZodArray<z.ZodObject<{
733
- actuatorId: z.ZodString;
734
- intent: z.ZodString;
735
- inputKey: z.ZodOptional<z.ZodString>;
736
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
737
- candidateValueKey: z.ZodOptional<z.ZodString>;
738
- candidateState: z.ZodOptional<z.ZodEnum<{
739
- selected: "selected";
740
- unselected: "unselected";
741
- mixed: "mixed";
742
- }>>;
743
- enabled: z.ZodBoolean;
744
- actuatorKind: z.ZodEnum<{
745
- fill: "fill";
746
- click: "click";
747
- keyboard: "keyboard";
748
- pointer: "pointer";
749
- }>;
750
- semanticEffects: z.ZodArray<z.ZodObject<{
751
- kind: z.ZodString;
752
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>>;
753
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
754
- kind: z.ZodLiteral<"exact">;
755
- effect: z.ZodObject<{
756
- kind: z.ZodString;
757
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
758
- }, z.core.$strip>, z.ZodObject<{
759
- kind: z.ZodLiteral<"match">;
760
- effectKind: z.ZodString;
761
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
762
- scalar: z.ZodOptional<z.ZodObject<{
763
- field: z.ZodString;
764
- min: z.ZodOptional<z.ZodNumber>;
765
- max: z.ZodOptional<z.ZodNumber>;
766
- integer: z.ZodOptional<z.ZodBoolean>;
767
- }, z.core.$strip>>;
768
- }, z.core.$strip>]>>;
769
- preparationPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
770
- kind: z.ZodLiteral<"exact">;
771
- effect: z.ZodObject<{
772
- kind: z.ZodString;
773
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
774
- }, z.core.$strip>, z.ZodObject<{
775
- kind: z.ZodLiteral<"match">;
776
- effectKind: z.ZodString;
777
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
778
- scalar: z.ZodOptional<z.ZodObject<{
779
- field: z.ZodString;
780
- min: z.ZodOptional<z.ZodNumber>;
781
- max: z.ZodOptional<z.ZodNumber>;
782
- integer: z.ZodOptional<z.ZodBoolean>;
783
- }, z.core.$strip>>;
784
- }, z.core.$strip>]>>;
785
- prepares: z.ZodOptional<z.ZodObject<{
786
- intent: z.ZodString;
787
- inputKey: z.ZodOptional<z.ZodString>;
788
- candidateValue: z.ZodOptional<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>;
789
- candidateValueKey: z.ZodOptional<z.ZodString>;
790
- actuatorKind: z.ZodOptional<z.ZodEnum<{
791
- fill: "fill";
792
- click: "click";
793
- keyboard: "keyboard";
794
- pointer: "pointer";
795
- }>>;
796
- }, z.core.$strip>>;
797
- diagnostics: z.ZodArray<z.ZodObject<{
798
- code: z.ZodString;
799
- severity: z.ZodEnum<{
800
- error: "error";
801
- warning: "warning";
802
- }>;
803
- message: z.ZodString;
804
- surface: z.ZodOptional<z.ZodString>;
805
- scopeId: z.ZodOptional<z.ZodString>;
806
- interactionKey: z.ZodOptional<z.ZodString>;
807
- intent: z.ZodOptional<z.ZodString>;
808
- actuatorId: z.ZodOptional<z.ZodString>;
809
- targetId: z.ZodOptional<z.ZodString>;
810
- }, z.core.$strip>>;
811
- }, z.core.$strip>>;
812
- pointerTargets: z.ZodArray<z.ZodObject<{
813
- targetId: z.ZodString;
814
- enabled: z.ZodBoolean;
815
- acceptedEffectPatterns: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
816
- kind: z.ZodLiteral<"exact">;
817
- effect: z.ZodObject<{
818
- kind: z.ZodString;
819
- }, z.core.$catchall<z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
820
- }, z.core.$strip>, z.ZodObject<{
821
- kind: z.ZodLiteral<"match">;
822
- effectKind: z.ZodString;
823
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPreprocess<z.ZodType<RuntimeJson, unknown, z.core.$ZodTypeInternals<RuntimeJson, unknown>>>>>;
824
- scalar: z.ZodOptional<z.ZodObject<{
825
- field: z.ZodString;
826
- min: z.ZodOptional<z.ZodNumber>;
827
- max: z.ZodOptional<z.ZodNumber>;
828
- integer: z.ZodOptional<z.ZodBoolean>;
829
- }, z.core.$strip>>;
830
- }, z.core.$strip>]>>;
831
- descriptorDigest: z.ZodOptional<z.ZodString>;
832
- diagnostics: z.ZodArray<z.ZodObject<{
833
- code: z.ZodString;
834
- severity: z.ZodEnum<{
835
- error: "error";
836
- warning: "warning";
837
- }>;
838
- message: z.ZodString;
839
- surface: z.ZodOptional<z.ZodString>;
840
- scopeId: z.ZodOptional<z.ZodString>;
841
- interactionKey: z.ZodOptional<z.ZodString>;
842
- intent: z.ZodOptional<z.ZodString>;
843
- actuatorId: z.ZodOptional<z.ZodString>;
844
- targetId: z.ZodOptional<z.ZodString>;
845
- }, z.core.$strip>>;
846
- }, z.core.$strip>>;
847
- diagnostics: z.ZodArray<z.ZodObject<{
848
- code: z.ZodString;
849
- severity: z.ZodEnum<{
850
- error: "error";
851
- warning: "warning";
852
- }>;
853
- message: z.ZodString;
854
- surface: z.ZodOptional<z.ZodString>;
855
- scopeId: z.ZodOptional<z.ZodString>;
856
- interactionKey: z.ZodOptional<z.ZodString>;
857
- intent: z.ZodOptional<z.ZodString>;
858
- actuatorId: z.ZodOptional<z.ZodString>;
859
- targetId: z.ZodOptional<z.ZodString>;
860
- }, z.core.$strip>>;
861
- }, z.core.$strip>>;
862
- diagnostics: z.ZodArray<z.ZodObject<{
863
- code: z.ZodString;
864
- severity: z.ZodEnum<{
865
- error: "error";
866
- warning: "warning";
867
- }>;
868
- message: z.ZodString;
869
- surface: z.ZodOptional<z.ZodString>;
870
- scopeId: z.ZodOptional<z.ZodString>;
871
- interactionKey: z.ZodOptional<z.ZodString>;
872
- intent: z.ZodOptional<z.ZodString>;
873
- actuatorId: z.ZodOptional<z.ZodString>;
874
- targetId: z.ZodOptional<z.ZodString>;
875
- }, z.core.$strip>>;
876
- }, z.core.$strip>, z.ZodObject<{
877
- surface: z.ZodString;
878
- scopeId: z.ZodString;
879
- diagnostics: z.ZodArray<z.ZodObject<{
880
- code: z.ZodString;
881
- severity: z.ZodEnum<{
882
- error: "error";
883
- warning: "warning";
884
- }>;
885
- message: z.ZodString;
886
- surface: z.ZodOptional<z.ZodString>;
887
- scopeId: z.ZodOptional<z.ZodString>;
888
- interactionKey: z.ZodOptional<z.ZodString>;
889
- intent: z.ZodOptional<z.ZodString>;
890
- actuatorId: z.ZodOptional<z.ZodString>;
891
- targetId: z.ZodOptional<z.ZodString>;
892
- }, z.core.$strip>>;
893
- }, z.core.$strip>]>>;
894
- diagnostics: z.ZodArray<z.ZodObject<{
895
- code: z.ZodString;
896
- severity: z.ZodEnum<{
897
- error: "error";
898
- warning: "warning";
899
- }>;
900
- message: z.ZodString;
901
- surface: z.ZodOptional<z.ZodString>;
902
- scopeId: z.ZodOptional<z.ZodString>;
903
- interactionKey: z.ZodOptional<z.ZodString>;
904
- intent: z.ZodOptional<z.ZodString>;
905
- actuatorId: z.ZodOptional<z.ZodString>;
906
- targetId: z.ZodOptional<z.ZodString>;
907
- }, z.core.$strip>>;
908
- }, z.core.$strip>;
909
-
910
- export { BrowserInteractionActuator, BrowserInteractionActuatorKind, BrowserInteractionDiagnostic, BrowserInteractionEffectPattern, BrowserInteractionEffectRequest, BrowserInteractionEffectResolution, BrowserInteractionIntent, BrowserInteractionIntentRequest, BrowserInteractionPointerTarget, BrowserInteractionPointerTargetResolution, BrowserInteractionRawRecord, BrowserInteractionRegistry, BrowserInteractionResolution, BrowserInteractionSemanticSurfaceSnapshot, BrowserInteractionSnapshot, BrowserInteractionSurface, BrowserInteractionSurfaceDefinition, BrowserInteractionSurfaceEffect, BrowserInteractionSurfaceSnapshot, CanonicalBrowserInteractionValue, GameplaySemanticEffect, type NormalizeBrowserInteractionRecordsOptions, actuatorIdentityKey, assertBrowserInteractionEffectPattern, browserGameplayInteractionSchema, browserGameplaySurfaceSnapshotSchema, browserInteractionActuatorSchema, browserInteractionDiagnosticSchema, browserInteractionEffectPatternMatches, browserInteractionEffectPatternSchema, browserInteractionEffectSchema, browserInteractionPointerTargetSchema, browserInteractionSnapshotSchema, browserSemanticSurfaceSnapshotSchema, browserUnknownSurfaceSnapshotSchema, createBrowserInteractionRegistry, decodeBrowserInteractionEffect, decodeBrowserInteractionEffectPattern, defaultBrowserInteractionRegistry, defineBrowserInteractionSurface, encodeBrowserInteractionEffect, encodeBrowserInteractionEffectPattern, gameplayAdjustResourceEffect, gameplayBrowserInteractionSurface, gameplayCommitEffect, gameplayInvokeEffect, gameplaySemanticEffectSchema, gameplaySetCandidateEffect, gameplaySetScalarEffect, isSemanticSurfaceSnapshot, normalizeBrowserInteractionRecords, pointerTargetIdentityKey, readBrowserInteractionSnapshot, resolveBrowserInteractionEffect, resolveBrowserInteractionIntent, resolveBrowserPointerTarget, targetIdentityKey, validateBrowserInteractionSnapshot };