@slatesvideo/shared 0.7.18 → 0.7.20

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.
@@ -8,6 +8,8 @@ import { type OrderedAttachmentRole, type ShotParams } from '../prompts/shot-spe
8
8
  export interface OperationContext {
9
9
  cloud: () => SlatesCloudClient;
10
10
  desktop: () => SlatesDesktopClient;
11
+ /** The Studio Agent attributes the final charge before it runs another paid operation. */
12
+ waitForCutFinish?: boolean;
11
13
  /**
12
14
  * Cancellation, propagated from the caller.
13
15
  *
@@ -198,6 +200,7 @@ declare const VIEW_CUT_SIDES: readonly ["bottom", "left", "right"];
198
200
  declare const VIEW_DOCK_SECTIONS: readonly ["storyboards", "library", "folders", "pinned"];
199
201
  declare const VIEW_WINDOW_LAYOUTS: readonly ["plan", "edit"];
200
202
  declare const VIEW_VIEWER_MODES: readonly ["source", "timeline"];
203
+ declare const VIEW_SHAPE_SETTINGS: readonly ["auto", "landscape", "vertical"];
201
204
  declare const VIEW_BOARD_LEVELS: readonly ["film", "scenes", "shot"];
202
205
  declare const VIEW_BOARD_FILTERS: readonly ["all", "with-clip", "without-clip"];
203
206
  declare const VIEW_MEDIA_TABS: readonly ["all", "images", "videos", "audio"];
@@ -207,24 +210,71 @@ declare const gridSelectionInput: z.ZodObject<{
207
210
  rowKeys: z.ZodArray<z.ZodString, "many">;
208
211
  aspects: z.ZodArray<z.ZodString, "many">;
209
212
  }, "strict", z.ZodTypeAny, {
210
- rowKeys: string[];
211
213
  aspects: string[];
212
- }, {
213
214
  rowKeys: string[];
215
+ }, {
214
216
  aspects: string[];
217
+ rowKeys: string[];
218
+ }>;
219
+ declare const exportEncodingInput: z.ZodObject<{
220
+ presetId: z.ZodOptional<z.ZodEnum<["tiktok", "reels", "meta-feed", "stories", "shorts", "youtube"]>>;
221
+ codec: z.ZodOptional<z.ZodEnum<["h264", "h265", "prores"]>>;
222
+ videoBitrateMbps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
223
+ fps: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>>;
224
+ }, "strict", z.ZodTypeAny, {
225
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
226
+ codec?: "h264" | "h265" | "prores" | undefined;
227
+ videoBitrateMbps?: number | null | undefined;
228
+ fps?: 24 | 30 | 60 | null | undefined;
229
+ }, {
230
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
231
+ codec?: "h264" | "h265" | "prores" | undefined;
232
+ videoBitrateMbps?: number | null | undefined;
233
+ fps?: 24 | 30 | 60 | null | undefined;
215
234
  }>;
216
235
  declare const deliveryInput: z.ZodObject<{
217
236
  formats: z.ZodArray<z.ZodString, "many">;
218
237
  shortSide: z.ZodOptional<z.ZodNumber>;
219
238
  mode: z.ZodOptional<z.ZodEnum<["fill", "fit"]>>;
239
+ presetId: z.ZodOptional<z.ZodNullable<z.ZodEnum<["tiktok", "reels", "meta-feed", "stories", "shorts", "youtube"]>>>;
240
+ encoding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
241
+ presetId: z.ZodOptional<z.ZodEnum<["tiktok", "reels", "meta-feed", "stories", "shorts", "youtube"]>>;
242
+ codec: z.ZodOptional<z.ZodEnum<["h264", "h265", "prores"]>>;
243
+ videoBitrateMbps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
244
+ fps: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>>;
245
+ }, "strict", z.ZodTypeAny, {
246
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
247
+ codec?: "h264" | "h265" | "prores" | undefined;
248
+ videoBitrateMbps?: number | null | undefined;
249
+ fps?: 24 | 30 | 60 | null | undefined;
250
+ }, {
251
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
252
+ codec?: "h264" | "h265" | "prores" | undefined;
253
+ videoBitrateMbps?: number | null | undefined;
254
+ fps?: 24 | 30 | 60 | null | undefined;
255
+ }>>>;
220
256
  }, "strict", z.ZodTypeAny, {
221
257
  formats: string[];
222
258
  mode?: "fill" | "fit" | undefined;
259
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | null | undefined;
223
260
  shortSide?: number | undefined;
261
+ encoding?: {
262
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
263
+ codec?: "h264" | "h265" | "prores" | undefined;
264
+ videoBitrateMbps?: number | null | undefined;
265
+ fps?: 24 | 30 | 60 | null | undefined;
266
+ } | null | undefined;
224
267
  }, {
225
268
  formats: string[];
226
269
  mode?: "fill" | "fit" | undefined;
270
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | null | undefined;
227
271
  shortSide?: number | undefined;
272
+ encoding?: {
273
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | undefined;
274
+ codec?: "h264" | "h265" | "prores" | undefined;
275
+ videoBitrateMbps?: number | null | undefined;
276
+ fps?: 24 | 30 | 60 | null | undefined;
277
+ } | null | undefined;
228
278
  }>;
229
279
  declare const taxonomyInput: z.ZodObject<{
230
280
  concept: z.ZodString;
@@ -267,17 +317,17 @@ declare const gridBindingInput: z.ZodObject<{
267
317
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
318
  }, "strict", z.ZodTypeAny, {
269
319
  key: string;
320
+ alternativeId?: string | undefined;
321
+ sectionId?: string | undefined;
270
322
  label?: string | undefined;
271
323
  choicePosition?: number | undefined;
272
- sectionId?: string | undefined;
273
- alternativeId?: string | undefined;
274
324
  shotIds?: string[] | undefined;
275
325
  }, {
276
326
  key: string;
327
+ alternativeId?: string | undefined;
328
+ sectionId?: string | undefined;
277
329
  label?: string | undefined;
278
330
  choicePosition?: number | undefined;
279
- sectionId?: string | undefined;
280
- alternativeId?: string | undefined;
281
331
  shotIds?: string[] | undefined;
282
332
  }>>;
283
333
  body: z.ZodOptional<z.ZodObject<{
@@ -289,17 +339,17 @@ declare const gridBindingInput: z.ZodObject<{
289
339
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
290
340
  }, "strict", z.ZodTypeAny, {
291
341
  key: string;
342
+ alternativeId?: string | undefined;
343
+ sectionId?: string | undefined;
292
344
  label?: string | undefined;
293
345
  choicePosition?: number | undefined;
294
- sectionId?: string | undefined;
295
- alternativeId?: string | undefined;
296
346
  shotIds?: string[] | undefined;
297
347
  }, {
298
348
  key: string;
349
+ alternativeId?: string | undefined;
350
+ sectionId?: string | undefined;
299
351
  label?: string | undefined;
300
352
  choicePosition?: number | undefined;
301
- sectionId?: string | undefined;
302
- alternativeId?: string | undefined;
303
353
  shotIds?: string[] | undefined;
304
354
  }>>;
305
355
  endCard: z.ZodOptional<z.ZodObject<{
@@ -311,67 +361,67 @@ declare const gridBindingInput: z.ZodObject<{
311
361
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
312
362
  }, "strict", z.ZodTypeAny, {
313
363
  key: string;
364
+ alternativeId?: string | undefined;
365
+ sectionId?: string | undefined;
314
366
  label?: string | undefined;
315
367
  choicePosition?: number | undefined;
316
- sectionId?: string | undefined;
317
- alternativeId?: string | undefined;
318
368
  shotIds?: string[] | undefined;
319
369
  }, {
320
370
  key: string;
371
+ alternativeId?: string | undefined;
372
+ sectionId?: string | undefined;
321
373
  label?: string | undefined;
322
374
  choicePosition?: number | undefined;
323
- sectionId?: string | undefined;
324
- alternativeId?: string | undefined;
325
375
  shotIds?: string[] | undefined;
326
376
  }>>;
327
377
  }, "strict", z.ZodTypeAny, {
328
378
  hook?: {
329
379
  key: string;
380
+ alternativeId?: string | undefined;
381
+ sectionId?: string | undefined;
330
382
  label?: string | undefined;
331
383
  choicePosition?: number | undefined;
332
- sectionId?: string | undefined;
333
- alternativeId?: string | undefined;
334
384
  shotIds?: string[] | undefined;
335
385
  } | undefined;
336
386
  body?: {
337
387
  key: string;
388
+ alternativeId?: string | undefined;
389
+ sectionId?: string | undefined;
338
390
  label?: string | undefined;
339
391
  choicePosition?: number | undefined;
340
- sectionId?: string | undefined;
341
- alternativeId?: string | undefined;
342
392
  shotIds?: string[] | undefined;
343
393
  } | undefined;
344
394
  endCard?: {
345
395
  key: string;
396
+ alternativeId?: string | undefined;
397
+ sectionId?: string | undefined;
346
398
  label?: string | undefined;
347
399
  choicePosition?: number | undefined;
348
- sectionId?: string | undefined;
349
- alternativeId?: string | undefined;
350
400
  shotIds?: string[] | undefined;
351
401
  } | undefined;
352
402
  }, {
353
403
  hook?: {
354
404
  key: string;
405
+ alternativeId?: string | undefined;
406
+ sectionId?: string | undefined;
355
407
  label?: string | undefined;
356
408
  choicePosition?: number | undefined;
357
- sectionId?: string | undefined;
358
- alternativeId?: string | undefined;
359
409
  shotIds?: string[] | undefined;
360
410
  } | undefined;
361
411
  body?: {
362
412
  key: string;
413
+ alternativeId?: string | undefined;
414
+ sectionId?: string | undefined;
363
415
  label?: string | undefined;
364
416
  choicePosition?: number | undefined;
365
- sectionId?: string | undefined;
366
- alternativeId?: string | undefined;
367
417
  shotIds?: string[] | undefined;
368
418
  } | undefined;
369
419
  endCard?: {
370
420
  key: string;
421
+ alternativeId?: string | undefined;
422
+ sectionId?: string | undefined;
371
423
  label?: string | undefined;
372
424
  choicePosition?: number | undefined;
373
- sectionId?: string | undefined;
374
- alternativeId?: string | undefined;
375
425
  shotIds?: string[] | undefined;
376
426
  } | undefined;
377
427
  }>>;
@@ -382,26 +432,26 @@ declare const gridBindingInput: z.ZodObject<{
382
432
  slots?: {
383
433
  hook?: {
384
434
  key: string;
435
+ alternativeId?: string | undefined;
436
+ sectionId?: string | undefined;
385
437
  label?: string | undefined;
386
438
  choicePosition?: number | undefined;
387
- sectionId?: string | undefined;
388
- alternativeId?: string | undefined;
389
439
  shotIds?: string[] | undefined;
390
440
  } | undefined;
391
441
  body?: {
392
442
  key: string;
443
+ alternativeId?: string | undefined;
444
+ sectionId?: string | undefined;
393
445
  label?: string | undefined;
394
446
  choicePosition?: number | undefined;
395
- sectionId?: string | undefined;
396
- alternativeId?: string | undefined;
397
447
  shotIds?: string[] | undefined;
398
448
  } | undefined;
399
449
  endCard?: {
400
450
  key: string;
451
+ alternativeId?: string | undefined;
452
+ sectionId?: string | undefined;
401
453
  label?: string | undefined;
402
454
  choicePosition?: number | undefined;
403
- sectionId?: string | undefined;
404
- alternativeId?: string | undefined;
405
455
  shotIds?: string[] | undefined;
406
456
  } | undefined;
407
457
  } | undefined;
@@ -412,26 +462,26 @@ declare const gridBindingInput: z.ZodObject<{
412
462
  slots?: {
413
463
  hook?: {
414
464
  key: string;
465
+ alternativeId?: string | undefined;
466
+ sectionId?: string | undefined;
415
467
  label?: string | undefined;
416
468
  choicePosition?: number | undefined;
417
- sectionId?: string | undefined;
418
- alternativeId?: string | undefined;
419
469
  shotIds?: string[] | undefined;
420
470
  } | undefined;
421
471
  body?: {
422
472
  key: string;
473
+ alternativeId?: string | undefined;
474
+ sectionId?: string | undefined;
423
475
  label?: string | undefined;
424
476
  choicePosition?: number | undefined;
425
- sectionId?: string | undefined;
426
- alternativeId?: string | undefined;
427
477
  shotIds?: string[] | undefined;
428
478
  } | undefined;
429
479
  endCard?: {
430
480
  key: string;
481
+ alternativeId?: string | undefined;
482
+ sectionId?: string | undefined;
431
483
  label?: string | undefined;
432
484
  choicePosition?: number | undefined;
433
- sectionId?: string | undefined;
434
- alternativeId?: string | undefined;
435
485
  shotIds?: string[] | undefined;
436
486
  } | undefined;
437
487
  } | undefined;
@@ -517,6 +567,8 @@ export declare const setView: Operation<{
517
567
  open?: boolean;
518
568
  assetIds?: string[];
519
569
  };
570
+ review?: boolean;
571
+ reviewAssetIds?: string[] | null;
520
572
  animatic?: {
521
573
  open: boolean;
522
574
  fromShotId?: string;
@@ -530,6 +582,9 @@ export declare const setView: Operation<{
530
582
  };
531
583
  window?: {
532
584
  layout?: (typeof VIEW_WINDOW_LAYOUTS)[number];
585
+ preset?: string;
586
+ reset?: boolean;
587
+ shape?: (typeof VIEW_SHAPE_SETTINGS)[number];
533
588
  viewer?: boolean;
534
589
  inspector?: boolean;
535
590
  lensWidth?: number;
@@ -814,16 +869,16 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
814
869
  at: number;
815
870
  kind: "move";
816
871
  start?: number | undefined;
817
- peak?: number | undefined;
818
872
  end?: number | undefined;
819
873
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
874
+ peak?: number | undefined;
820
875
  }, {
821
876
  at: number;
822
877
  kind: "move";
823
878
  start?: number | undefined;
824
- peak?: number | undefined;
825
879
  end?: number | undefined;
826
880
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
881
+ peak?: number | undefined;
827
882
  }>, z.ZodObject<{
828
883
  kind: z.ZodLiteral<"add">;
829
884
  start: z.ZodNumber;
@@ -831,17 +886,17 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
831
886
  end: z.ZodNumber;
832
887
  direction: z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>;
833
888
  }, "strict", z.ZodTypeAny, {
834
- kind: "add";
835
889
  start: number;
836
- peak: number;
890
+ kind: "add";
837
891
  end: number;
838
892
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
893
+ peak: number;
839
894
  }, {
840
- kind: "add";
841
895
  start: number;
842
- peak: number;
896
+ kind: "add";
843
897
  end: number;
844
898
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
899
+ peak: number;
845
900
  }>, z.ZodObject<{
846
901
  kind: z.ZodLiteral<"delete">;
847
902
  at: z.ZodNumber;
@@ -896,6 +951,7 @@ export declare const estimateGenerationCost: Operation<{
896
951
  quality?: GptQualityId;
897
952
  aspectRatio?: string;
898
953
  sound?: boolean;
954
+ seedanceDraft?: boolean;
899
955
  seedanceFace?: boolean;
900
956
  seedanceRealFace?: boolean;
901
957
  referenceImages?: number;
@@ -1240,6 +1296,7 @@ export declare const generateVideo: Operation<{
1240
1296
  sound?: boolean;
1241
1297
  audioLanguage?: 'EN' | 'ZH' | 'JA' | 'KO' | 'ES';
1242
1298
  generateMusic?: boolean;
1299
+ seedanceDraft?: boolean;
1243
1300
  seedanceFace?: boolean;
1244
1301
  seedanceRealFace?: boolean;
1245
1302
  realFaceConsent?: boolean;
@@ -1464,6 +1521,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1464
1521
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1465
1522
  }, "strict", z.ZodTypeAny, {
1466
1523
  projectId: string;
1524
+ directory?: string | undefined;
1525
+ manifestId?: string | undefined;
1526
+ action?: "start" | "status" | "cancel" | undefined;
1467
1527
  items?: ({
1468
1528
  timelineId: string;
1469
1529
  format: "mp4" | "xml";
@@ -1482,9 +1542,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1482
1542
  lp?: string | undefined;
1483
1543
  } | undefined;
1484
1544
  })[] | undefined;
1485
- action?: "status" | "cancel" | "start" | undefined;
1486
- directory?: string | undefined;
1487
- manifestId?: string | undefined;
1488
1545
  version?: 2 | undefined;
1489
1546
  batchId?: string | undefined;
1490
1547
  exportRoot?: string | undefined;
@@ -1507,6 +1564,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1507
1564
  }> | undefined;
1508
1565
  }, {
1509
1566
  projectId: string;
1567
+ directory?: string | undefined;
1568
+ manifestId?: string | undefined;
1569
+ action?: "start" | "status" | "cancel" | undefined;
1510
1570
  items?: ({
1511
1571
  timelineId: string;
1512
1572
  format: "mp4" | "xml";
@@ -1525,9 +1585,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1525
1585
  lp?: string | undefined;
1526
1586
  } | undefined;
1527
1587
  })[] | undefined;
1528
- action?: "status" | "cancel" | "start" | undefined;
1529
- directory?: string | undefined;
1530
- manifestId?: string | undefined;
1531
1588
  version?: 2 | undefined;
1532
1589
  batchId?: string | undefined;
1533
1590
  exportRoot?: string | undefined;
@@ -1550,6 +1607,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1550
1607
  }> | undefined;
1551
1608
  }>, {
1552
1609
  projectId: string;
1610
+ directory?: string | undefined;
1611
+ manifestId?: string | undefined;
1612
+ action?: "start" | "status" | "cancel" | undefined;
1553
1613
  items?: ({
1554
1614
  timelineId: string;
1555
1615
  format: "mp4" | "xml";
@@ -1568,9 +1628,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1568
1628
  lp?: string | undefined;
1569
1629
  } | undefined;
1570
1630
  })[] | undefined;
1571
- action?: "status" | "cancel" | "start" | undefined;
1572
- directory?: string | undefined;
1573
- manifestId?: string | undefined;
1574
1631
  version?: 2 | undefined;
1575
1632
  batchId?: string | undefined;
1576
1633
  exportRoot?: string | undefined;
@@ -1593,6 +1650,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1593
1650
  }> | undefined;
1594
1651
  }, {
1595
1652
  projectId: string;
1653
+ directory?: string | undefined;
1654
+ manifestId?: string | undefined;
1655
+ action?: "start" | "status" | "cancel" | undefined;
1596
1656
  items?: ({
1597
1657
  timelineId: string;
1598
1658
  format: "mp4" | "xml";
@@ -1611,9 +1671,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1611
1671
  lp?: string | undefined;
1612
1672
  } | undefined;
1613
1673
  })[] | undefined;
1614
- action?: "status" | "cancel" | "start" | undefined;
1615
- directory?: string | undefined;
1616
- manifestId?: string | undefined;
1617
1674
  version?: 2 | undefined;
1618
1675
  batchId?: string | undefined;
1619
1676
  exportRoot?: string | undefined;
@@ -1692,26 +1749,26 @@ declare const variantSlotsInput: z.ZodObject<{
1692
1749
  sequenceId: z.ZodOptional<z.ZodString>;
1693
1750
  }, "strict", z.ZodTypeAny, {
1694
1751
  projectId: string;
1695
- action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1696
- at?: number | undefined;
1697
- name?: string | undefined;
1698
- alternativeId?: string | undefined;
1752
+ action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1699
1753
  timelineId?: string | undefined;
1754
+ at?: number | undefined;
1700
1755
  slotId?: string | undefined;
1701
1756
  slotName?: string | undefined;
1757
+ alternativeId?: string | undefined;
1758
+ name?: string | undefined;
1702
1759
  orderIndex?: number | undefined;
1703
1760
  bedFrame?: number | null | undefined;
1704
1761
  clipIds?: string[] | undefined;
1705
1762
  sequenceId?: string | undefined;
1706
1763
  }, {
1707
1764
  projectId: string;
1708
- action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1709
- at?: number | undefined;
1710
- name?: string | undefined;
1711
- alternativeId?: string | undefined;
1765
+ action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1712
1766
  timelineId?: string | undefined;
1767
+ at?: number | undefined;
1713
1768
  slotId?: string | undefined;
1714
1769
  slotName?: string | undefined;
1770
+ alternativeId?: string | undefined;
1771
+ name?: string | undefined;
1715
1772
  orderIndex?: number | undefined;
1716
1773
  bedFrame?: number | null | undefined;
1717
1774
  clipIds?: string[] | undefined;
@@ -1790,9 +1847,9 @@ declare const variantsInput: z.ZodObject<{
1790
1847
  }>]>>>;
1791
1848
  }, "strict", z.ZodTypeAny, {
1792
1849
  projectId: string;
1793
- action: "add" | "remove" | "update" | "rebuild";
1794
- name?: string | undefined;
1850
+ action: "add" | "update" | "remove" | "rebuild";
1795
1851
  timelineId?: string | undefined;
1852
+ name?: string | undefined;
1796
1853
  variantId?: string | undefined;
1797
1854
  combinations?: boolean | undefined;
1798
1855
  choices?: Record<string, string> | undefined;
@@ -1816,9 +1873,9 @@ declare const variantsInput: z.ZodObject<{
1816
1873
  }[] | undefined;
1817
1874
  }, {
1818
1875
  projectId: string;
1819
- action: "add" | "remove" | "update" | "rebuild";
1820
- name?: string | undefined;
1876
+ action: "add" | "update" | "remove" | "rebuild";
1821
1877
  timelineId?: string | undefined;
1878
+ name?: string | undefined;
1822
1879
  variantId?: string | undefined;
1823
1880
  combinations?: boolean | undefined;
1824
1881
  choices?: Record<string, string> | undefined;
@@ -1885,33 +1942,148 @@ declare const reframeClipInput: z.ZodObject<{
1885
1942
  focusY?: number | undefined;
1886
1943
  zoom?: number | undefined;
1887
1944
  }>>>;
1888
- follow: z.ZodOptional<z.ZodEnum<["face", "off"]>>;
1945
+ follow: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["face", "off"]>, z.ZodObject<{
1946
+ maskId: z.ZodString;
1947
+ }, "strict", z.ZodTypeAny, {
1948
+ maskId: string;
1949
+ }, {
1950
+ maskId: string;
1951
+ }>]>>;
1889
1952
  }, "strict", z.ZodTypeAny, {
1890
1953
  projectId: string;
1891
1954
  timelineId: string;
1892
- clipId: string;
1893
1955
  aspect: string;
1956
+ clipId: string;
1894
1957
  framing?: {
1895
1958
  mode?: "fill" | "fit" | undefined;
1896
1959
  focusX?: number | undefined;
1897
1960
  focusY?: number | undefined;
1898
1961
  zoom?: number | undefined;
1899
1962
  } | null | undefined;
1900
- follow?: "face" | "off" | undefined;
1963
+ follow?: "face" | "off" | {
1964
+ maskId: string;
1965
+ } | undefined;
1901
1966
  }, {
1902
1967
  projectId: string;
1903
1968
  timelineId: string;
1904
- clipId: string;
1905
1969
  aspect: string;
1970
+ clipId: string;
1906
1971
  framing?: {
1907
1972
  mode?: "fill" | "fit" | undefined;
1908
1973
  focusX?: number | undefined;
1909
1974
  focusY?: number | undefined;
1910
1975
  zoom?: number | undefined;
1911
1976
  } | null | undefined;
1912
- follow?: "face" | "off" | undefined;
1977
+ follow?: "face" | "off" | {
1978
+ maskId: string;
1979
+ } | undefined;
1913
1980
  }>;
1914
1981
  export declare const reframeClip: Operation<z.infer<typeof reframeClipInput>>;
1982
+ export declare const freezeFrame: Operation<{
1983
+ projectId: string;
1984
+ clipId: string;
1985
+ frame?: number;
1986
+ sec?: number;
1987
+ seconds?: number;
1988
+ linked?: boolean;
1989
+ }>;
1990
+ export declare const stabilizeClip: Operation<{
1991
+ projectId: string;
1992
+ clipId: string;
1993
+ strength: 'light' | 'standard' | 'strong' | null;
1994
+ }>;
1995
+ export declare const slideClip: Operation<{
1996
+ projectId: string;
1997
+ clipId: string;
1998
+ deltaFrames: number;
1999
+ }>;
2000
+ export declare const punchIn: Operation<{
2001
+ projectId: string;
2002
+ clipId: string;
2003
+ amount?: number;
2004
+ style?: 'cut' | 'ease-in' | 'slow-push';
2005
+ fromFrame?: number;
2006
+ words?: number[];
2007
+ holdSec?: number;
2008
+ off?: boolean;
2009
+ replaceKeys?: boolean;
2010
+ }>;
2011
+ declare const dialogueCleanupOptions: z.ZodObject<{
2012
+ fillers: z.ZodOptional<z.ZodBoolean>;
2013
+ pauses: z.ZodOptional<z.ZodBoolean>;
2014
+ repeats: z.ZodOptional<z.ZodBoolean>;
2015
+ minPauseSec: z.ZodOptional<z.ZodNumber>;
2016
+ keepAirSec: z.ZodOptional<z.ZodNumber>;
2017
+ }, "strict", z.ZodTypeAny, {
2018
+ fillers?: boolean | undefined;
2019
+ pauses?: boolean | undefined;
2020
+ repeats?: boolean | undefined;
2021
+ minPauseSec?: number | undefined;
2022
+ keepAirSec?: number | undefined;
2023
+ }, {
2024
+ fillers?: boolean | undefined;
2025
+ pauses?: boolean | undefined;
2026
+ repeats?: boolean | undefined;
2027
+ minPauseSec?: number | undefined;
2028
+ keepAirSec?: number | undefined;
2029
+ }>;
2030
+ export declare const cleanUpDialogue: Operation<{
2031
+ projectId: string;
2032
+ clipId: string;
2033
+ action?: 'scan' | 'apply' | 'restore' | 'nudge';
2034
+ options?: z.infer<typeof dialogueCleanupOptions>;
2035
+ range?: {
2036
+ startSec: number;
2037
+ endSec: number;
2038
+ };
2039
+ edge?: 'start' | 'end';
2040
+ deltaFrames?: number;
2041
+ linked?: boolean;
2042
+ }>;
2043
+ export declare const autoColourClip: Operation<{
2044
+ projectId: string;
2045
+ clipId: string;
2046
+ frame?: number;
2047
+ sec?: number;
2048
+ }>;
2049
+ export declare const autoDuck: Operation<{
2050
+ projectId: string;
2051
+ trackId?: string;
2052
+ clipId?: string;
2053
+ duckDb?: number;
2054
+ attackSec?: number;
2055
+ releaseSec?: number;
2056
+ holdSec?: number;
2057
+ bridgeSec?: number;
2058
+ off?: boolean;
2059
+ }>;
2060
+ export declare const matchLoudness: Operation<{
2061
+ projectId: string;
2062
+ timelineId?: string;
2063
+ trackId?: string;
2064
+ }>;
2065
+ export declare const upscaleImage: Operation<{
2066
+ projectId: string;
2067
+ assetId: string;
2068
+ factor: 2 | 4;
2069
+ confirm?: boolean;
2070
+ requestId?: string;
2071
+ }>;
2072
+ export declare const getReviewPacket: Operation<{
2073
+ projectId: string;
2074
+ packetId?: string;
2075
+ include?: 'sent' | 'open' | 'all';
2076
+ claim?: boolean;
2077
+ }>;
2078
+ export declare const resolveReviewNote: Operation<{
2079
+ projectId: string;
2080
+ replies: Array<{
2081
+ noteId: string;
2082
+ kind: 'fixed' | 'question' | 'why_not' | 'alternates' | 'note';
2083
+ text?: string;
2084
+ assetIds?: string[];
2085
+ }>;
2086
+ }>;
1915
2087
  export declare const listTimelines: Operation<{
1916
2088
  projectId: string;
1917
2089
  }>;
@@ -2071,7 +2243,7 @@ declare const keyframeList: z.ZodArray<z.ZodObject<{
2071
2243
  /** An effect list as the desktop stores it (`slate/src/shared/audioEffects.ts`); slates_get_timeline's audioEffects lists each type's parameters and ranges, and eq what a band list takes. */
2072
2244
  declare const audioEffectList: z.ZodArray<z.ZodObject<{
2073
2245
  id: z.ZodOptional<z.ZodString>;
2074
- type: z.ZodEnum<["volume", "eq"]>;
2246
+ type: z.ZodEnum<["volume", "eq", "denoise", "voice_enhance"]>;
2075
2247
  bypass: z.ZodOptional<z.ZodBoolean>;
2076
2248
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2077
2249
  keyframes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -2130,12 +2302,6 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2130
2302
  }>, "many">>>;
2131
2303
  }, "strict", z.ZodTypeAny, {
2132
2304
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2133
- on?: boolean | undefined;
2134
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2135
- frequency?: number | undefined;
2136
- gain?: number | undefined;
2137
- q?: number | undefined;
2138
- slope?: number | undefined;
2139
2305
  keyframes?: Record<string, {
2140
2306
  value: number;
2141
2307
  frame: number;
@@ -2143,14 +2309,14 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2143
2309
  cubicBezier: [number, number, number, number];
2144
2310
  } | undefined;
2145
2311
  }[]> | undefined;
