@replohq/canopy-sdk 3.0.6 → 3.0.7

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 (53) hide show
  1. package/_vendor/replo-utils/lib/crypto.d.ts +8 -0
  2. package/_vendor/replo-utils/lib/fonts.mjs +2 -3
  3. package/_vendor/replo-utils/lib/geometry.mjs +0 -2
  4. package/_vendor/replo-utils/lib/json.d.ts +0 -4
  5. package/_vendor/replo-utils/lib/json.mjs +1 -4
  6. package/_vendor/replo-utils/lib/misc.mjs +2 -4
  7. package/_vendor/replo-utils/lib/posthogReplay.mjs +0 -2
  8. package/_vendor/replo-utils/lib/string.d.ts +0 -12
  9. package/_vendor/replo-utils/lib/url.d.ts +10 -3
  10. package/_vendor/replo-utils/lib/url.mjs +3 -4
  11. package/_vendor/replo-utils/react/use-iframe-rpc-channel.mjs +0 -1
  12. package/_vendor/schemas/agentBillingFeatureType.d.ts +1 -0
  13. package/_vendor/schemas/comments.d.ts +932 -0
  14. package/_vendor/schemas/designLibrary.d.ts +1 -1
  15. package/_vendor/schemas/designLibrary.mjs +72 -73
  16. package/_vendor/schemas/errors.d.ts +36 -45
  17. package/_vendor/schemas/generated/comments.d.ts +244 -0
  18. package/_vendor/schemas/generated/consent.d.ts +43 -2
  19. package/_vendor/schemas/generated/errors.d.ts +1 -0
  20. package/_vendor/schemas/generated/selectMode.d.ts +3 -1
  21. package/_vendor/schemas/generated/selectModeIframeRpc.d.ts +43 -0
  22. package/_vendor/schemas/iframeRpcChannel.d.ts +13 -1
  23. package/_vendor/schemas/iframeRpcChannel.mjs +167 -8
  24. package/_vendor/schemas/loaderKeys.mjs +0 -2
  25. package/_vendor/schemas/{money.d.ts → moneyFormat.d.ts} +11 -9
  26. package/_vendor/schemas/moneyFormat.mjs +119 -0
  27. package/_vendor/schemas/pageAnnotations.d.ts +1 -1
  28. package/_vendor/schemas/pageAnnotations.mjs +1 -2
  29. package/_vendor/schemas/reploError.d.ts +43 -0
  30. package/_vendor/schemas/routing/match.mjs +0 -1
  31. package/_vendor/schemas/routing/rules.d.ts +2 -2
  32. package/_vendor/schemas/routing/rules.mjs +5 -8
  33. package/_vendor/schemas/savedStyles.d.ts +1 -1
  34. package/_vendor/schemas/selectMode.d.ts +117 -4
  35. package/_vendor/schemas/selectMode.mjs +4 -6
  36. package/_vendor/schemas/selectModeIframeRpc.d.ts +373 -1
  37. package/_vendor/schemas/selectModeIframeRpc.mjs +77 -9
  38. package/chunk-B7XDEXPL.mjs +19 -0
  39. package/chunk-CJIK4NVP.mjs +547 -0
  40. package/chunk-DINTPZM2.mjs +71 -0
  41. package/{chunk-AKZNN7F2.mjs → chunk-IQCJXNJU.mjs} +1 -1
  42. package/{chunk-EXI4VDHP.mjs → chunk-PQEA6P4V.mjs} +20 -3
  43. package/{chunk-DINXH6YP.mjs → chunk-YGLYUC6R.mjs} +18 -7
  44. package/money.d.ts +1 -1
  45. package/package.json +2 -2
  46. package/_vendor/replo-utils/lib/object.d.ts +0 -31
  47. package/_vendor/schemas/money.mjs +0 -1937
  48. package/chunk-HGXQNZW7.mjs +0 -38
  49. package/chunk-ILGEM42C.mjs +0 -21
  50. package/chunk-RLFL66ST.mjs +0 -242
  51. package/chunk-UJCSKKID.mjs +0 -23
  52. package/chunk-VUXOGD76.mjs +0 -206
  53. /package/{chunk-FNTGY7I5.mjs → chunk-JELVREEB.mjs} +0 -0
