@drawcall/design 0.8.1 → 0.9.1

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.
@@ -0,0 +1,750 @@
1
+ import type { Command } from "commander";
2
+ export declare function clientFor(command: Command): Promise<{
3
+ user: {
4
+ me: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
5
+ id: import("zod").ZodString;
6
+ name: import("zod").ZodString;
7
+ email: import("zod").ZodString;
8
+ image: import("zod").ZodNullable<import("zod").ZodString>;
9
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
10
+ };
11
+ project: {
12
+ list: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodArray<import("zod").ZodObject<{
13
+ id: import("zod").ZodString;
14
+ name: import("zod").ZodString;
15
+ sourceBrief: import("zod").ZodNullable<import("zod").ZodString>;
16
+ title: import("zod").ZodNullable<import("zod").ZodString>;
17
+ summary: import("zod").ZodNullable<import("zod").ZodString>;
18
+ derivationStatus: import("zod").ZodEnum<{
19
+ not_requested: "not_requested";
20
+ pending: "pending";
21
+ failed: "failed";
22
+ complete: "complete";
23
+ }>;
24
+ createdAt: import("zod").ZodString;
25
+ updatedAt: import("zod").ZodString;
26
+ }, import("zod/v4/core").$strip>>, Record<never, never>>;
27
+ create: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
28
+ name: import("zod").ZodString;
29
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
30
+ id: import("zod").ZodString;
31
+ name: import("zod").ZodString;
32
+ sourceBrief: import("zod").ZodNullable<import("zod").ZodString>;
33
+ title: import("zod").ZodNullable<import("zod").ZodString>;
34
+ summary: import("zod").ZodNullable<import("zod").ZodString>;
35
+ derivationStatus: import("zod").ZodEnum<{
36
+ not_requested: "not_requested";
37
+ pending: "pending";
38
+ failed: "failed";
39
+ complete: "complete";
40
+ }>;
41
+ createdAt: import("zod").ZodString;
42
+ updatedAt: import("zod").ZodString;
43
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
44
+ createFromBrief: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
45
+ brief: import("zod").ZodString;
46
+ requestId: import("zod").ZodString;
47
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
48
+ id: import("zod").ZodString;
49
+ name: import("zod").ZodString;
50
+ sourceBrief: import("zod").ZodNullable<import("zod").ZodString>;
51
+ title: import("zod").ZodNullable<import("zod").ZodString>;
52
+ summary: import("zod").ZodNullable<import("zod").ZodString>;
53
+ derivationStatus: import("zod").ZodEnum<{
54
+ not_requested: "not_requested";
55
+ pending: "pending";
56
+ failed: "failed";
57
+ complete: "complete";
58
+ }>;
59
+ createdAt: import("zod").ZodString;
60
+ updatedAt: import("zod").ZodString;
61
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
62
+ retryDerivation: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
63
+ project: import("zod").ZodString;
64
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
65
+ id: import("zod").ZodString;
66
+ name: import("zod").ZodString;
67
+ sourceBrief: import("zod").ZodNullable<import("zod").ZodString>;
68
+ title: import("zod").ZodNullable<import("zod").ZodString>;
69
+ summary: import("zod").ZodNullable<import("zod").ZodString>;
70
+ derivationStatus: import("zod").ZodEnum<{
71
+ not_requested: "not_requested";
72
+ pending: "pending";
73
+ failed: "failed";
74
+ complete: "complete";
75
+ }>;
76
+ createdAt: import("zod").ZodString;
77
+ updatedAt: import("zod").ZodString;
78
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
79
+ rename: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
80
+ project: import("zod").ZodString;
81
+ name: import("zod").ZodString;
82
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
83
+ id: import("zod").ZodString;
84
+ name: import("zod").ZodString;
85
+ sourceBrief: import("zod").ZodNullable<import("zod").ZodString>;
86
+ title: import("zod").ZodNullable<import("zod").ZodString>;
87
+ summary: import("zod").ZodNullable<import("zod").ZodString>;
88
+ derivationStatus: import("zod").ZodEnum<{
89
+ not_requested: "not_requested";
90
+ pending: "pending";
91
+ failed: "failed";
92
+ complete: "complete";
93
+ }>;
94
+ createdAt: import("zod").ZodString;
95
+ updatedAt: import("zod").ZodString;
96
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
97
+ delete: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
98
+ project: import("zod").ZodString;
99
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
100
+ id: import("zod").ZodString;
101
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
102
+ };
103
+ frame: {
104
+ list: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
105
+ project: import("zod").ZodString;
106
+ }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
107
+ id: import("zod").ZodString;
108
+ projectId: import("zod").ZodString;
109
+ name: import("zod").ZodString;
110
+ x: import("zod").ZodNumber;
111
+ y: import("zod").ZodNumber;
112
+ width: import("zod").ZodNumber;
113
+ height: import("zod").ZodNumber;
114
+ viewUrl: import("zod").ZodString;
115
+ createdAt: import("zod").ZodString;
116
+ updatedAt: import("zod").ZodString;
117
+ type: import("zod").ZodLiteral<"glts">;
118
+ camera: import("zod").ZodOptional<import("zod").ZodObject<{
119
+ position: import("zod").ZodObject<{
120
+ x: import("zod").ZodNumber;
121
+ y: import("zod").ZodNumber;
122
+ z: import("zod").ZodNumber;
123
+ }, import("zod/v4/core").$strict>;
124
+ quaternion: import("zod").ZodObject<{
125
+ x: import("zod").ZodNumber;
126
+ y: import("zod").ZodNumber;
127
+ z: import("zod").ZodNumber;
128
+ w: import("zod").ZodNumber;
129
+ }, import("zod/v4/core").$strict>;
130
+ }, import("zod/v4/core").$strict>>;
131
+ contentRevision: import("zod").ZodNumber;
132
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
133
+ id: import("zod").ZodString;
134
+ projectId: import("zod").ZodString;
135
+ name: import("zod").ZodString;
136
+ x: import("zod").ZodNumber;
137
+ y: import("zod").ZodNumber;
138
+ width: import("zod").ZodNumber;
139
+ height: import("zod").ZodNumber;
140
+ viewUrl: import("zod").ZodString;
141
+ createdAt: import("zod").ZodString;
142
+ updatedAt: import("zod").ZodString;
143
+ type: import("zod").ZodLiteral<"image">;
144
+ file: import("zod").ZodString;
145
+ provenance: import("zod").ZodOptional<import("zod").ZodObject<{
146
+ kind: import("zod").ZodLiteral<"generated">;
147
+ operation: import("zod").ZodEnum<{
148
+ generate: "generate";
149
+ edit: "edit";
150
+ }>;
151
+ prompt: import("zod").ZodString;
152
+ references: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
153
+ kind: import("zod").ZodLiteral<"url">;
154
+ url: import("zod").ZodString;
155
+ digest: import("zod").ZodString;
156
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
157
+ kind: import("zod").ZodLiteral<"file">;
158
+ name: import("zod").ZodString;
159
+ digest: import("zod").ZodString;
160
+ }, import("zod/v4/core").$strict>], "kind">>;
161
+ result: import("zod").ZodEnum<{
162
+ replace: "replace";
163
+ new: "new";
164
+ }>;
165
+ provider: import("zod").ZodLiteral<"fal-ai">;
166
+ model: import("zod").ZodLiteral<"openai/gpt-image-2">;
167
+ }, import("zod/v4/core").$strip>>;
168
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
169
+ id: import("zod").ZodString;
170
+ projectId: import("zod").ZodString;
171
+ name: import("zod").ZodString;
172
+ x: import("zod").ZodNumber;
173
+ y: import("zod").ZodNumber;
174
+ width: import("zod").ZodNumber;
175
+ height: import("zod").ZodNumber;
176
+ viewUrl: import("zod").ZodString;
177
+ createdAt: import("zod").ZodString;
178
+ updatedAt: import("zod").ZodString;
179
+ type: import("zod").ZodLiteral<"market">;
180
+ asset: import("zod").ZodString;
181
+ }, import("zod/v4/core").$strip>], "type">>, Record<never, never>>;
182
+ create: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
183
+ project: import("zod").ZodString;
184
+ name: import("zod").ZodString;
185
+ x: import("zod").ZodOptional<import("zod").ZodNumber>;
186
+ y: import("zod").ZodOptional<import("zod").ZodNumber>;
187
+ type: import("zod").ZodLiteral<"glts">;
188
+ width: import("zod").ZodNumber;
189
+ height: import("zod").ZodNumber;
190
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
191
+ project: import("zod").ZodString;
192
+ name: import("zod").ZodString;
193
+ x: import("zod").ZodOptional<import("zod").ZodNumber>;
194
+ y: import("zod").ZodOptional<import("zod").ZodNumber>;
195
+ type: import("zod").ZodLiteral<"image">;
196
+ image: import("zod").ZodUnion<readonly [import("zod").ZodFile, import("zod").ZodString]>;
197
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
198
+ project: import("zod").ZodString;
199
+ name: import("zod").ZodString;
200
+ x: import("zod").ZodOptional<import("zod").ZodNumber>;
201
+ y: import("zod").ZodOptional<import("zod").ZodNumber>;
202
+ type: import("zod").ZodLiteral<"market">;
203
+ asset: import("zod").ZodString;
204
+ }, import("zod/v4/core").$strict>], "type">, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
205
+ id: import("zod").ZodString;
206
+ projectId: import("zod").ZodString;
207
+ name: import("zod").ZodString;
208
+ x: import("zod").ZodNumber;
209
+ y: import("zod").ZodNumber;
210
+ width: import("zod").ZodNumber;
211
+ height: import("zod").ZodNumber;
212
+ viewUrl: import("zod").ZodString;
213
+ createdAt: import("zod").ZodString;
214
+ updatedAt: import("zod").ZodString;
215
+ type: import("zod").ZodLiteral<"glts">;
216
+ camera: import("zod").ZodOptional<import("zod").ZodObject<{
217
+ position: import("zod").ZodObject<{
218
+ x: import("zod").ZodNumber;
219
+ y: import("zod").ZodNumber;
220
+ z: import("zod").ZodNumber;
221
+ }, import("zod/v4/core").$strict>;
222
+ quaternion: import("zod").ZodObject<{
223
+ x: import("zod").ZodNumber;
224
+ y: import("zod").ZodNumber;
225
+ z: import("zod").ZodNumber;
226
+ w: import("zod").ZodNumber;
227
+ }, import("zod/v4/core").$strict>;
228
+ }, import("zod/v4/core").$strict>>;
229
+ contentRevision: import("zod").ZodNumber;
230
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
231
+ id: import("zod").ZodString;
232
+ projectId: import("zod").ZodString;
233
+ name: import("zod").ZodString;
234
+ x: import("zod").ZodNumber;
235
+ y: import("zod").ZodNumber;
236
+ width: import("zod").ZodNumber;
237
+ height: import("zod").ZodNumber;
238
+ viewUrl: import("zod").ZodString;
239
+ createdAt: import("zod").ZodString;
240
+ updatedAt: import("zod").ZodString;
241
+ type: import("zod").ZodLiteral<"image">;
242
+ file: import("zod").ZodString;
243
+ provenance: import("zod").ZodOptional<import("zod").ZodObject<{
244
+ kind: import("zod").ZodLiteral<"generated">;
245
+ operation: import("zod").ZodEnum<{
246
+ generate: "generate";
247
+ edit: "edit";
248
+ }>;
249
+ prompt: import("zod").ZodString;
250
+ references: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
251
+ kind: import("zod").ZodLiteral<"url">;
252
+ url: import("zod").ZodString;
253
+ digest: import("zod").ZodString;
254
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
255
+ kind: import("zod").ZodLiteral<"file">;
256
+ name: import("zod").ZodString;
257
+ digest: import("zod").ZodString;
258
+ }, import("zod/v4/core").$strict>], "kind">>;
259
+ result: import("zod").ZodEnum<{
260
+ replace: "replace";
261
+ new: "new";
262
+ }>;
263
+ provider: import("zod").ZodLiteral<"fal-ai">;
264
+ model: import("zod").ZodLiteral<"openai/gpt-image-2">;
265
+ }, import("zod/v4/core").$strip>>;
266
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
267
+ id: import("zod").ZodString;
268
+ projectId: import("zod").ZodString;
269
+ name: import("zod").ZodString;
270
+ x: import("zod").ZodNumber;
271
+ y: import("zod").ZodNumber;
272
+ width: import("zod").ZodNumber;
273
+ height: import("zod").ZodNumber;
274
+ viewUrl: import("zod").ZodString;
275
+ createdAt: import("zod").ZodString;
276
+ updatedAt: import("zod").ZodString;
277
+ type: import("zod").ZodLiteral<"market">;
278
+ asset: import("zod").ZodString;
279
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
280
+ generateImage: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
281
+ result: import("zod").ZodLiteral<"new">;
282
+ name: import("zod").ZodString;
283
+ x: import("zod").ZodOptional<import("zod").ZodNumber>;
284
+ y: import("zod").ZodOptional<import("zod").ZodNumber>;
285
+ operation: import("zod").ZodLiteral<"generate">;
286
+ references: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodFile, import("zod").ZodString]>>>;
287
+ project: import("zod").ZodString;
288
+ prompt: import("zod").ZodString;
289
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
290
+ result: import("zod").ZodLiteral<"new">;
291
+ name: import("zod").ZodString;
292
+ x: import("zod").ZodOptional<import("zod").ZodNumber>;
293
+ y: import("zod").ZodOptional<import("zod").ZodNumber>;
294
+ operation: import("zod").ZodLiteral<"edit">;
295
+ target: import("zod").ZodString;
296
+ references: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodFile, import("zod").ZodString]>>>;
297
+ project: import("zod").ZodString;
298
+ prompt: import("zod").ZodString;
299
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
300
+ operation: import("zod").ZodLiteral<"edit">;
301
+ target: import("zod").ZodString;
302
+ references: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodFile, import("zod").ZodString]>>>;
303
+ result: import("zod").ZodLiteral<"replace">;
304
+ name: import("zod").ZodOptional<import("zod").ZodNever>;
305
+ x: import("zod").ZodOptional<import("zod").ZodNever>;
306
+ y: import("zod").ZodOptional<import("zod").ZodNever>;
307
+ project: import("zod").ZodString;
308
+ prompt: import("zod").ZodString;
309
+ }, import("zod/v4/core").$strict>]>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
310
+ id: import("zod").ZodString;
311
+ projectId: import("zod").ZodString;
312
+ name: import("zod").ZodString;
313
+ x: import("zod").ZodNumber;
314
+ y: import("zod").ZodNumber;
315
+ width: import("zod").ZodNumber;
316
+ height: import("zod").ZodNumber;
317
+ viewUrl: import("zod").ZodString;
318
+ createdAt: import("zod").ZodString;
319
+ updatedAt: import("zod").ZodString;
320
+ type: import("zod").ZodLiteral<"glts">;
321
+ camera: import("zod").ZodOptional<import("zod").ZodObject<{
322
+ position: import("zod").ZodObject<{
323
+ x: import("zod").ZodNumber;
324
+ y: import("zod").ZodNumber;
325
+ z: import("zod").ZodNumber;
326
+ }, import("zod/v4/core").$strict>;
327
+ quaternion: import("zod").ZodObject<{
328
+ x: import("zod").ZodNumber;
329
+ y: import("zod").ZodNumber;
330
+ z: import("zod").ZodNumber;
331
+ w: import("zod").ZodNumber;
332
+ }, import("zod/v4/core").$strict>;
333
+ }, import("zod/v4/core").$strict>>;
334
+ contentRevision: import("zod").ZodNumber;
335
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
336
+ id: import("zod").ZodString;
337
+ projectId: import("zod").ZodString;
338
+ name: import("zod").ZodString;
339
+ x: import("zod").ZodNumber;
340
+ y: import("zod").ZodNumber;
341
+ width: import("zod").ZodNumber;
342
+ height: import("zod").ZodNumber;
343
+ viewUrl: import("zod").ZodString;
344
+ createdAt: import("zod").ZodString;
345
+ updatedAt: import("zod").ZodString;
346
+ type: import("zod").ZodLiteral<"image">;
347
+ file: import("zod").ZodString;
348
+ provenance: import("zod").ZodOptional<import("zod").ZodObject<{
349
+ kind: import("zod").ZodLiteral<"generated">;
350
+ operation: import("zod").ZodEnum<{
351
+ generate: "generate";
352
+ edit: "edit";
353
+ }>;
354
+ prompt: import("zod").ZodString;
355
+ references: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
356
+ kind: import("zod").ZodLiteral<"url">;
357
+ url: import("zod").ZodString;
358
+ digest: import("zod").ZodString;
359
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
360
+ kind: import("zod").ZodLiteral<"file">;
361
+ name: import("zod").ZodString;
362
+ digest: import("zod").ZodString;
363
+ }, import("zod/v4/core").$strict>], "kind">>;
364
+ result: import("zod").ZodEnum<{
365
+ replace: "replace";
366
+ new: "new";
367
+ }>;
368
+ provider: import("zod").ZodLiteral<"fal-ai">;
369
+ model: import("zod").ZodLiteral<"openai/gpt-image-2">;
370
+ }, import("zod/v4/core").$strip>>;
371
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
372
+ id: import("zod").ZodString;
373
+ projectId: import("zod").ZodString;
374
+ name: import("zod").ZodString;
375
+ x: import("zod").ZodNumber;
376
+ y: import("zod").ZodNumber;
377
+ width: import("zod").ZodNumber;
378
+ height: import("zod").ZodNumber;
379
+ viewUrl: import("zod").ZodString;
380
+ createdAt: import("zod").ZodString;
381
+ updatedAt: import("zod").ZodString;
382
+ type: import("zod").ZodLiteral<"market">;
383
+ asset: import("zod").ZodString;
384
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
385
+ rename: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
386
+ project: import("zod").ZodString;
387
+ frame: import("zod").ZodString;
388
+ name: import("zod").ZodString;
389
+ }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
390
+ id: import("zod").ZodString;
391
+ projectId: import("zod").ZodString;
392
+ name: import("zod").ZodString;
393
+ x: import("zod").ZodNumber;
394
+ y: import("zod").ZodNumber;
395
+ width: import("zod").ZodNumber;
396
+ height: import("zod").ZodNumber;
397
+ viewUrl: import("zod").ZodString;
398
+ createdAt: import("zod").ZodString;
399
+ updatedAt: import("zod").ZodString;
400
+ type: import("zod").ZodLiteral<"glts">;
401
+ camera: import("zod").ZodOptional<import("zod").ZodObject<{
402
+ position: import("zod").ZodObject<{
403
+ x: import("zod").ZodNumber;
404
+ y: import("zod").ZodNumber;
405
+ z: import("zod").ZodNumber;
406
+ }, import("zod/v4/core").$strict>;
407
+ quaternion: import("zod").ZodObject<{
408
+ x: import("zod").ZodNumber;
409
+ y: import("zod").ZodNumber;
410
+ z: import("zod").ZodNumber;
411
+ w: import("zod").ZodNumber;
412
+ }, import("zod/v4/core").$strict>;
413
+ }, import("zod/v4/core").$strict>>;
414
+ contentRevision: import("zod").ZodNumber;
415
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
416
+ id: import("zod").ZodString;
417
+ projectId: import("zod").ZodString;
418
+ name: import("zod").ZodString;
419
+ x: import("zod").ZodNumber;
420
+ y: import("zod").ZodNumber;
421
+ width: import("zod").ZodNumber;
422
+ height: import("zod").ZodNumber;
423
+ viewUrl: import("zod").ZodString;
424
+ createdAt: import("zod").ZodString;
425
+ updatedAt: import("zod").ZodString;
426
+ type: import("zod").ZodLiteral<"image">;
427
+ file: import("zod").ZodString;
428
+ provenance: import("zod").ZodOptional<import("zod").ZodObject<{
429
+ kind: import("zod").ZodLiteral<"generated">;
430
+ operation: import("zod").ZodEnum<{
431
+ generate: "generate";
432
+ edit: "edit";
433
+ }>;
434
+ prompt: import("zod").ZodString;
435
+ references: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
436
+ kind: import("zod").ZodLiteral<"url">;
437
+ url: import("zod").ZodString;
438
+ digest: import("zod").ZodString;
439
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
440
+ kind: import("zod").ZodLiteral<"file">;
441
+ name: import("zod").ZodString;
442
+ digest: import("zod").ZodString;
443
+ }, import("zod/v4/core").$strict>], "kind">>;
444
+ result: import("zod").ZodEnum<{
445
+ replace: "replace";
446
+ new: "new";
447
+ }>;
448
+ provider: import("zod").ZodLiteral<"fal-ai">;
449
+ model: import("zod").ZodLiteral<"openai/gpt-image-2">;
450
+ }, import("zod/v4/core").$strip>>;
451
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
452
+ id: import("zod").ZodString;
453
+ projectId: import("zod").ZodString;
454
+ name: import("zod").ZodString;
455
+ x: import("zod").ZodNumber;
456
+ y: import("zod").ZodNumber;
457
+ width: import("zod").ZodNumber;
458
+ height: import("zod").ZodNumber;
459
+ viewUrl: import("zod").ZodString;
460
+ createdAt: import("zod").ZodString;
461
+ updatedAt: import("zod").ZodString;
462
+ type: import("zod").ZodLiteral<"market">;
463
+ asset: import("zod").ZodString;
464
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
465
+ setCamera: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
466
+ project: import("zod").ZodString;
467
+ frame: import("zod").ZodString;
468
+ camera: import("zod").ZodObject<{
469
+ position: import("zod").ZodObject<{
470
+ x: import("zod").ZodNumber;
471
+ y: import("zod").ZodNumber;
472
+ z: import("zod").ZodNumber;
473
+ }, import("zod/v4/core").$strict>;
474
+ quaternion: import("zod").ZodObject<{
475
+ x: import("zod").ZodNumber;
476
+ y: import("zod").ZodNumber;
477
+ z: import("zod").ZodNumber;
478
+ w: import("zod").ZodNumber;
479
+ }, import("zod/v4/core").$strict>;
480
+ }, import("zod/v4/core").$strict>;
481
+ expectedContentRevision: import("zod").ZodNumber;
482
+ expectedUpdatedAt: import("zod").ZodString;
483
+ }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
484
+ id: import("zod").ZodString;
485
+ projectId: import("zod").ZodString;
486
+ name: import("zod").ZodString;
487
+ x: import("zod").ZodNumber;
488
+ y: import("zod").ZodNumber;
489
+ width: import("zod").ZodNumber;
490
+ height: import("zod").ZodNumber;
491
+ viewUrl: import("zod").ZodString;
492
+ createdAt: import("zod").ZodString;
493
+ updatedAt: import("zod").ZodString;
494
+ type: import("zod").ZodLiteral<"glts">;
495
+ camera: import("zod").ZodOptional<import("zod").ZodObject<{
496
+ position: import("zod").ZodObject<{
497
+ x: import("zod").ZodNumber;
498
+ y: import("zod").ZodNumber;
499
+ z: import("zod").ZodNumber;
500
+ }, import("zod/v4/core").$strict>;
501
+ quaternion: import("zod").ZodObject<{
502
+ x: import("zod").ZodNumber;
503
+ y: import("zod").ZodNumber;
504
+ z: import("zod").ZodNumber;
505
+ w: import("zod").ZodNumber;
506
+ }, import("zod/v4/core").$strict>;
507
+ }, import("zod/v4/core").$strict>>;
508
+ contentRevision: import("zod").ZodNumber;
509
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
510
+ id: import("zod").ZodString;
511
+ projectId: import("zod").ZodString;
512
+ name: import("zod").ZodString;
513
+ x: import("zod").ZodNumber;
514
+ y: import("zod").ZodNumber;
515
+ width: import("zod").ZodNumber;
516
+ height: import("zod").ZodNumber;
517
+ viewUrl: import("zod").ZodString;
518
+ createdAt: import("zod").ZodString;
519
+ updatedAt: import("zod").ZodString;
520
+ type: import("zod").ZodLiteral<"image">;
521
+ file: import("zod").ZodString;
522
+ provenance: import("zod").ZodOptional<import("zod").ZodObject<{
523
+ kind: import("zod").ZodLiteral<"generated">;
524
+ operation: import("zod").ZodEnum<{
525
+ generate: "generate";
526
+ edit: "edit";
527
+ }>;
528
+ prompt: import("zod").ZodString;
529
+ references: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
530
+ kind: import("zod").ZodLiteral<"url">;
531
+ url: import("zod").ZodString;
532
+ digest: import("zod").ZodString;
533
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
534
+ kind: import("zod").ZodLiteral<"file">;
535
+ name: import("zod").ZodString;
536
+ digest: import("zod").ZodString;
537
+ }, import("zod/v4/core").$strict>], "kind">>;
538
+ result: import("zod").ZodEnum<{
539
+ replace: "replace";
540
+ new: "new";
541
+ }>;
542
+ provider: import("zod").ZodLiteral<"fal-ai">;
543
+ model: import("zod").ZodLiteral<"openai/gpt-image-2">;
544
+ }, import("zod/v4/core").$strip>>;
545
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
546
+ id: import("zod").ZodString;
547
+ projectId: import("zod").ZodString;
548
+ name: import("zod").ZodString;
549
+ x: import("zod").ZodNumber;
550
+ y: import("zod").ZodNumber;
551
+ width: import("zod").ZodNumber;
552
+ height: import("zod").ZodNumber;
553
+ viewUrl: import("zod").ZodString;
554
+ createdAt: import("zod").ZodString;
555
+ updatedAt: import("zod").ZodString;
556
+ type: import("zod").ZodLiteral<"market">;
557
+ asset: import("zod").ZodString;
558
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
559
+ setLayout: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
560
+ project: import("zod").ZodString;
561
+ frame: import("zod").ZodString;
562
+ x: import("zod").ZodNumber;
563
+ y: import("zod").ZodNumber;
564
+ width: import("zod").ZodNumber;
565
+ height: import("zod").ZodNumber;
566
+ }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
567
+ id: import("zod").ZodString;
568
+ projectId: import("zod").ZodString;
569
+ name: import("zod").ZodString;
570
+ x: import("zod").ZodNumber;
571
+ y: import("zod").ZodNumber;
572
+ width: import("zod").ZodNumber;
573
+ height: import("zod").ZodNumber;
574
+ viewUrl: import("zod").ZodString;
575
+ createdAt: import("zod").ZodString;
576
+ updatedAt: import("zod").ZodString;
577
+ type: import("zod").ZodLiteral<"glts">;
578
+ camera: import("zod").ZodOptional<import("zod").ZodObject<{
579
+ position: import("zod").ZodObject<{
580
+ x: import("zod").ZodNumber;
581
+ y: import("zod").ZodNumber;
582
+ z: import("zod").ZodNumber;
583
+ }, import("zod/v4/core").$strict>;
584
+ quaternion: import("zod").ZodObject<{
585
+ x: import("zod").ZodNumber;
586
+ y: import("zod").ZodNumber;
587
+ z: import("zod").ZodNumber;
588
+ w: import("zod").ZodNumber;
589
+ }, import("zod/v4/core").$strict>;
590
+ }, import("zod/v4/core").$strict>>;
591
+ contentRevision: import("zod").ZodNumber;
592
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
593
+ id: import("zod").ZodString;
594
+ projectId: import("zod").ZodString;
595
+ name: import("zod").ZodString;
596
+ x: import("zod").ZodNumber;
597
+ y: import("zod").ZodNumber;
598
+ width: import("zod").ZodNumber;
599
+ height: import("zod").ZodNumber;
600
+ viewUrl: import("zod").ZodString;
601
+ createdAt: import("zod").ZodString;
602
+ updatedAt: import("zod").ZodString;
603
+ type: import("zod").ZodLiteral<"image">;
604
+ file: import("zod").ZodString;
605
+ provenance: import("zod").ZodOptional<import("zod").ZodObject<{
606
+ kind: import("zod").ZodLiteral<"generated">;
607
+ operation: import("zod").ZodEnum<{
608
+ generate: "generate";
609
+ edit: "edit";
610
+ }>;
611
+ prompt: import("zod").ZodString;
612
+ references: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
613
+ kind: import("zod").ZodLiteral<"url">;
614
+ url: import("zod").ZodString;
615
+ digest: import("zod").ZodString;
616
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
617
+ kind: import("zod").ZodLiteral<"file">;
618
+ name: import("zod").ZodString;
619
+ digest: import("zod").ZodString;
620
+ }, import("zod/v4/core").$strict>], "kind">>;
621
+ result: import("zod").ZodEnum<{
622
+ replace: "replace";
623
+ new: "new";
624
+ }>;
625
+ provider: import("zod").ZodLiteral<"fal-ai">;
626
+ model: import("zod").ZodLiteral<"openai/gpt-image-2">;
627
+ }, import("zod/v4/core").$strip>>;
628
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
629
+ id: import("zod").ZodString;
630
+ projectId: import("zod").ZodString;
631
+ name: import("zod").ZodString;
632
+ x: import("zod").ZodNumber;
633
+ y: import("zod").ZodNumber;
634
+ width: import("zod").ZodNumber;
635
+ height: import("zod").ZodNumber;
636
+ viewUrl: import("zod").ZodString;
637
+ createdAt: import("zod").ZodString;
638
+ updatedAt: import("zod").ZodString;
639
+ type: import("zod").ZodLiteral<"market">;
640
+ asset: import("zod").ZodString;
641
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
642
+ delete: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
643
+ project: import("zod").ZodString;
644
+ frame: import("zod").ZodString;
645
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
646
+ id: import("zod").ZodString;
647
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
648
+ screenshot: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
649
+ project: import("zod").ZodString;
650
+ frame: import("zod").ZodString;
651
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
652
+ url: import("zod").ZodString;
653
+ width: import("zod").ZodNumber;
654
+ height: import("zod").ZodNumber;
655
+ mediaType: import("zod").ZodLiteral<"image/png">;
656
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
657
+ prepareExport: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
658
+ project: import("zod").ZodString;
659
+ frame: import("zod").ZodString;
660
+ }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
661
+ frameId: import("zod").ZodString;
662
+ frameName: import("zod").ZodString;
663
+ projectId: import("zod").ZodString;
664
+ type: import("zod").ZodLiteral<"glts">;
665
+ runtime: import("zod").ZodObject<{
666
+ gltf: import("zod").ZodObject<{
667
+ filename: import("zod").ZodString;
668
+ }, import("zod/v4/core").$strip>;
669
+ stl: import("zod").ZodObject<{
670
+ filename: import("zod").ZodString;
671
+ }, import("zod/v4/core").$strip>;
672
+ }, import("zod/v4/core").$strip>;
673
+ sourceArchive: import("zod").ZodNullable<import("zod").ZodObject<{
674
+ filename: import("zod").ZodString;
675
+ url: import("zod").ZodString;
676
+ mediaType: import("zod").ZodLiteral<"application/zip">;
677
+ }, import("zod/v4/core").$strict>>;
678
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
679
+ frameId: import("zod").ZodString;
680
+ frameName: import("zod").ZodString;
681
+ projectId: import("zod").ZodString;
682
+ type: import("zod").ZodLiteral<"image">;
683
+ download: import("zod").ZodObject<{
684
+ filename: import("zod").ZodString;
685
+ url: import("zod").ZodString;
686
+ mediaType: import("zod").ZodEnum<{
687
+ "image/png": "image/png";
688
+ "image/jpeg": "image/jpeg";
689
+ "image/webp": "image/webp";
690
+ }>;
691
+ }, import("zod/v4/core").$strict>;
692
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
693
+ frameId: import("zod").ZodString;
694
+ frameName: import("zod").ZodString;
695
+ projectId: import("zod").ZodString;
696
+ type: import("zod").ZodLiteral<"market">;
697
+ asset: import("zod").ZodString;
698
+ download: import("zod").ZodObject<{
699
+ filename: import("zod").ZodString;
700
+ url: import("zod").ZodString;
701
+ mediaType: import("zod").ZodLiteral<"application/zip">;
702
+ }, import("zod/v4/core").$strict>;
703
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
704
+ };
705
+ filesystem: {
706
+ list: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
707
+ project: import("zod").ZodString;
708
+ path: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"/">, import("zod").ZodString]>>;
709
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
710
+ paths: import("zod").ZodArray<import("zod").ZodString>;
711
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
712
+ read: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
713
+ project: import("zod").ZodString;
714
+ path: import("zod").ZodString;
715
+ }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
716
+ type: import("zod").ZodLiteral<"text">;
717
+ path: import("zod").ZodString;
718
+ text: import("zod").ZodString;
719
+ mediaType: import("zod").ZodLiteral<"text/plain">;
720
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
721
+ type: import("zod").ZodLiteral<"binary">;
722
+ path: import("zod").ZodString;
723
+ url: import("zod").ZodString;
724
+ mediaType: import("zod").ZodString;
725
+ }, import("zod/v4/core").$strip>], "type">, Record<never, never>>;
726
+ write: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
727
+ project: import("zod").ZodString;
728
+ path: import("zod").ZodString;
729
+ text: import("zod").ZodString;
730
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
731
+ paths: import("zod").ZodArray<import("zod").ZodString>;
732
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
733
+ edit: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
734
+ project: import("zod").ZodString;
735
+ path: import("zod").ZodString;
736
+ oldText: import("zod").ZodString;
737
+ newText: import("zod").ZodString;
738
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
739
+ paths: import("zod").ZodArray<import("zod").ZodString>;
740
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
741
+ delete: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
742
+ project: import("zod").ZodString;
743
+ path: import("zod").ZodString;
744
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
745
+ paths: import("zod").ZodArray<import("zod").ZodString>;
746
+ }, import("zod/v4/core").$strip>, Record<never, never>>;
747
+ };
748
+ }>;
749
+ export declare function projectId(command: Command): string;
750
+ export declare function requireConfirmation(confirmed: boolean): void;