2146
- }, {
2147
- type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2148
- on?: boolean | undefined;
2149
2312
  band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2313
+ on?: boolean | undefined;
2150
2314
  frequency?: number | undefined;
2151
2315
  gain?: number | undefined;
2152
2316
  q?: number | undefined;
2153
2317
  slope?: number | undefined;
2318
+ }, {
2319
+ type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2154
2320
  keyframes?: Record<string, {
2155
2321
  value: number;
2156
2322
  frame: number;
@@ -2158,11 +2324,18 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2158
2324
  cubicBezier: [number, number, number, number];
2159
2325
  } | undefined;
2160
2326
  }[]> | undefined;
2327
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2328
+ on?: boolean | undefined;
2329
+ frequency?: number | undefined;
2330
+ gain?: number | undefined;
2331
+ q?: number | undefined;
2332
+ slope?: number | undefined;
2161
2333
  }>, "many">>;
2162
2334
  }, "strict", z.ZodTypeAny, {
2163
- type: "volume" | "eq";
2164
- id?: string | undefined;
2335
+ type: "volume" | "eq" | "denoise" | "voice_enhance";
2165
2336
  params?: Record<string, number> | undefined;
2337
+ id?: string | undefined;
2338
+ bypass?: boolean | undefined;
2166
2339
  keyframes?: Record<string, {
2167
2340
  value: number;
2168
2341
  frame: number;
@@ -2170,15 +2343,8 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2170
2343
  cubicBezier: [number, number, number, number];
2171
2344
  } | undefined;
2172
2345
  }[]> | undefined;