@@ -0,0 +1,932 @@
1
+ import * as z from "zod";
2
+ export declare function isUuid(value: string): boolean;
3
+ /**
4
+ * The thread id in a bare id or either D-23 permalink form
5
+ * (`…/comments/<id>`, `…/<folderId>?thread=<id>`); null when there is none.
6
+ */
7
+ export declare function parseCommentThreadReference(reference: string): string | null;
8
+ /** A comment body an agent or API caller writes: something besides whitespace. */
9
+ export declare const commentBodyTextSchema: z.ZodString;
10
+ export declare const commentSourceSchema: z.ZodEnum<{
11
+ ui: "ui";
12
+ agent: "agent";
13
+ mcp: "mcp";
14
+ api: "api";
15
+ }>;
16
+ export declare const commentAnchorContextSchema: z.ZodObject<{
17
+ url: z.ZodString;
18
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ export declare const commentAnchorNoneSchema: z.ZodObject<{
21
+ type: z.ZodLiteral<"none">;
22
+ context: z.ZodOptional<z.ZodObject<{
23
+ url: z.ZodString;
24
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ export declare const commentAnchorElementSchema: z.ZodObject<{
28
+ type: z.ZodLiteral<"element">;
29
+ semanticSelector: z.ZodOptional<z.ZodString>;
30
+ selector: z.ZodString;
31
+ nthOfTypePath: z.ZodString;
32
+ source: z.ZodOptional<z.ZodObject<{
33
+ filePath: z.ZodString;
34
+ componentChain: z.ZodArray<z.ZodString>;
35
+ line: z.ZodOptional<z.ZodNumber>;
36
+ col: z.ZodOptional<z.ZodNumber>;
37
+ }, z.core.$strip>>;
38
+ listKey: z.ZodOptional<z.ZodString>;
39
+ tagName: z.ZodString;
40
+ textPreview: z.ZodString;
41
+ quote: z.ZodOptional<z.ZodObject<{
42
+ exact: z.ZodString;
43
+ prefix: z.ZodString;
44
+ suffix: z.ZodString;
45
+ }, z.core.$strip>>;
46
+ offset: z.ZodObject<{
47
+ x: z.ZodNumber;
48
+ y: z.ZodNumber;
49
+ }, z.core.$strip>;
50
+ context: z.ZodOptional<z.ZodObject<{
51
+ url: z.ZodString;
52
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>;
55
+ export declare const commentAnchorCanvasSchema: z.ZodObject<{
56
+ type: z.ZodLiteral<"canvas">;
57
+ nodeId: z.ZodString;
58
+ layerId: z.ZodOptional<z.ZodString>;
59
+ point: z.ZodObject<{
60
+ x: z.ZodNumber;
61
+ y: z.ZodNumber;
62
+ }, z.core.$strip>;
63
+ world: z.ZodOptional<z.ZodObject<{
64
+ x: z.ZodNumber;
65
+ y: z.ZodNumber;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>;
68
+ export declare const commentAnchorPointSchema: z.ZodObject<{
69
+ type: z.ZodLiteral<"point">;
70
+ page: z.ZodOptional<z.ZodNumber>;
71
+ x: z.ZodNumber;
72
+ y: z.ZodNumber;
73
+ }, z.core.$strip>;
74
+ export declare const commentAnchorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
75
+ type: z.ZodLiteral<"none">;
76
+ context: z.ZodOptional<z.ZodObject<{
77
+ url: z.ZodString;
78
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ }, z.core.$strip>>;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ type: z.ZodLiteral<"element">;
82
+ semanticSelector: z.ZodOptional<z.ZodString>;
83
+ selector: z.ZodString;
84
+ nthOfTypePath: z.ZodString;
85
+ source: z.ZodOptional<z.ZodObject<{
86
+ filePath: z.ZodString;
87
+ componentChain: z.ZodArray<z.ZodString>;
88
+ line: z.ZodOptional<z.ZodNumber>;
89
+ col: z.ZodOptional<z.ZodNumber>;
90
+ }, z.core.$strip>>;
91
+ listKey: z.ZodOptional<z.ZodString>;
92
+ tagName: z.ZodString;
93
+ textPreview: z.ZodString;
94
+ quote: z.ZodOptional<z.ZodObject<{
95
+ exact: z.ZodString;
96
+ prefix: z.ZodString;
97
+ suffix: z.ZodString;
98
+ }, z.core.$strip>>;
99
+ offset: z.ZodObject<{
100
+ x: z.ZodNumber;
101
+ y: z.ZodNumber;
102
+ }, z.core.$strip>;
103
+ context: z.ZodOptional<z.ZodObject<{
104
+ url: z.ZodString;
105
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ }, z.core.$strip>>;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ type: z.ZodLiteral<"canvas">;
109
+ nodeId: z.ZodString;
110
+ layerId: z.ZodOptional<z.ZodString>;
111
+ point: z.ZodObject<{
112
+ x: z.ZodNumber;
113
+ y: z.ZodNumber;
114
+ }, z.core.$strip>;
115
+ world: z.ZodOptional<z.ZodObject<{
116
+ x: z.ZodNumber;
117
+ y: z.ZodNumber;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ type: z.ZodLiteral<"point">;
121
+ page: z.ZodOptional<z.ZodNumber>;
122
+ x: z.ZodNumber;
123
+ y: z.ZodNumber;
124
+ }, z.core.$strip>], "type">;
125
+ export declare const commentTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
126
+ kind: z.ZodLiteral<"file">;
127
+ fileId: z.ZodUUID;
128
+ folderId: z.ZodOptional<z.ZodUUID>;
129
+ }, z.core.$strip>, z.ZodObject<{
130
+ kind: z.ZodLiteral<"sitePage">;
131
+ siteId: z.ZodUUID;
132
+ url: z.ZodString;
133
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ routePatternHint: z.ZodOptional<z.ZodString>;
135
+ via: z.ZodOptional<z.ZodObject<{
136
+ fileId: z.ZodUUID;
137
+ shareId: z.ZodUUID;
138
+ }, z.core.$strip>>;
139
+ }, z.core.$strip>, z.ZodObject<{
140
+ kind: z.ZodLiteral<"order">;
141
+ orderId: z.ZodUUID;
142
+ }, z.core.$strip>, z.ZodObject<{
143
+ kind: z.ZodLiteral<"asset">;
144
+ assetId: z.ZodUUID;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ kind: z.ZodLiteral<"experiment">;
147
+ experimentId: z.ZodUUID;
148
+ }, z.core.$strip>], "kind">;
149
+ export declare const commentSurfaceSchema: z.ZodEnum<{
150
+ image: "image";
151
+ file: "file";
152
+ assets: "assets";
153
+ canvas: "canvas";
154
+ artifact: "artifact";
155
+ markdown: "markdown";
156
+ pdf: "pdf";
157
+ websiteBuilder: "websiteBuilder";
158
+ embeddedPreview: "embeddedPreview";
159
+ orders: "orders";
160
+ experiments: "experiments";
161
+ }>;
162
+ export declare const commentAuthorSchema: z.ZodObject<{
163
+ id: z.ZodString;
164
+ name: z.ZodString;
165
+ avatarUrl: z.ZodNullable<z.ZodString>;
166
+ deleted: z.ZodBoolean;
167
+ }, z.core.$strip>;
168
+ export declare const commentSchema: z.ZodObject<{
169
+ id: z.ZodString;
170
+ threadId: z.ZodString;
171
+ authorUserId: z.ZodString;
172
+ source: z.ZodEnum<{
173
+ ui: "ui";
174
+ agent: "agent";
175
+ mcp: "mcp";
176
+ api: "api";
177
+ }>;
178
+ body: z.ZodString;
179
+ createdAt: z.ZodISODateTime;
180
+ editedAt: z.ZodNullable<z.ZodISODateTime>;
181
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
182
+ }, z.core.$strip>;
183
+ export declare const commentReactionSchema: z.ZodObject<{
184
+ commentId: z.ZodString;
185
+ userId: z.ZodString;
186
+ emoji: z.ZodString;
187
+ createdAt: z.ZodISODateTime;
188
+ }, z.core.$strip>;
189
+ export declare const commentThreadTargetSchema: z.ZodObject<{
190
+ fileId: z.ZodOptional<z.ZodString>;
191
+ siteId: z.ZodOptional<z.ZodString>;
192
+ path: z.ZodOptional<z.ZodString>;
193
+ orderId: z.ZodOptional<z.ZodString>;
194
+ assetId: z.ZodOptional<z.ZodString>;
195
+ experimentId: z.ZodOptional<z.ZodString>;
196
+ }, z.core.$strip>;
197
+ export declare const commentThreadSchema: z.ZodObject<{
198
+ id: z.ZodString;
199
+ projectId: z.ZodString;
200
+ target: z.ZodObject<{
201
+ fileId: z.ZodOptional<z.ZodString>;
202
+ siteId: z.ZodOptional<z.ZodString>;
203
+ path: z.ZodOptional<z.ZodString>;
204
+ orderId: z.ZodOptional<z.ZodString>;
205
+ assetId: z.ZodOptional<z.ZodString>;
206
+ experimentId: z.ZodOptional<z.ZodString>;
207
+ }, z.core.$strip>;
208
+ viaFileId: z.ZodNullable<z.ZodString>;
209
+ viaFileName: z.ZodNullable<z.ZodString>;
210
+ anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
211
+ type: z.ZodLiteral<"none">;
212
+ context: z.ZodOptional<z.ZodObject<{
213
+ url: z.ZodString;
214
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ }, z.core.$strip>>;
216
+ }, z.core.$strip>, z.ZodObject<{
217
+ type: z.ZodLiteral<"element">;
218
+ semanticSelector: z.ZodOptional<z.ZodString>;
219
+ selector: z.ZodString;
220
+ nthOfTypePath: z.ZodString;
221
+ source: z.ZodOptional<z.ZodObject<{
222
+ filePath: z.ZodString;
223
+ componentChain: z.ZodArray<z.ZodString>;
224
+ line: z.ZodOptional<z.ZodNumber>;
225
+ col: z.ZodOptional<z.ZodNumber>;
226
+ }, z.core.$strip>>;
227
+ listKey: z.ZodOptional<z.ZodString>;
228
+ tagName: z.ZodString;
229
+ textPreview: z.ZodString;
230
+ quote: z.ZodOptional<z.ZodObject<{
231
+ exact: z.ZodString;
232
+ prefix: z.ZodString;
233
+ suffix: z.ZodString;
234
+ }, z.core.$strip>>;
235
+ offset: z.ZodObject<{
236
+ x: z.ZodNumber;
237
+ y: z.ZodNumber;
238
+ }, z.core.$strip>;
239
+ context: z.ZodOptional<z.ZodObject<{
240
+ url: z.ZodString;
241
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ }, z.core.$strip>>;
243
+ }, z.core.$strip>, z.ZodObject<{
244
+ type: z.ZodLiteral<"canvas">;
245
+ nodeId: z.ZodString;
246
+ layerId: z.ZodOptional<z.ZodString>;
247
+ point: z.ZodObject<{
248
+ x: z.ZodNumber;
249
+ y: z.ZodNumber;
250
+ }, z.core.$strip>;
251
+ world: z.ZodOptional<z.ZodObject<{
252
+ x: z.ZodNumber;
253
+ y: z.ZodNumber;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ type: z.ZodLiteral<"point">;
257
+ page: z.ZodOptional<z.ZodNumber>;
258
+ x: z.ZodNumber;
259
+ y: z.ZodNumber;
260
+ }, z.core.$strip>], "type">;
261
+ resolvedAt: z.ZodNullable<z.ZodISODateTime>;
262
+ resolvedByUserId: z.ZodNullable<z.ZodString>;
263
+ resolvedSource: z.ZodNullable<z.ZodEnum<{
264
+ ui: "ui";
265
+ agent: "agent";
266
+ mcp: "mcp";
267
+ api: "api";
268
+ }>>;
269
+ createdAt: z.ZodISODateTime;
270
+ updatedAt: z.ZodISODateTime;
271
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
272
+ }, z.core.$strip>;
273
+ export declare const commentViewerSchema: z.ZodObject<{
274
+ userId: z.ZodNullable<z.ZodString>;
275
+ isMember: z.ZodBoolean;
276
+ canComment: z.ZodBoolean;
277
+ canModerate: z.ZodBoolean;
278
+ }, z.core.$strip>;
279
+ export declare const commentThreadBundleSchema: z.ZodObject<{
280
+ threads: z.ZodArray<z.ZodObject<{
281
+ id: z.ZodString;
282
+ projectId: z.ZodString;
283
+ target: z.ZodObject<{
284
+ fileId: z.ZodOptional<z.ZodString>;
285
+ siteId: z.ZodOptional<z.ZodString>;
286
+ path: z.ZodOptional<z.ZodString>;
287
+ orderId: z.ZodOptional<z.ZodString>;
288
+ assetId: z.ZodOptional<z.ZodString>;
289
+ experimentId: z.ZodOptional<z.ZodString>;
290
+ }, z.core.$strip>;
291
+ viaFileId: z.ZodNullable<z.ZodString>;
292
+ viaFileName: z.ZodNullable<z.ZodString>;
293
+ anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
294
+ type: z.ZodLiteral<"none">;
295
+ context: z.ZodOptional<z.ZodObject<{
296
+ url: z.ZodString;
297
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
+ }, z.core.$strip>>;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ type: z.ZodLiteral<"element">;
301
+ semanticSelector: z.ZodOptional<z.ZodString>;
302
+ selector: z.ZodString;
303
+ nthOfTypePath: z.ZodString;
304
+ source: z.ZodOptional<z.ZodObject<{
305
+ filePath: z.ZodString;
306
+ componentChain: z.ZodArray<z.ZodString>;
307
+ line: z.ZodOptional<z.ZodNumber>;
308
+ col: z.ZodOptional<z.ZodNumber>;
309
+ }, z.core.$strip>>;
310
+ listKey: z.ZodOptional<z.ZodString>;
311
+ tagName: z.ZodString;
312
+ textPreview: z.ZodString;
313
+ quote: z.ZodOptional<z.ZodObject<{
314
+ exact: z.ZodString;
315
+ prefix: z.ZodString;
316
+ suffix: z.ZodString;
317
+ }, z.core.$strip>>;
318
+ offset: z.ZodObject<{
319
+ x: z.ZodNumber;
320
+ y: z.ZodNumber;
321
+ }, z.core.$strip>;
322
+ context: z.ZodOptional<z.ZodObject<{
323
+ url: z.ZodString;
324
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
+ }, z.core.$strip>>;
326
+ }, z.core.$strip>, z.ZodObject<{
327
+ type: z.ZodLiteral<"canvas">;
328
+ nodeId: z.ZodString;
329
+ layerId: z.ZodOptional<z.ZodString>;
330
+ point: z.ZodObject<{
331
+ x: z.ZodNumber;
332
+ y: z.ZodNumber;
333
+ }, z.core.$strip>;
334
+ world: z.ZodOptional<z.ZodObject<{
335
+ x: z.ZodNumber;
336
+ y: z.ZodNumber;
337
+ }, z.core.$strip>>;
338
+ }, z.core.$strip>, z.ZodObject<{
339
+ type: z.ZodLiteral<"point">;
340
+ page: z.ZodOptional<z.ZodNumber>;
341
+ x: z.ZodNumber;
342
+ y: z.ZodNumber;
343
+ }, z.core.$strip>], "type">;
344
+ resolvedAt: z.ZodNullable<z.ZodISODateTime>;
345
+ resolvedByUserId: z.ZodNullable<z.ZodString>;
346
+ resolvedSource: z.ZodNullable<z.ZodEnum<{
347
+ ui: "ui";
348
+ agent: "agent";
349
+ mcp: "mcp";
350
+ api: "api";
351
+ }>>;
352
+ createdAt: z.ZodISODateTime;
353
+ updatedAt: z.ZodISODateTime;
354
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
355
+ }, z.core.$strip>>;
356
+ comments: z.ZodArray<z.ZodObject<{
357
+ id: z.ZodString;
358
+ threadId: z.ZodString;
359
+ authorUserId: z.ZodString;
360
+ source: z.ZodEnum<{
361
+ ui: "ui";
362
+ agent: "agent";
363
+ mcp: "mcp";
364
+ api: "api";
365
+ }>;
366
+ body: z.ZodString;
367
+ createdAt: z.ZodISODateTime;
368
+ editedAt: z.ZodNullable<z.ZodISODateTime>;
369
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
370
+ }, z.core.$strip>>;
371
+ reactions: z.ZodArray<z.ZodObject<{
372
+ commentId: z.ZodString;
373
+ userId: z.ZodString;
374
+ emoji: z.ZodString;
375
+ createdAt: z.ZodISODateTime;
376
+ }, z.core.$strip>>;
377
+ authors: z.ZodArray<z.ZodObject<{
378
+ id: z.ZodString;
379
+ name: z.ZodString;
380
+ avatarUrl: z.ZodNullable<z.ZodString>;
381
+ deleted: z.ZodBoolean;
382
+ }, z.core.$strip>>;
383
+ viewer: z.ZodObject<{
384
+ userId: z.ZodNullable<z.ZodString>;
385
+ isMember: z.ZodBoolean;
386
+ canComment: z.ZodBoolean;
387
+ canModerate: z.ZodBoolean;
388
+ }, z.core.$strip>;
389
+ }, z.core.$strip>;
390
+ export declare const createCommentThreadBodySchema: z.ZodObject<{
391
+ id: z.ZodUUID;
392
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
393
+ kind: z.ZodLiteral<"file">;
394
+ fileId: z.ZodUUID;
395
+ folderId: z.ZodOptional<z.ZodUUID>;
396
+ }, z.core.$strip>, z.ZodObject<{
397
+ kind: z.ZodLiteral<"sitePage">;
398
+ siteId: z.ZodUUID;
399
+ url: z.ZodString;
400
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ routePatternHint: z.ZodOptional<z.ZodString>;
402
+ via: z.ZodOptional<z.ZodObject<{
403
+ fileId: z.ZodUUID;
404
+ shareId: z.ZodUUID;
405
+ }, z.core.$strip>>;
406
+ }, z.core.$strip>, z.ZodObject<{
407
+ kind: z.ZodLiteral<"order">;
408
+ orderId: z.ZodUUID;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ kind: z.ZodLiteral<"asset">;
411
+ assetId: z.ZodUUID;
412
+ }, z.core.$strip>, z.ZodObject<{
413
+ kind: z.ZodLiteral<"experiment">;
414
+ experimentId: z.ZodUUID;
415
+ }, z.core.$strip>], "kind">;
416
+ anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
417
+ type: z.ZodLiteral<"none">;
418
+ context: z.ZodOptional<z.ZodObject<{
419
+ url: z.ZodString;
420
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ }, z.core.$strip>>;
422
+ }, z.core.$strip>, z.ZodObject<{
423
+ type: z.ZodLiteral<"element">;
424
+ semanticSelector: z.ZodOptional<z.ZodString>;
425
+ selector: z.ZodString;
426
+ nthOfTypePath: z.ZodString;
427
+ source: z.ZodOptional<z.ZodObject<{
428
+ filePath: z.ZodString;
429
+ componentChain: z.ZodArray<z.ZodString>;
430
+ line: z.ZodOptional<z.ZodNumber>;
431
+ col: z.ZodOptional<z.ZodNumber>;
432
+ }, z.core.$strip>>;
433
+ listKey: z.ZodOptional<z.ZodString>;
434
+ tagName: z.ZodString;
435
+ textPreview: z.ZodString;
436
+ quote: z.ZodOptional<z.ZodObject<{
437
+ exact: z.ZodString;
438
+ prefix: z.ZodString;
439
+ suffix: z.ZodString;
440
+ }, z.core.$strip>>;
441
+ offset: z.ZodObject<{
442
+ x: z.ZodNumber;
443
+ y: z.ZodNumber;
444
+ }, z.core.$strip>;
445
+ context: z.ZodOptional<z.ZodObject<{
446
+ url: z.ZodString;
447
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ }, z.core.$strip>>;
449
+ }, z.core.$strip>, z.ZodObject<{
450
+ type: z.ZodLiteral<"canvas">;
451
+ nodeId: z.ZodString;
452
+ layerId: z.ZodOptional<z.ZodString>;
453
+ point: z.ZodObject<{
454
+ x: z.ZodNumber;
455
+ y: z.ZodNumber;
456
+ }, z.core.$strip>;
457
+ world: z.ZodOptional<z.ZodObject<{
458
+ x: z.ZodNumber;
459
+ y: z.ZodNumber;
460
+ }, z.core.$strip>>;
461
+ }, z.core.$strip>, z.ZodObject<{
462
+ type: z.ZodLiteral<"point">;
463
+ page: z.ZodOptional<z.ZodNumber>;
464
+ x: z.ZodNumber;
465
+ y: z.ZodNumber;
466
+ }, z.core.$strip>], "type">;
467
+ body: z.ZodObject<{
468
+ id: z.ZodUUID;
469
+ body: z.ZodString;
470
+ }, z.core.$strip>;
471
+ }, z.core.$strip>;
472
+ export declare const updateCommentThreadBodySchema: z.ZodObject<{
473
+ resolved: z.ZodOptional<z.ZodBoolean>;
474
+ path: z.ZodOptional<z.ZodString>;
475
+ anchor: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
476
+ type: z.ZodLiteral<"none">;
477
+ context: z.ZodOptional<z.ZodObject<{
478
+ url: z.ZodString;
479
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
480
+ }, z.core.$strip>>;
481
+ }, z.core.$strip>, z.ZodObject<{
482
+ type: z.ZodLiteral<"element">;
483
+ semanticSelector: z.ZodOptional<z.ZodString>;
484
+ selector: z.ZodString;
485
+ nthOfTypePath: z.ZodString;
486
+ source: z.ZodOptional<z.ZodObject<{
487
+ filePath: z.ZodString;
488
+ componentChain: z.ZodArray<z.ZodString>;
489
+ line: z.ZodOptional<z.ZodNumber>;
490
+ col: z.ZodOptional<z.ZodNumber>;
491
+ }, z.core.$strip>>;
492
+ listKey: z.ZodOptional<z.ZodString>;
493
+ tagName: z.ZodString;
494
+ textPreview: z.ZodString;
495
+ quote: z.ZodOptional<z.ZodObject<{
496
+ exact: z.ZodString;
497
+ prefix: z.ZodString;
498
+ suffix: z.ZodString;
499
+ }, z.core.$strip>>;
500
+ offset: z.ZodObject<{
501
+ x: z.ZodNumber;
502
+ y: z.ZodNumber;
503
+ }, z.core.$strip>;
504
+ context: z.ZodOptional<z.ZodObject<{
505
+ url: z.ZodString;
506
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
+ }, z.core.$strip>>;
508
+ }, z.core.$strip>, z.ZodObject<{
509
+ type: z.ZodLiteral<"canvas">;
510
+ nodeId: z.ZodString;
511
+ layerId: z.ZodOptional<z.ZodString>;
512
+ point: z.ZodObject<{
513
+ x: z.ZodNumber;
514
+ y: z.ZodNumber;
515
+ }, z.core.$strip>;
516
+ world: z.ZodOptional<z.ZodObject<{
517
+ x: z.ZodNumber;
518
+ y: z.ZodNumber;
519
+ }, z.core.$strip>>;
520
+ }, z.core.$strip>, z.ZodObject<{
521
+ type: z.ZodLiteral<"point">;
522
+ page: z.ZodOptional<z.ZodNumber>;
523
+ x: z.ZodNumber;
524
+ y: z.ZodNumber;
525
+ }, z.core.$strip>], "type">>;
526
+ }, z.core.$strip>;
527
+ export declare const createCommentBodySchema: z.ZodObject<{
528
+ id: z.ZodUUID;
529
+ body: z.ZodString;
530
+ }, z.core.$strip>;
531
+ export declare const updateCommentBodySchema: z.ZodObject<{
532
+ body: z.ZodString;
533
+ }, z.core.$strip>;
534
+ export declare const commentThreadStatusSchema: z.ZodEnum<{
535
+ open: "open";
536
+ resolved: "resolved";
537
+ }>;
538
+ export declare const listCommentThreadsQuerySchema: z.ZodObject<{
539
+ fileId: z.ZodOptional<z.ZodUUID>;
540
+ folderId: z.ZodOptional<z.ZodUUID>;
541
+ siteId: z.ZodOptional<z.ZodUUID>;
542
+ path: z.ZodOptional<z.ZodString>;
543
+ locale: z.ZodOptional<z.ZodString>;
544
+ viaFileId: z.ZodOptional<z.ZodUUID>;
545
+ orderId: z.ZodOptional<z.ZodUUID>;
546
+ assetId: z.ZodOptional<z.ZodUUID>;
547
+ experimentId: z.ZodOptional<z.ZodUUID>;
548
+ status: z.ZodOptional<z.ZodEnum<{
549
+ open: "open";
550
+ resolved: "resolved";
551
+ }>>;
552
+ }, z.core.$strip>;
553
+ export declare const commentThreadLocationSchema: z.ZodObject<{
554
+ kind: z.ZodEnum<{
555
+ artifact: "artifact";
556
+ miniapp: "miniapp";
557
+ commentsScreen: "commentsScreen";
558
+ gone: "gone";
559
+ }>;
560
+ url: z.ZodOptional<z.ZodString>;
561
+ projectId: z.ZodOptional<z.ZodString>;
562
+ miniappId: z.ZodOptional<z.ZodString>;
563
+ miniappRoute: z.ZodOptional<z.ZodString>;
564
+ }, z.core.$strip>;
565
+ export declare const presignCommentAttachmentBodySchema: z.ZodObject<{
566
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
567
+ kind: z.ZodLiteral<"file">;
568
+ fileId: z.ZodUUID;
569
+ folderId: z.ZodOptional<z.ZodUUID>;
570
+ }, z.core.$strip>, z.ZodObject<{
571
+ kind: z.ZodLiteral<"sitePage">;
572
+ siteId: z.ZodUUID;
573
+ url: z.ZodString;
574
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ routePatternHint: z.ZodOptional<z.ZodString>;
576
+ via: z.ZodOptional<z.ZodObject<{
577
+ fileId: z.ZodUUID;
578
+ shareId: z.ZodUUID;
579
+ }, z.core.$strip>>;
580
+ }, z.core.$strip>, z.ZodObject<{
581
+ kind: z.ZodLiteral<"order">;
582
+ orderId: z.ZodUUID;
583
+ }, z.core.$strip>, z.ZodObject<{
584
+ kind: z.ZodLiteral<"asset">;
585
+ assetId: z.ZodUUID;
586
+ }, z.core.$strip>, z.ZodObject<{
587
+ kind: z.ZodLiteral<"experiment">;
588
+ experimentId: z.ZodUUID;
589
+ }, z.core.$strip>], "kind">;
590
+ contentType: z.ZodString;
591
+ contentLength: z.ZodNumber;
592
+ }, z.core.$strip>;
593
+ export declare const presignCommentAttachmentResponseSchema: z.ZodObject<{
594
+ objectKey: z.ZodString;
595
+ presignedPutUrl: z.ZodString;
596
+ publicUrl: z.ZodString;
597
+ }, z.core.$strip>;
598
+ export declare const commitCommentAttachmentBodySchema: z.ZodObject<{
599
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
600
+ kind: z.ZodLiteral<"file">;
601
+ fileId: z.ZodUUID;
602
+ folderId: z.ZodOptional<z.ZodUUID>;
603
+ }, z.core.$strip>, z.ZodObject<{
604
+ kind: z.ZodLiteral<"sitePage">;
605
+ siteId: z.ZodUUID;
606
+ url: z.ZodString;
607
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
608
+ routePatternHint: z.ZodOptional<z.ZodString>;
609
+ via: z.ZodOptional<z.ZodObject<{
610
+ fileId: z.ZodUUID;
611
+ shareId: z.ZodUUID;
612
+ }, z.core.$strip>>;
613
+ }, z.core.$strip>, z.ZodObject<{
614
+ kind: z.ZodLiteral<"order">;
615
+ orderId: z.ZodUUID;
616
+ }, z.core.$strip>, z.ZodObject<{
617
+ kind: z.ZodLiteral<"asset">;
618
+ assetId: z.ZodUUID;
619
+ }, z.core.$strip>, z.ZodObject<{
620
+ kind: z.ZodLiteral<"experiment">;
621
+ experimentId: z.ZodUUID;
622
+ }, z.core.$strip>], "kind">;
623
+ objectKey: z.ZodString;
624
+ }, z.core.$strip>;
625
+ export declare const commitCommentAttachmentResponseSchema: z.ZodObject<{
626
+ publicUrl: z.ZodString;
627
+ }, z.core.$strip>;
628
+ export declare const commentSiteThreadSortSchema: z.ZodObject<{
629
+ column: z.ZodEnum<{
630
+ status: "status";
631
+ page: "page";
632
+ excerpt: "excerpt";
633
+ author: "author";
634
+ created: "created";
635
+ lastActivity: "lastActivity";
636
+ replies: "replies";
637
+ from: "from";
638
+ }>;
639
+ direction: z.ZodEnum<{
640
+ asc: "asc";
641
+ desc: "desc";
642
+ }>;
643
+ }, z.core.$strip>;
644
+ export declare const commentSiteThreadPageSchema: z.ZodObject<{
645
+ threads: z.ZodArray<z.ZodObject<{
646
+ id: z.ZodString;
647
+ projectId: z.ZodString;
648
+ target: z.ZodObject<{
649
+ fileId: z.ZodOptional<z.ZodString>;
650
+ siteId: z.ZodOptional<z.ZodString>;
651
+ path: z.ZodOptional<z.ZodString>;
652
+ orderId: z.ZodOptional<z.ZodString>;
653
+ assetId: z.ZodOptional<z.ZodString>;
654
+ experimentId: z.ZodOptional<z.ZodString>;
655
+ }, z.core.$strip>;
656
+ viaFileId: z.ZodNullable<z.ZodString>;
657
+ viaFileName: z.ZodNullable<z.ZodString>;
658
+ anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
659
+ type: z.ZodLiteral<"none">;
660
+ context: z.ZodOptional<z.ZodObject<{
661
+ url: z.ZodString;
662
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
+ }, z.core.$strip>>;
664
+ }, z.core.$strip>, z.ZodObject<{
665
+ type: z.ZodLiteral<"element">;
666
+ semanticSelector: z.ZodOptional<z.ZodString>;
667
+ selector: z.ZodString;
668
+ nthOfTypePath: z.ZodString;
669
+ source: z.ZodOptional<z.ZodObject<{
670
+ filePath: z.ZodString;
671
+ componentChain: z.ZodArray<z.ZodString>;
672
+ line: z.ZodOptional<z.ZodNumber>;
673
+ col: z.ZodOptional<z.ZodNumber>;
674
+ }, z.core.$strip>>;
675
+ listKey: z.ZodOptional<z.ZodString>;
676
+ tagName: z.ZodString;
677
+ textPreview: z.ZodString;
678
+ quote: z.ZodOptional<z.ZodObject<{
679
+ exact: z.ZodString;
680
+ prefix: z.ZodString;
681
+ suffix: z.ZodString;
682
+ }, z.core.$strip>>;
683
+ offset: z.ZodObject<{
684
+ x: z.ZodNumber;
685
+ y: z.ZodNumber;
686
+ }, z.core.$strip>;
687
+ context: z.ZodOptional<z.ZodObject<{
688
+ url: z.ZodString;
689
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
690
+ }, z.core.$strip>>;
691
+ }, z.core.$strip>, z.ZodObject<{
692
+ type: z.ZodLiteral<"canvas">;
693
+ nodeId: z.ZodString;
694
+ layerId: z.ZodOptional<z.ZodString>;
695
+ point: z.ZodObject<{
696
+ x: z.ZodNumber;
697
+ y: z.ZodNumber;
698
+ }, z.core.$strip>;
699
+ world: z.ZodOptional<z.ZodObject<{
700
+ x: z.ZodNumber;
701
+ y: z.ZodNumber;
702
+ }, z.core.$strip>>;
703
+ }, z.core.$strip>, z.ZodObject<{
704
+ type: z.ZodLiteral<"point">;
705
+ page: z.ZodOptional<z.ZodNumber>;
706
+ x: z.ZodNumber;
707
+ y: z.ZodNumber;
708
+ }, z.core.$strip>], "type">;
709
+ resolvedAt: z.ZodNullable<z.ZodISODateTime>;
710
+ resolvedByUserId: z.ZodNullable<z.ZodString>;
711
+ resolvedSource: z.ZodNullable<z.ZodEnum<{
712
+ ui: "ui";
713
+ agent: "agent";
714
+ mcp: "mcp";
715
+ api: "api";
716
+ }>>;
717
+ createdAt: z.ZodISODateTime;
718
+ updatedAt: z.ZodISODateTime;
719
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
720
+ }, z.core.$strip>>;
721
+ comments: z.ZodArray<z.ZodObject<{
722
+ id: z.ZodString;
723
+ threadId: z.ZodString;
724
+ authorUserId: z.ZodString;
725
+ source: z.ZodEnum<{
726
+ ui: "ui";
727
+ agent: "agent";
728
+ mcp: "mcp";
729
+ api: "api";
730
+ }>;
731
+ body: z.ZodString;
732
+ createdAt: z.ZodISODateTime;
733
+ editedAt: z.ZodNullable<z.ZodISODateTime>;
734
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
735
+ }, z.core.$strip>>;
736
+ reactions: z.ZodArray<z.ZodObject<{
737
+ commentId: z.ZodString;
738
+ userId: z.ZodString;
739
+ emoji: z.ZodString;
740
+ createdAt: z.ZodISODateTime;
741
+ }, z.core.$strip>>;
742
+ authors: z.ZodArray<z.ZodObject<{
743
+ id: z.ZodString;
744
+ name: z.ZodString;
745
+ avatarUrl: z.ZodNullable<z.ZodString>;
746
+ deleted: z.ZodBoolean;
747
+ }, z.core.$strip>>;
748
+ orphanedPaths: z.ZodNullable<z.ZodArray<z.ZodString>>;
749
+ nextCursor: z.ZodNullable<z.ZodString>;
750
+ }, z.core.$strip>;
751
+ export declare const commentMentionPersonSchema: z.ZodObject<{
752
+ id: z.ZodString;
753
+ name: z.ZodString;
754
+ avatarUrl: z.ZodNullable<z.ZodString>;
755
+ }, z.core.$strip>;
756
+ export declare const mentionableDisplaySchema: z.ZodObject<{
757
+ label: z.ZodString;
758
+ imageUrl: z.ZodOptional<z.ZodString>;
759
+ }, z.core.$strip>;
760
+ export declare const mentionableResolutionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
761
+ state: z.ZodLiteral<"ok">;
762
+ display: z.ZodObject<{
763
+ label: z.ZodString;
764
+ imageUrl: z.ZodOptional<z.ZodString>;
765
+ }, z.core.$strip>;
766
+ }, z.core.$strip>, z.ZodObject<{
767
+ state: z.ZodLiteral<"forbidden">;
768
+ category: z.ZodString;
769
+ }, z.core.$strip>], "state">;
770
+ export declare const commentThreadTargetSummarySchema: z.ZodObject<{
771
+ kind: z.ZodEnum<{
772
+ file: "file";
773
+ sitePage: "sitePage";
774
+ order: "order";
775
+ asset: "asset";
776
+ experiment: "experiment";
777
+ }>;
778
+ fileId: z.ZodOptional<z.ZodString>;
779
+ fileName: z.ZodOptional<z.ZodString>;
780
+ filePath: z.ZodOptional<z.ZodString>;
781
+ artifactFolderId: z.ZodOptional<z.ZodString>;
782
+ fileDeleted: z.ZodOptional<z.ZodBoolean>;
783
+ siteId: z.ZodOptional<z.ZodString>;
784
+ path: z.ZodOptional<z.ZodString>;
785
+ url: z.ZodOptional<z.ZodString>;
786
+ orderId: z.ZodOptional<z.ZodString>;
787
+ assetId: z.ZodOptional<z.ZodString>;
788
+ experimentId: z.ZodOptional<z.ZodString>;
789
+ experimentName: z.ZodOptional<z.ZodString>;
790
+ }, z.core.$strip>;
791
+ export declare const commentThreadDetailSchema: z.ZodObject<{
792
+ thread: z.ZodObject<{
793
+ id: z.ZodString;
794
+ projectId: z.ZodString;
795
+ target: z.ZodObject<{
796
+ fileId: z.ZodOptional<z.ZodString>;
797
+ siteId: z.ZodOptional<z.ZodString>;
798
+ path: z.ZodOptional<z.ZodString>;
799
+ orderId: z.ZodOptional<z.ZodString>;
800
+ assetId: z.ZodOptional<z.ZodString>;
801
+ experimentId: z.ZodOptional<z.ZodString>;
802
+ }, z.core.$strip>;
803
+ viaFileId: z.ZodNullable<z.ZodString>;
804
+ viaFileName: z.ZodNullable<z.ZodString>;
805
+ anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
806
+ type: z.ZodLiteral<"none">;
807
+ context: z.ZodOptional<z.ZodObject<{
808
+ url: z.ZodString;
809
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ }, z.core.$strip>>;
811
+ }, z.core.$strip>, z.ZodObject<{
812
+ type: z.ZodLiteral<"element">;
813
+ semanticSelector: z.ZodOptional<z.ZodString>;
814
+ selector: z.ZodString;
815
+ nthOfTypePath: z.ZodString;
816
+ source: z.ZodOptional<z.ZodObject<{
817
+ filePath: z.ZodString;
818
+ componentChain: z.ZodArray<z.ZodString>;
819
+ line: z.ZodOptional<z.ZodNumber>;
820
+ col: z.ZodOptional<z.ZodNumber>;
821
+ }, z.core.$strip>>;
822
+ listKey: z.ZodOptional<z.ZodString>;
823
+ tagName: z.ZodString;
824
+ textPreview: z.ZodString;
825
+ quote: z.ZodOptional<z.ZodObject<{
826
+ exact: z.ZodString;
827
+ prefix: z.ZodString;
828
+ suffix: z.ZodString;
829
+ }, z.core.$strip>>;
830
+ offset: z.ZodObject<{
831
+ x: z.ZodNumber;
832
+ y: z.ZodNumber;
833
+ }, z.core.$strip>;
834
+ context: z.ZodOptional<z.ZodObject<{
835
+ url: z.ZodString;
836
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
837
+ }, z.core.$strip>>;
838
+ }, z.core.$strip>, z.ZodObject<{
839
+ type: z.ZodLiteral<"canvas">;
840
+ nodeId: z.ZodString;
841
+ layerId: z.ZodOptional<z.ZodString>;
842
+ point: z.ZodObject<{
843
+ x: z.ZodNumber;
844
+ y: z.ZodNumber;
845
+ }, z.core.$strip>;
846
+ world: z.ZodOptional<z.ZodObject<{
847
+ x: z.ZodNumber;
848
+ y: z.ZodNumber;
849
+ }, z.core.$strip>>;
850
+ }, z.core.$strip>, z.ZodObject<{
851
+ type: z.ZodLiteral<"point">;
852
+ page: z.ZodOptional<z.ZodNumber>;
853
+ x: z.ZodNumber;
854
+ y: z.ZodNumber;
855
+ }, z.core.$strip>], "type">;
856
+ resolvedAt: z.ZodNullable<z.ZodISODateTime>;
857
+ resolvedByUserId: z.ZodNullable<z.ZodString>;
858
+ resolvedSource: z.ZodNullable<z.ZodEnum<{
859
+ ui: "ui";
860
+ agent: "agent";
861
+ mcp: "mcp";
862
+ api: "api";
863
+ }>>;
864
+ createdAt: z.ZodISODateTime;
865
+ updatedAt: z.ZodISODateTime;
866
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
867
+ }, z.core.$strip>;
868
+ comments: z.ZodArray<z.ZodObject<{
869
+ id: z.ZodString;
870
+ threadId: z.ZodString;
871
+ authorUserId: z.ZodString;
872
+ source: z.ZodEnum<{
873
+ ui: "ui";
874
+ agent: "agent";
875
+ mcp: "mcp";
876
+ api: "api";
877
+ }>;
878
+ body: z.ZodString;
879
+ createdAt: z.ZodISODateTime;
880
+ editedAt: z.ZodNullable<z.ZodISODateTime>;
881
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
882
+ }, z.core.$strip>>;
883
+ reactions: z.ZodArray<z.ZodObject<{
884
+ commentId: z.ZodString;
885
+ userId: z.ZodString;
886
+ emoji: z.ZodString;
887
+ createdAt: z.ZodISODateTime;
888
+ }, z.core.$strip>>;
889
+ authors: z.ZodArray<z.ZodObject<{
890
+ id: z.ZodString;
891
+ name: z.ZodString;
892
+ avatarUrl: z.ZodNullable<z.ZodString>;
893
+ deleted: z.ZodBoolean;
894
+ }, z.core.$strip>>;
895
+ target: z.ZodObject<{
896
+ kind: z.ZodEnum<{
897
+ file: "file";
898
+ sitePage: "sitePage";
899
+ order: "order";
900
+ asset: "asset";
901
+ experiment: "experiment";
902
+ }>;
903
+ fileId: z.ZodOptional<z.ZodString>;
904
+ fileName: z.ZodOptional<z.ZodString>;
905
+ filePath: z.ZodOptional<z.ZodString>;
906
+ artifactFolderId: z.ZodOptional<z.ZodString>;
907
+ fileDeleted: z.ZodOptional<z.ZodBoolean>;
908
+ siteId: z.ZodOptional<z.ZodString>;
909
+ path: z.ZodOptional<z.ZodString>;
910
+ url: z.ZodOptional<z.ZodString>;
911
+ orderId: z.ZodOptional<z.ZodString>;
912
+ assetId: z.ZodOptional<z.ZodString>;
913
+ experimentId: z.ZodOptional<z.ZodString>;
914
+ experimentName: z.ZodOptional<z.ZodString>;
915
+ }, z.core.$strip>;
916
+ }, z.core.$strip>;
917
+ /**
918
+ * The realtime keys `comments-changed` is broadcast under (D-26 §2). The
919
+ * server sends every key a thread belongs to; a client listens on the one its
920
+ * list query covers.
921
+ */
922
+ export declare const commentsChangedKeys: {
923
+ file: (fileId: string) => string;
924
+ folder: (folderId: string) => string;
925
+ /** One page; `path` is the stored, canonical route pattern. */
926
+ sitePage: (siteId: string, path: string) => string;
927
+ /** Every page of a site. */
928
+ site: (siteId: string) => string;
929
+ order: (orderId: string) => string;
930
+ asset: (assetId: string) => string;
931
+ experiment: (experimentId: string) => string;
932
+ };