2173
- bypass?: boolean | undefined;
2174
2346
  bands?: {
2175
2347
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2176
- on?: boolean | undefined;
2177
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2178
- frequency?: number | undefined;
2179
- gain?: number | undefined;
2180
- q?: number | undefined;
2181
- slope?: number | undefined;
2182
2348
  keyframes?: Record<string, {
2183
2349
  value: number;
2184
2350
  frame: number;
@@ -2186,11 +2352,18 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2186
2352
  cubicBezier: [number, number, number, number];
2187
2353
  } | undefined;
2188
2354
  }[]> | undefined;
2355
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2356
+ on?: boolean | undefined;
2357
+ frequency?: number | undefined;
2358
+ gain?: number | undefined;
2359
+ q?: number | undefined;
2360
+ slope?: number | undefined;
2189
2361
  }[] | undefined;
2190
2362
  }, {
2191
- type: "volume" | "eq";
2192
- id?: string | undefined;
2363
+ type: "volume" | "eq" | "denoise" | "voice_enhance";
2193
2364
  params?: Record<string, number> | undefined;
2365
+ id?: string | undefined;
2366
+ bypass?: boolean | undefined;
2194
2367
  keyframes?: Record<string, {
2195
2368
  value: number;
2196
2369
  frame: number;
@@ -2198,15 +2371,8 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2198
2371
  cubicBezier: [number, number, number, number];
2199
2372
  } | undefined;
2200
2373
  }[]> | undefined;
2201
- bypass?: boolean | undefined;
2202
2374
  bands?: {
2203
2375
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2204
- on?: boolean | undefined;
2205
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2206
- frequency?: number | undefined;
2207
- gain?: number | undefined;
2208
- q?: number | undefined;
2209
- slope?: number | undefined;
2210
2376
  keyframes?: Record<string, {
2211
2377
  value: number;
2212
2378
  frame: number;
@@ -2214,6 +2380,12 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2214
2380
  cubicBezier: [number, number, number, number];
2215
2381
  } | undefined;
2216
2382
  }[]> | undefined;
2383
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2384
+ on?: boolean | undefined;
2385
+ frequency?: number | undefined;
2386
+ gain?: number | undefined;
2387
+ q?: number | undefined;
2388
+ slope?: number | undefined;
2217
2389
  }[] | undefined;
2218
2390
  }>, "many">;
2219
2391
  /** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
@@ -2228,58 +2400,191 @@ declare const clipPanel: z.ZodObject<{
2228
2400
  }, "strict", z.ZodTypeAny, {
2229
2401
  x?: number | undefined;
2230
2402
  y?: number | undefined;
2403
+ color?: string | undefined;
2231
2404
  blur?: number | undefined;
2232
2405
  opacity?: number | undefined;
2233
- color?: string | undefined;
2234
2406
  }, {
2235
2407
  x?: number | undefined;
2236
2408
  y?: number | undefined;
2409
+ color?: string | undefined;
2237
2410
  blur?: number | undefined;
2238
2411
  opacity?: number | undefined;
2239
- color?: string | undefined;
2240
2412
  }>>;
2241
2413
  border: z.ZodOptional<z.ZodObject<{
2242
2414
  width: z.ZodOptional<z.ZodNumber>;
2243
2415
  opacity: z.ZodOptional<z.ZodNumber>;
2244
2416
  color: z.ZodOptional<z.ZodString>;
2245
2417
  }, "strict", z.ZodTypeAny, {
2246
- width?: number | undefined;
2247
- opacity?: number | undefined;
2248
2418
  color?: string | undefined;
2249
- }, {
2250
- width?: number | undefined;
2251
2419
  opacity?: number | undefined;
2420
+ width?: number | undefined;
2421
+ }, {
2252
2422
  color?: string | undefined;
2423
+ opacity?: number | undefined;
2424
+ width?: number | undefined;
2253
2425
  }>>;
2254
2426
  }, "strict", z.ZodTypeAny, {
2255
2427
  radius?: number | undefined;
2256
2428
  shadow?: {
2257
2429
  x?: number | undefined;
2258
2430
  y?: number | undefined;
2431
+ color?: string | undefined;
2259
2432
  blur?: number | undefined;
2260
2433
  opacity?: number | undefined;
2261
- color?: string | undefined;
2262
2434
  } | undefined;
2263
2435
  border?: {
2264
- width?: number | undefined;
2265
- opacity?: number | undefined;
2266
2436
  color?: string | undefined;
2437
+ opacity?: number | undefined;
2438
+ width?: number | undefined;
2267
2439
  } | undefined;
2268
2440
  }, {
2269
2441
  radius?: number | undefined;
2270
2442
  shadow?: {
2271
2443
  x?: number | undefined;
2272
2444
  y?: number | undefined;
2445
+ color?: string | undefined;
2273
2446
  blur?: number | undefined;
2274
2447
  opacity?: number | undefined;
2275
- color?: string | undefined;
2276
2448
  } | undefined;
2277
2449
  border?: {
2278
- width?: number | undefined;
2279
- opacity?: number | undefined;
2280
2450
  color?: string | undefined;
2451
+ opacity?: number | undefined;
2452
+ width?: number | undefined;
2281
2453
  } | undefined;
2282
2454
  }>;
2455
+ declare const clipLookInput: z.ZodObject<{
2456
+ blend: z.ZodOptional<z.ZodEnum<["normal", "multiply", "screen", "overlay", "soft-light"]>>;
2457
+ grain: z.ZodOptional<z.ZodNumber>;
2458
+ saturation: z.ZodOptional<z.ZodNumber>;
2459
+ exposure: z.ZodOptional<z.ZodNumber>;
2460
+ contrast: z.ZodOptional<z.ZodNumber>;
2461
+ temperature: z.ZodOptional<z.ZodNumber>;
2462
+ tint: z.ZodOptional<z.ZodNumber>;
2463
+ highlights: z.ZodOptional<z.ZodNumber>;
2464
+ shadows: z.ZodOptional<z.ZodNumber>;
2465
+ lutPath: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
2466
+ lutIntensity: z.ZodOptional<z.ZodNumber>;
2467
+ }, "strict", z.ZodTypeAny, {
2468
+ blend?: "normal" | "multiply" | "screen" | "overlay" | "soft-light" | undefined;
2469
+ grain?: number | undefined;
2470
+ saturation?: number | undefined;
2471
+ exposure?: number | undefined;
2472
+ contrast?: number | undefined;
2473
+ temperature?: number | undefined;
2474
+ tint?: number | undefined;
2475
+ highlights?: number | undefined;
2476
+ shadows?: number | undefined;
2477
+ lutPath?: string | undefined;
2478
+ lutIntensity?: number | undefined;
2479
+ }, {
2480
+ blend?: "normal" | "multiply" | "screen" | "overlay" | "soft-light" | undefined;
2481
+ grain?: number | undefined;
2482
+ saturation?: number | undefined;
2483
+ exposure?: number | undefined;
2484
+ contrast?: number | undefined;
2485
+ temperature?: number | undefined;
2486
+ tint?: number | undefined;
2487
+ highlights?: number | undefined;
2488
+ shadows?: number | undefined;
2489
+ lutPath?: string | undefined;
2490
+ lutIntensity?: number | undefined;
2491
+ }>;
2492
+ /** A clip's matte (slate's `src/shared/clipMatte.ts`): a subject mask, a shape, or a colour key. One kind at a time. */
2493
+ declare const clipMatteInput: z.ZodUnion<[z.ZodObject<{
2494
+ maskId: z.ZodString;
2495
+ mode: z.ZodOptional<z.ZodEnum<["subject", "background"]>>;
2496
+ feather: z.ZodOptional<z.ZodNumber>;
2497
+ }, "strict", z.ZodTypeAny, {
2498
+ maskId: string;
2499
+ mode?: "subject" | "background" | undefined;
2500
+ feather?: number | undefined;
2501
+ }, {
2502
+ maskId: string;
2503
+ mode?: "subject" | "background" | undefined;
2504
+ feather?: number | undefined;
2505
+ }>, z.ZodObject<{
2506
+ shape: z.ZodObject<{
2507
+ kind: z.ZodEnum<["rect", "ellipse"]>;
2508
+ x: z.ZodNumber;
2509
+ y: z.ZodNumber;
2510
+ w: z.ZodNumber;
2511
+ h: z.ZodNumber;
2512
+ rotation: z.ZodOptional<z.ZodNumber>;
2513
+ feather: z.ZodOptional<z.ZodNumber>;
2514
+ invert: z.ZodOptional<z.ZodBoolean>;
2515
+ }, "strict", z.ZodTypeAny, {
2516
+ kind: "rect" | "ellipse";
2517
+ x: number;
2518
+ y: number;
2519
+ w: number;
2520
+ h: number;
2521
+ feather?: number | undefined;
2522
+ rotation?: number | undefined;
2523
+ invert?: boolean | undefined;
2524
+ }, {
2525
+ kind: "rect" | "ellipse";
2526
+ x: number;
2527
+ y: number;
2528
+ w: number;
2529
+ h: number;
2530
+ feather?: number | undefined;
2531
+ rotation?: number | undefined;
2532
+ invert?: boolean | undefined;
2533
+ }>;
2534
+ }, "strict", z.ZodTypeAny, {
2535
+ shape: {
2536
+ kind: "rect" | "ellipse";
2537
+ x: number;
2538
+ y: number;
2539
+ w: number;
2540
+ h: number;
2541
+ feather?: number | undefined;
2542
+ rotation?: number | undefined;
2543
+ invert?: boolean | undefined;
2544
+ };
2545
+ }, {
2546
+ shape: {
2547
+ kind: "rect" | "ellipse";
2548
+ x: number;
2549
+ y: number;
2550
+ w: number;
2551
+ h: number;
2552
+ feather?: number | undefined;
2553
+ rotation?: number | undefined;
2554
+ invert?: boolean | undefined;
2555
+ };
2556
+ }>, z.ZodObject<{
2557
+ chroma: z.ZodObject<{
2558
+ color: z.ZodString;
2559
+ tolerance: z.ZodNumber;
2560
+ softness: z.ZodNumber;
2561
+ spill: z.ZodOptional<z.ZodNumber>;
2562
+ }, "strict", z.ZodTypeAny, {
2563
+ color: string;
2564
+ tolerance: number;
2565
+ softness: number;
2566
+ spill?: number | undefined;
2567
+ }, {
2568
+ color: string;
2569
+ tolerance: number;
2570
+ softness: number;
2571
+ spill?: number | undefined;
2572
+ }>;
2573
+ }, "strict", z.ZodTypeAny, {
2574
+ chroma: {
2575
+ color: string;
2576
+ tolerance: number;
2577
+ softness: number;
2578
+ spill?: number | undefined;
2579
+ };
2580
+ }, {
2581
+ chroma: {
2582
+ color: string;
2583
+ tolerance: number;
2584
+ softness: number;
2585
+ spill?: number | undefined;
2586
+ };
2587
+ }>]>;
2283
2588
  export declare const updateClip: Operation<{
2284
2589
  projectId: string;
2285
2590
  clipId: string;
@@ -2290,17 +2595,9 @@ export declare const updateClip: Operation<{
2290
2595
  fadeOutFrames?: number | null;
2291
2596
  audioFadeInFrames?: number | null;
2292
2597
  audioFadeOutFrames?: number | null;
2293
- look?: {
2294
- blend?: 'normal' | 'multiply' | 'screen' | 'overlay' | 'soft-light';
2295
- grain?: number;
2296
- saturation?: number;
2297
- exposure?: number;
2298
- } | null;
2299
- matte?: {
2300
- maskId: string;
2301
- mode?: 'subject' | 'background';
2302
- feather?: number;
2303
- } | null;
2598
+ look?: z.infer<typeof clipLookInput> | null;
2599
+ matte?: z.infer<typeof clipMatteInput> | null;
2600
+ reversed?: boolean | null;
2304
2601
  space?: {
2305
2602
  pitch?: number;
2306
2603
  yaw?: number;
@@ -2333,7 +2630,7 @@ export declare const addTimelineTrack: Operation<{
2333
2630
  above?: string;
2334
2631
  below?: string;
2335
2632
  }>;
2336
- declare const TEXT_STYLE_IDS: readonly ["word-pop", "keyword", "subtitle", "headline", "clean", "plain"];
2633
+ declare const TEXT_STYLE_IDS: readonly ["word-pop", "keyword", "subtitle", "headline", "clean", "plain", "active-pill", "reel-bold", "impact-hook", "lower-third", "minimal-caption", "kinetic-pop"];
2337
2634
  declare const TEXT_FONT_IDS: readonly ["bebas-neue", "montserrat-medium", "montserrat-bold", "montserrat-extrabold", "montserrat-black", "geist-regular", "geist-medium", "geist-semibold", "geist-bold"];
2338
2635
  type TextSet = {
2339
2636
  font?: (typeof TEXT_FONT_IDS)[number];
@@ -2355,21 +2652,21 @@ declare const overlayWordsInput: z.ZodArray<z.ZodEffects<z.ZodObject<{
2355
2652
  start: z.ZodNumber;
2356
2653
  end: z.ZodNumber;
2357
2654
  }, "strict", z.ZodTypeAny, {
2358
- text: string;
2359
2655
  start: number;
2360
2656
  end: number;
2361
- }, {
2362
2657
  text: string;
2658
+ }, {
2363
2659
  start: number;
2364
2660
  end: number;
2365
- }>, {
2366
2661
  text: string;
2662
+ }>, {
2367
2663
  start: number;
2368
2664
  end: number;
2369
- }, {
2370
2665
  text: string;
2666
+ }, {
2371
2667
  start: number;
2372
2668
  end: number;
2669
+ text: string;
2373
2670
  }>, "many">;
2374
2671
  export declare const addTextClip: Operation<{
2375
2672
  projectId: string;
@@ -2501,7 +2798,7 @@ export declare const exportVideo: Operation<{
2501
2798
  overwrite?: boolean;
2502
2799
  aspect?: string;
2503
2800
  audioBitrate?: typeof AUDIO_BITRATES[number];
2504
- }>;
2801
+ } & z.infer<typeof exportEncodingInput>>;
2505
2802
  export declare const exportTimelineXml: Operation<{
2506
2803
  projectId?: string;
2507
2804
  timelineId?: string;
@@ -2863,34 +3160,34 @@ declare const variationSchema: z.ZodObject<{
2863
3160
  sectionId: z.ZodString;
2864
3161
  alternativeId: z.ZodString;
2865
3162
  }, "strip", z.ZodTypeAny, {
2866
- sectionId: string;
2867
3163
  alternativeId: string;
2868
- }, {
2869
3164
  sectionId: string;
3165
+ }, {
2870
3166
  alternativeId: string;
3167
+ sectionId: string;
2871
3168
  }>, "many">;
2872
3169
  arrangement: z.ZodOptional<z.ZodArray<z.ZodObject<{
2873
3170
  sectionId: z.ZodString;
2874
3171
  alternativeId: z.ZodString;
2875
3172
  }, "strip", z.ZodTypeAny, {
2876
- sectionId: string;
2877
3173
  alternativeId: string;
2878
- }, {
2879
3174
  sectionId: string;
3175
+ }, {
2880
3176
  alternativeId: string;
3177
+ sectionId: string;
2881
3178
  }>, "many">>;
2882
3179
  itemOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
2883
3180
  from: z.ZodString;
2884
3181
  to: z.ZodString;
2885
3182
  voice: z.ZodEnum<["keep", "replace"]>;
2886
3183
  }, "strip", z.ZodTypeAny, {
2887
- voice: "replace" | "keep";
2888
3184
  from: string;
2889
3185
  to: string;
3186
+ voice: "keep" | "replace";
2890
3187
  }, {
2891
- voice: "replace" | "keep";
2892
3188
  from: string;
2893
3189
  to: string;
3190
+ voice: "keep" | "replace";
2894
3191
  }>, "many">>;
2895
3192
  assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
2896
3193
  from: z.ZodString;
@@ -2905,20 +3202,20 @@ declare const variationSchema: z.ZodObject<{
2905
3202
  idempotencyKey: z.ZodOptional<z.ZodString>;
2906
3203
  }, "strip", z.ZodTypeAny, {
2907
3204
  name: string;
2908
- storyboardId: string;
2909
3205
  choices: {
2910
- sectionId: string;
2911
3206
  alternativeId: string;
3207
+ sectionId: string;
2912
3208
  }[];
3209
+ storyboardId: string;
2913
3210
  expectedRevision: number;
2914
3211
  arrangement?: {
2915
- sectionId: string;
2916
3212
  alternativeId: string;
3213
+ sectionId: string;
2917
3214
  }[] | undefined;
2918
3215
  itemOverrides?: {
2919
- voice: "replace" | "keep";
2920
3216
  from: string;
2921
3217
  to: string;
3218
+ voice: "keep" | "replace";
2922
3219
  }[] | undefined;
2923
3220
  assetOverrides?: {
2924
3221
  from: string;
@@ -2927,20 +3224,20 @@ declare const variationSchema: z.ZodObject<{
2927
3224
  idempotencyKey?: string | undefined;
2928
3225
  }, {
2929
3226
  name: string;
2930
- storyboardId: string;
2931
3227
  choices: {
2932
- sectionId: string;
2933
3228
  alternativeId: string;
3229
+ sectionId: string;
2934
3230
  }[];
3231
+ storyboardId: string;
2935
3232
  expectedRevision: number;
2936
3233
  arrangement?: {
2937
- sectionId: string;
2938
3234
  alternativeId: string;
3235
+ sectionId: string;
2939
3236
  }[] | undefined;
2940
3237
  itemOverrides?: {
2941
- voice: "replace" | "keep";
2942
3238
  from: string;
2943
3239
  to: string;
3240
+ voice: "keep" | "replace";
2944
3241
  }[] | undefined;
2945
3242
  assetOverrides?: {
2946
3243
  from: string;
@@ -2980,80 +3277,80 @@ declare const sectionInput: z.ZodObject<{
2980
3277
  expectedRevision: z.ZodNumber;
2981
3278
  }, "strip", z.ZodTypeAny, {
2982
3279
  at: number;
2983
- sceneId: string;
2984
3280
  expectedRevision: number;
3281
+ sceneId: string;
2985
3282
  }, {
2986
3283
  at: number;
2987
- sceneId: string;
2988
3284
  expectedRevision: number;
3285
+ sceneId: string;
2989
3286
  }>>;
2990
3287
  uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
2991
3288
  sectionId: z.ZodString;
2992
3289
  expectedRevision: z.ZodNumber;
2993
3290
  }, "strip", z.ZodTypeAny, {
2994
- sectionId: string;
2995
3291
  expectedRevision: number;
2996
- }, {
2997
3292
  sectionId: string;
3293
+ }, {
2998
3294
  expectedRevision: number;
3295
+ sectionId: string;
2999
3296
  }>, "many">>;
3000
3297
  fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3001
3298
  sceneId: z.ZodString;
3002
3299
  start: z.ZodNumber;
3003
3300
  end: z.ZodNumber;
3004
3301
  }, "strip", z.ZodTypeAny, {
3005
- sceneId: string;
3006
3302
  start: number;
3303
+ sceneId: string;
3007
3304
  end: number;
3008
3305
  }, {
3009
- sceneId: string;
3010
3306
  start: number;
3307
+ sceneId: string;
3011
3308
  end: number;
3012
3309
  }>, "many">>;
3013
3310
  }, "strip", z.ZodTypeAny, {
3014
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3311
+ action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3015
3312
  storyboardId: string;
3016
3313
  expectedRevision: number;
3314
+ alternativeId?: string | undefined;
3315
+ sectionId?: string | undefined;
3316
+ tags?: string[] | undefined;
3317
+ parentId?: string | undefined;
3318
+ label?: string | undefined;
3017
3319
  target?: {
3018
3320
  at: number;
3019
- sceneId: string;
3020
3321
  expectedRevision: number;
3322
+ sceneId: string;
3021
3323
  } | undefined;
3022
- label?: string | undefined;
3023
- sectionId?: string | undefined;
3024
- alternativeId?: string | undefined;
3025
- tags?: string[] | undefined;
3026
- parentId?: string | undefined;
3027
3324
  uses?: {
3028
- sectionId: string;
3029
3325
  expectedRevision: number;
3326
+ sectionId: string;
3030
3327
  }[] | undefined;
3031
3328
  fragments?: {
3032
- sceneId: string;
3033
3329
  start: number;
3330
+ sceneId: string;
3034
3331
  end: number;
3035
3332
  }[] | undefined;
3036
3333
  }, {
3037
- action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3334
+ action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3038
3335
  storyboardId: string;
3039
3336
  expectedRevision: number;
3337
+ alternativeId?: string | undefined;
3338
+ sectionId?: string | undefined;
3339
+ tags?: string[] | undefined;
3340
+ parentId?: string | undefined;
3341
+ label?: string | undefined;
3040
3342
  target?: {
3041
3343
  at: number;
3042
- sceneId: string;
3043
3344
  expectedRevision: number;
3345
+ sceneId: string;
3044
3346
  } | undefined;
3045
- label?: string | undefined;
3046
- sectionId?: string | undefined;
3047
- alternativeId?: string | undefined;
3048
- tags?: string[] | undefined;
3049
- parentId?: string | undefined;
3050
3347
  uses?: {
3051
- sectionId: string;
3052
3348
  expectedRevision: number;
3349
+ sectionId: string;
3053
3350
  }[] | undefined;
3054
3351
  fragments?: {
3055
- sceneId: string;
3056
3352
  start: number;
3353
+ sceneId: string;
3057
3354
  end: number;
3058
3355
  }[] | undefined;
3059
3356
  }>;
@@ -3073,15 +3370,15 @@ declare const suggestionInput: z.ZodObject<{
3073
3370
  replacement: z.ZodString;
3074
3371
  note: z.ZodOptional<z.ZodString>;
3075
3372
  }, "strip", z.ZodTypeAny, {
3076
- sceneId: string;
3077
3373
  start: number;
3374
+ sceneId: string;
3078
3375
  end: number;
3079
3376
  original: string;
3080
3377
  replacement: string;
3081
3378
  note?: string | undefined;
3082
3379
  }, {
3083
- sceneId: string;
3084
3380
  start: number;
3381
+ sceneId: string;
3085
3382
  end: number;
3086
3383
  original: string;
3087
3384
  replacement: string;
@@ -3093,8 +3390,8 @@ declare const suggestionInput: z.ZodObject<{
3093
3390
  storyboardId: string;
3094
3391
  expectedRevision: number;
3095
3392
  suggestions?: {
3096
- sceneId: string;
3097
3393
  start: number;
3394
+ sceneId: string;
3098
3395
  end: number;
3099
3396
  original: string;
3100
3397
  replacement: string;
@@ -3106,8 +3403,8 @@ declare const suggestionInput: z.ZodObject<{
3106
3403
  storyboardId: string;
3107
3404
  expectedRevision: number;
3108
3405
  suggestions?: {
3109
- sceneId: string;
3110
3406
  start: number;
3407
+ sceneId: string;
3111
3408
  end: number;
3112
3409
  original: string;
3113
3410
  replacement: string;
@@ -3129,14 +3426,14 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3129
3426
  text: z.ZodString;
3130
3427
  }, "strip", z.ZodTypeAny, {
3131
3428
  at: number;
3132
- text: string;
3133
3429
  sceneId: string;
3134
3430
  removed: number;
3431
+ text: string;
3135
3432
  }, {
3136
3433
  at: number;
3137
- text: string;
3138
3434
  sceneId: string;
3139
3435
  removed: number;
3436
+ text: string;
3140
3437
  }>, "many">;
3141
3438
  structures: z.ZodOptional<z.ZodArray<z.ZodObject<{
3142
3439
  sceneId: z.ZodString;
@@ -3152,68 +3449,68 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3152
3449
  end: z.ZodNumber;
3153
3450
  type: z.ZodEnum<["strong", "em"]>;
3154
3451
  }, "strip", z.ZodTypeAny, {
3155
- type: "strong" | "em";
3156
3452
  start: number;
3453
+ type: "strong" | "em";
3157
3454
  end: number;
3158
3455
  }, {
3159
- type: "strong" | "em";
3160
3456
  start: number;
3457
+ type: "strong" | "em";
3161
3458
  end: number;
3162
3459
  }>, "many">;
3163
3460
  }, "strip", z.ZodTypeAny, {
3164
- id: string;
3165
- kind: "direction" | "paragraph" | "heading";
3166
3461
  start: number;
3462
+ kind: "paragraph" | "heading" | "direction";
3167
3463
  end: number;
3464
+ id: string;
3168
3465
  marks: {
3169
- type: "strong" | "em";
3170
3466
  start: number;
3467
+ type: "strong" | "em";
3171
3468
  end: number;
3172
3469
  }[];
3173
- level?: 2 | 3 | undefined;
3174
3470
  label?: string | undefined;
3471
+ level?: 3 | 2 | undefined;
3175
3472
  }, {
3176
- id: string;
3177
- kind: "direction" | "paragraph" | "heading";
3178
3473
  start: number;
3474
+ kind: "paragraph" | "heading" | "direction";
3179
3475
  end: number;
3476
+ id: string;
3180
3477
  marks: {
3181
- type: "strong" | "em";
3182
3478
  start: number;
3479
+ type: "strong" | "em";
3183
3480
  end: number;
3184
3481
  }[];
3185
- level?: 2 | 3 | undefined;
3186
3482
  label?: string | undefined;
3483
+ level?: 3 | 2 | undefined;
3187
3484
  }>, "many">;
3188
3485
  }, "strip", z.ZodTypeAny, {
3189
3486
  sceneId: string;
3190
3487
  blocks: {
3191
- id: string;
3192
- kind: "direction" | "paragraph" | "heading";
3193
3488
  start: number;
3489
+ kind: "paragraph" | "heading" | "direction";
3194
3490
  end: number;
3491
+ id: string;
3195
3492
  marks: {
3196
- type: "strong" | "em";
3197
3493
  start: number;
3494
+ type: "strong" | "em";
3198
3495
  end: number;
3199
3496
  }[];
3200
- level?: 2 | 3 | undefined;
3201
3497
  label?: string | undefined;
3498
+ level?: 3 | 2 | undefined;
3202
3499
  }[];
3203
3500
  }, {
3204
3501
  sceneId: string;
3205
3502
  blocks: {
3206
- id: string;
3207
- kind: "direction" | "paragraph" | "heading";
3208
3503
  start: number;
3504
+ kind: "paragraph" | "heading" | "direction";
3209
3505
  end: number;
3506
+ id: string;
3210
3507
  marks: {
3211
- type: "strong" | "em";
3212
3508
  start: number;
3509
+ type: "strong" | "em";
3213
3510
  end: number;
3214
3511
  }[];
3215
- level?: 2 | 3 | undefined;
3216
3512
  label?: string | undefined;
3513
+ level?: 3 | 2 | undefined;
3217
3514
  }[];
3218
3515
  }>, "many">>;
3219
3516
  move: z.ZodOptional<z.ZodObject<{
@@ -3235,13 +3532,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3235
3532
  end: z.ZodNumber;
3236
3533
  waitingShotId: z.ZodOptional<z.ZodString>;
3237
3534
  }, "strip", z.ZodTypeAny, {
3238
- sceneId: string;
3239
3535
  start: number;
3536
+ sceneId: string;
3240
3537
  end: number;
3241
3538
  waitingShotId?: string | undefined;
3242
3539
  }, {
3243
- sceneId: string;
3244
3540
  start: number;
3541
+ sceneId: string;
3245
3542
  end: number;
3246
3543
  waitingShotId?: string | undefined;
3247
3544
  }>, "many">>;
@@ -3270,38 +3567,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3270
3567
  sceneId: string;
3271
3568
  }>]>>;
3272
3569
  }, "strip", z.ZodTypeAny, {
3570
+ storyboardId: string;
3571
+ expectedRevision: number;
3273
3572
  edits: {
3274
3573
  at: number;
3275
- text: string;
3276
3574
  sceneId: string;
3277
3575
  removed: number;
3576
+ text: string;
3278
3577
  }[];
3279
- storyboardId: string;
3280
- expectedRevision: number;
3281
- move?: {
3282
- sceneId: string;
3283
- blockId: string;
3284
- delta: 1 | -1;
3285
- } | undefined;
3286
3578
  structures?: {
3287
3579
  sceneId: string;
3288
3580
  blocks: {
3289
- id: string;
3290
- kind: "direction" | "paragraph" | "heading";
3291
3581
  start: number;
3582
+ kind: "paragraph" | "heading" | "direction";
3292
3583
  end: number;
3584
+ id: string;
3293
3585
  marks: {
3294
- type: "strong" | "em";
3295
3586
  start: number;
3587
+ type: "strong" | "em";
3296
3588
  end: number;
3297
3589
  }[];
3298
- level?: 2 | 3 | undefined;
3299
3590
  label?: string | undefined;
3591
+ level?: 3 | 2 | undefined;
3300
3592
  }[];
3301
3593
  }[] | undefined;
3302
- makeShots?: {
3594
+ move?: {
3303
3595
  sceneId: string;
3596
+ blockId: string;
3597
+ delta: 1 | -1;
3598
+ } | undefined;
3599
+ makeShots?: {
3304
3600
  start: number;
3601
+ sceneId: string;
3305
3602
  end: number;
3306
3603
  waitingShotId?: string | undefined;
3307
3604
  }[] | undefined;
@@ -3316,38 +3613,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3316
3613
  sceneId: string;
3317
3614
  } | undefined;
3318
3615
  }, {
3616
+ storyboardId: string;
3617
+ expectedRevision: number;
3319
3618
  edits: {
3320
3619
  at: number;
3321
- text: string;
3322
3620
  sceneId: string;
3323
3621
  removed: number;
3622
+ text: string;
3324
3623
  }[];
3325
- storyboardId: string;
3326
- expectedRevision: number;
3327
- move?: {
3328
- sceneId: string;
3329
- blockId: string;
3330
- delta: 1 | -1;
3331
- } | undefined;
3332
3624
  structures?: {
3333
3625
  sceneId: string;
3334
3626
  blocks: {
3335
- id: string;
3336
- kind: "direction" | "paragraph" | "heading";
3337
3627
  start: number;
3628
+ kind: "paragraph" | "heading" | "direction";
3338
3629
  end: number;
3630
+ id: string;
3339
3631
  marks: {
3340
- type: "strong" | "em";
3341
3632
  start: number;
3633
+ type: "strong" | "em";
3342
3634
  end: number;
3343
3635
  }[];
3344
- level?: 2 | 3 | undefined;
3345
3636
  label?: string | undefined;
3637
+ level?: 3 | 2 | undefined;
3346
3638
  }[];
3347
3639
  }[] | undefined;
3348
- makeShots?: {
3640
+ move?: {
3349
3641
  sceneId: string;
3642
+ blockId: string;
3643
+ delta: 1 | -1;
3644
+ } | undefined;
3645
+ makeShots?: {
3350
3646
  start: number;
3647
+ sceneId: string;
3351
3648
  end: number;
3352
3649
  waitingShotId?: string | undefined;
3353
3650
  }[] | undefined;
@@ -3418,6 +3715,93 @@ export declare const quoteBoard: Operation<{
3418
3715
  export declare const getBoardProgress: Operation<{
3419
3716
  projectId: string;
3420
3717
  }>;
3718
+ declare const draftFinishInput: z.ZodObject<{
3719
+ projectId: z.ZodString;
3720
+ assetId: z.ZodString;
3721
+ resolution: z.ZodEnum<["1080p", "4k"]>;
3722
+ }, "strip", z.ZodTypeAny, {
3723
+ projectId: string;
3724
+ assetId: string;
3725
+ resolution: "4k" | "1080p";
3726
+ }, {
3727
+ projectId: string;
3728
+ assetId: string;
3729
+ resolution: "4k" | "1080p";
3730
+ }>;
3731
+ declare const paidDraftFinishInput: z.ZodObject<{
3732
+ projectId: z.ZodString;
3733
+ assetId: z.ZodString;
3734
+ resolution: z.ZodEnum<["1080p", "4k"]>;
3735
+ } & {
3736
+ confirm: z.ZodLiteral<true>;
3737
+ maxCredits: z.ZodNumber;
3738
+ }, "strip", z.ZodTypeAny, {
3739
+ projectId: string;
3740
+ assetId: string;
3741
+ resolution: "4k" | "1080p";
3742
+ confirm: true;
3743
+ maxCredits: number;
3744
+ }, {
3745
+ projectId: string;
3746
+ assetId: string;
3747
+ resolution: "4k" | "1080p";
3748
+ confirm: true;
3749
+ maxCredits: number;
3750
+ }>;
3751
+ export declare const quoteDraftFinish: Operation<z.infer<typeof draftFinishInput>>;
3752
+ export declare const finishDraft: Operation<z.infer<typeof paidDraftFinishInput>>;
3753
+ declare const quoteCutInput: z.ZodObject<{
3754
+ projectId: z.ZodString;
3755
+ timelineId: z.ZodString;
3756
+ } & {
3757
+ resolutions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["1080p", "4k"]>>>;
3758
+ }, "strip", z.ZodTypeAny, {
3759
+ projectId: string;
3760
+ timelineId: string;
3761
+ resolutions?: Record<string, "4k" | "1080p"> | undefined;
3762
+ }, {
3763
+ projectId: string;
3764
+ timelineId: string;
3765
+ resolutions?: Record<string, "4k" | "1080p"> | undefined;
3766
+ }>;
3767
+ declare const cutFinishStatusInput: z.ZodObject<{
3768
+ projectId: z.ZodString;
3769
+ timelineId: z.ZodString;
3770
+ } & {
3771
+ quoteId: z.ZodString;
3772
+ }, "strip", z.ZodTypeAny, {
3773
+ projectId: string;
3774
+ timelineId: string;
3775
+ quoteId: string;
3776
+ }, {
3777
+ projectId: string;
3778
+ timelineId: string;
3779
+ quoteId: string;
3780
+ }>;
3781
+ declare const finishCutInput: z.ZodObject<{
3782
+ projectId: z.ZodString;
3783
+ timelineId: z.ZodString;
3784
+ } & {
3785
+ quoteId: z.ZodString;
3786
+ } & {
3787
+ confirm: z.ZodLiteral<true>;
3788
+ maxCredits: z.ZodNumber;
3789
+ }, "strip", z.ZodTypeAny, {
3790
+ projectId: string;
3791
+ timelineId: string;
3792
+ confirm: true;
3793
+ maxCredits: number;
3794
+ quoteId: string;
3795
+ }, {
3796
+ projectId: string;
3797
+ timelineId: string;
3798
+ confirm: true;
3799
+ maxCredits: number;
3800
+ quoteId: string;
3801
+ }>;
3802
+ export declare const quoteCutDrafts: Operation<z.infer<typeof quoteCutInput>>;
3803
+ export declare const finishCutDrafts: Operation<z.infer<typeof finishCutInput>>;
3804
+ export declare const getCutDraftStatus: Operation<z.infer<typeof cutFinishStatusInput>>;
3421
3805
  export declare const editCut: Operation<{
3422
3806
  projectId: string;
3423
3807
  timelineId?: string;
@@ -3466,6 +3850,12 @@ export declare const getPromptingGuide: Operation<{
3466
3850
  limit?: number;
3467
3851
  offset?: number;
3468
3852
  }>;
3853
+ export declare const rememberInMyBrain: Operation<{
3854
+ lesson?: string;
3855
+ file?: string;
3856
+ source?: string;
3857
+ replaces?: string;
3858
+ }>;
3469
3859
  /**
3470
3860
  * Task discovery and exact schemas share one operation. The desktop uses
3471
3861
  * names/group to replace its optional selection; MCP keeps its full list fixed.