@slatesvideo/shared 0.7.19 → 0.7.21

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.
@@ -210,24 +210,71 @@ declare const gridSelectionInput: z.ZodObject<{
210
210
  rowKeys: z.ZodArray<z.ZodString, "many">;
211
211
  aspects: z.ZodArray<z.ZodString, "many">;
212
212
  }, "strict", z.ZodTypeAny, {
213
- aspects: string[];
214
213
  rowKeys: string[];
215
- }, {
216
214
  aspects: string[];
215
+ }, {
217
216
  rowKeys: string[];
217
+ aspects: 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?: 30 | 24 | 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?: 30 | 24 | 60 | null | undefined;
218
234
  }>;
219
235
  declare const deliveryInput: z.ZodObject<{
220
236
  formats: z.ZodArray<z.ZodString, "many">;
221
237
  shortSide: z.ZodOptional<z.ZodNumber>;
222
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?: 30 | 24 | 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?: 30 | 24 | 60 | null | undefined;
255
+ }>>>;
223
256
  }, "strict", z.ZodTypeAny, {
224
257
  formats: string[];
225
258
  mode?: "fill" | "fit" | undefined;
259
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | null | undefined;
226
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?: 30 | 24 | 60 | null | undefined;
266
+ } | null | undefined;
227
267
  }, {
228
268
  formats: string[];
229
269
  mode?: "fill" | "fit" | undefined;
270
+ presetId?: "tiktok" | "reels" | "meta-feed" | "stories" | "shorts" | "youtube" | null | undefined;
230
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?: 30 | 24 | 60 | null | undefined;
277
+ } | null | undefined;
231
278
  }>;
232
279
  declare const taxonomyInput: z.ZodObject<{
233
280
  concept: z.ZodString;
@@ -270,17 +317,17 @@ declare const gridBindingInput: z.ZodObject<{
270
317
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
271
318
  }, "strict", z.ZodTypeAny, {
272
319
  key: string;
273
- alternativeId?: string | undefined;
274
- sectionId?: string | undefined;
275
320
  label?: string | undefined;
276
321
  choicePosition?: number | undefined;
322
+ sectionId?: string | undefined;
323
+ alternativeId?: string | undefined;
277
324
  shotIds?: string[] | undefined;
278
325
  }, {
279
326
  key: string;
280
- alternativeId?: string | undefined;
281
- sectionId?: string | undefined;
282
327
  label?: string | undefined;
283
328
  choicePosition?: number | undefined;
329
+ sectionId?: string | undefined;
330
+ alternativeId?: string | undefined;
284
331
  shotIds?: string[] | undefined;
285
332
  }>>;
286
333
  body: z.ZodOptional<z.ZodObject<{
@@ -292,17 +339,17 @@ declare const gridBindingInput: z.ZodObject<{
292
339
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
293
340
  }, "strict", z.ZodTypeAny, {
294
341
  key: string;
295
- alternativeId?: string | undefined;
296
- sectionId?: string | undefined;
297
342
  label?: string | undefined;
298
343
  choicePosition?: number | undefined;
344
+ sectionId?: string | undefined;
345
+ alternativeId?: string | undefined;
299
346
  shotIds?: string[] | undefined;
300
347
  }, {
301
348
  key: string;
302
- alternativeId?: string | undefined;
303
- sectionId?: string | undefined;
304
349
  label?: string | undefined;
305
350
  choicePosition?: number | undefined;
351
+ sectionId?: string | undefined;
352
+ alternativeId?: string | undefined;
306
353
  shotIds?: string[] | undefined;
307
354
  }>>;
308
355
  endCard: z.ZodOptional<z.ZodObject<{
@@ -314,67 +361,67 @@ declare const gridBindingInput: z.ZodObject<{
314
361
  shotIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
315
362
  }, "strict", z.ZodTypeAny, {
316
363
  key: string;
317
- alternativeId?: string | undefined;
318
- sectionId?: string | undefined;
319
364
  label?: string | undefined;
320
365
  choicePosition?: number | undefined;
366
+ sectionId?: string | undefined;
367
+ alternativeId?: string | undefined;
321
368
  shotIds?: string[] | undefined;
322
369
  }, {
323
370
  key: string;
324
- alternativeId?: string | undefined;
325
- sectionId?: string | undefined;
326
371
  label?: string | undefined;
327
372
  choicePosition?: number | undefined;
373
+ sectionId?: string | undefined;
374
+ alternativeId?: string | undefined;
328
375
  shotIds?: string[] | undefined;
329
376
  }>>;
330
377
  }, "strict", z.ZodTypeAny, {
331
378
  hook?: {
332
379
  key: string;
333
- alternativeId?: string | undefined;
334
- sectionId?: string | undefined;
335
380
  label?: string | undefined;
336
381
  choicePosition?: number | undefined;
382
+ sectionId?: string | undefined;
383
+ alternativeId?: string | undefined;
337
384
  shotIds?: string[] | undefined;
338
385
  } | undefined;
339
386
  body?: {
340
387
  key: string;
341
- alternativeId?: string | undefined;
342
- sectionId?: string | undefined;
343
388
  label?: string | undefined;
344
389
  choicePosition?: number | undefined;
390
+ sectionId?: string | undefined;
391
+ alternativeId?: string | undefined;
345
392
  shotIds?: string[] | undefined;
346
393
  } | undefined;
347
394
  endCard?: {
348
395
  key: string;
349
- alternativeId?: string | undefined;
350
- sectionId?: string | undefined;
351
396
  label?: string | undefined;
352
397
  choicePosition?: number | undefined;
398
+ sectionId?: string | undefined;
399
+ alternativeId?: string | undefined;
353
400
  shotIds?: string[] | undefined;
354
401
  } | undefined;
355
402
  }, {
356
403
  hook?: {
357
404
  key: string;
358
- alternativeId?: string | undefined;
359
- sectionId?: string | undefined;
360
405
  label?: string | undefined;
361
406
  choicePosition?: number | undefined;
407
+ sectionId?: string | undefined;
408
+ alternativeId?: string | undefined;
362
409
  shotIds?: string[] | undefined;
363
410
  } | undefined;
364
411
  body?: {
365
412
  key: string;
366
- alternativeId?: string | undefined;
367
- sectionId?: string | undefined;
368
413
  label?: string | undefined;
369
414
  choicePosition?: number | undefined;
415
+ sectionId?: string | undefined;
416
+ alternativeId?: string | undefined;
370
417
  shotIds?: string[] | undefined;
371
418
  } | undefined;
372
419
  endCard?: {
373
420
  key: string;
374
- alternativeId?: string | undefined;
375
- sectionId?: string | undefined;
376
421
  label?: string | undefined;
377
422
  choicePosition?: number | undefined;
423
+ sectionId?: string | undefined;
424
+ alternativeId?: string | undefined;
378
425
  shotIds?: string[] | undefined;
379
426
  } | undefined;
380
427
  }>>;
@@ -385,26 +432,26 @@ declare const gridBindingInput: z.ZodObject<{
385
432
  slots?: {
386
433
  hook?: {
387
434
  key: string;
388
- alternativeId?: string | undefined;
389
- sectionId?: string | undefined;
390
435
  label?: string | undefined;
391
436
  choicePosition?: number | undefined;
437
+ sectionId?: string | undefined;
438
+ alternativeId?: string | undefined;
392
439
  shotIds?: string[] | undefined;
393
440
  } | undefined;
394
441
  body?: {
395
442
  key: string;
396
- alternativeId?: string | undefined;
397
- sectionId?: string | undefined;
398
443
  label?: string | undefined;
399
444
  choicePosition?: number | undefined;
445
+ sectionId?: string | undefined;
446
+ alternativeId?: string | undefined;
400
447
  shotIds?: string[] | undefined;
401
448
  } | undefined;
402
449
  endCard?: {
403
450
  key: string;
404
- alternativeId?: string | undefined;
405
- sectionId?: string | undefined;
406
451
  label?: string | undefined;
407
452
  choicePosition?: number | undefined;
453
+ sectionId?: string | undefined;
454
+ alternativeId?: string | undefined;
408
455
  shotIds?: string[] | undefined;
409
456
  } | undefined;
410
457
  } | undefined;
@@ -415,26 +462,26 @@ declare const gridBindingInput: z.ZodObject<{
415
462
  slots?: {
416
463
  hook?: {
417
464
  key: string;
418
- alternativeId?: string | undefined;
419
- sectionId?: string | undefined;
420
465
  label?: string | undefined;
421
466
  choicePosition?: number | undefined;
467
+ sectionId?: string | undefined;
468
+ alternativeId?: string | undefined;
422
469
  shotIds?: string[] | undefined;
423
470
  } | undefined;
424
471
  body?: {
425
472
  key: string;
426
- alternativeId?: string | undefined;
427
- sectionId?: string | undefined;
428
473
  label?: string | undefined;
429
474
  choicePosition?: number | undefined;
475
+ sectionId?: string | undefined;
476
+ alternativeId?: string | undefined;
430
477
  shotIds?: string[] | undefined;
431
478
  } | undefined;
432
479
  endCard?: {
433
480
  key: string;
434
- alternativeId?: string | undefined;
435
- sectionId?: string | undefined;
436
481
  label?: string | undefined;
437
482
  choicePosition?: number | undefined;
483
+ sectionId?: string | undefined;
484
+ alternativeId?: string | undefined;
438
485
  shotIds?: string[] | undefined;
439
486
  } | undefined;
440
487
  } | undefined;
@@ -520,6 +567,8 @@ export declare const setView: Operation<{
520
567
  open?: boolean;
521
568
  assetIds?: string[];
522
569
  };
570
+ review?: boolean;
571
+ reviewAssetIds?: string[] | null;
523
572
  animatic?: {
524
573
  open: boolean;
525
574
  fromShotId?: string;
@@ -820,16 +869,16 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
820
869
  at: number;
821
870
  kind: "move";
822
871
  start?: number | undefined;
872
+ peak?: number | undefined;
823
873
  end?: number | undefined;
824
874
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
825
- peak?: number | undefined;
826
875
  }, {
827
876
  at: number;
828
877
  kind: "move";
829
878
  start?: number | undefined;
879
+ peak?: number | undefined;
830
880
  end?: number | undefined;
831
881
  direction?: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right" | undefined;
832
- peak?: number | undefined;
833
882
  }>, z.ZodObject<{
834
883
  kind: z.ZodLiteral<"add">;
835
884
  start: z.ZodNumber;
@@ -837,17 +886,17 @@ declare const whipEditInput: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
837
886
  end: z.ZodNumber;
838
887
  direction: z.ZodEnum<["right", "up-right", "up", "up-left", "left", "down-left", "down", "down-right"]>;
839
888
  }, "strict", z.ZodTypeAny, {
840
- start: number;
841
889
  kind: "add";
890
+ start: number;
891
+ peak: number;
842
892
  end: number;
843
893
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
844
- peak: number;
845
894
  }, {
846
- start: number;
847
895
  kind: "add";
896
+ start: number;
897
+ peak: number;
848
898
  end: number;
849
899
  direction: "left" | "right" | "up-right" | "up" | "up-left" | "down-left" | "down" | "down-right";
850
- peak: number;
851
900
  }>, z.ZodObject<{
852
901
  kind: z.ZodLiteral<"delete">;
853
902
  at: z.ZodNumber;
@@ -1472,9 +1521,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1472
1521
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1473
1522
  }, "strict", z.ZodTypeAny, {
1474
1523
  projectId: string;
1475
- action?: "start" | "status" | "cancel" | undefined;
1476
- directory?: string | undefined;
1477
- manifestId?: string | undefined;
1478
1524
  items?: ({
1479
1525
  timelineId: string;
1480
1526
  format: "mp4" | "xml";
@@ -1493,6 +1539,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1493
1539
  lp?: string | undefined;
1494
1540
  } | undefined;
1495
1541
  })[] | undefined;
1542
+ action?: "status" | "cancel" | "start" | undefined;
1543
+ directory?: string | undefined;
1544
+ manifestId?: string | undefined;
1496
1545
  version?: 2 | undefined;
1497
1546
  batchId?: string | undefined;
1498
1547
  exportRoot?: string | undefined;
@@ -1515,9 +1564,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1515
1564
  }> | undefined;
1516
1565
  }, {
1517
1566
  projectId: string;
1518
- action?: "start" | "status" | "cancel" | undefined;
1519
- directory?: string | undefined;
1520
- manifestId?: string | undefined;
1521
1567
  items?: ({
1522
1568
  timelineId: string;
1523
1569
  format: "mp4" | "xml";
@@ -1536,6 +1582,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1536
1582
  lp?: string | undefined;
1537
1583
  } | undefined;
1538
1584
  })[] | undefined;
1585
+ action?: "status" | "cancel" | "start" | undefined;
1586
+ directory?: string | undefined;
1587
+ manifestId?: string | undefined;
1539
1588
  version?: 2 | undefined;
1540
1589
  batchId?: string | undefined;
1541
1590
  exportRoot?: string | undefined;
@@ -1558,9 +1607,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1558
1607
  }> | undefined;
1559
1608
  }>, {
1560
1609
  projectId: string;
1561
- action?: "start" | "status" | "cancel" | undefined;
1562
- directory?: string | undefined;
1563
- manifestId?: string | undefined;
1564
1610
  items?: ({
1565
1611
  timelineId: string;
1566
1612
  format: "mp4" | "xml";
@@ -1579,6 +1625,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1579
1625
  lp?: string | undefined;
1580
1626
  } | undefined;
1581
1627
  })[] | undefined;
1628
+ action?: "status" | "cancel" | "start" | undefined;
1629
+ directory?: string | undefined;
1630
+ manifestId?: string | undefined;
1582
1631
  version?: 2 | undefined;
1583
1632
  batchId?: string | undefined;
1584
1633
  exportRoot?: string | undefined;
@@ -1601,9 +1650,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1601
1650
  }> | undefined;
1602
1651
  }, {
1603
1652
  projectId: string;
1604
- action?: "start" | "status" | "cancel" | undefined;
1605
- directory?: string | undefined;
1606
- manifestId?: string | undefined;
1607
1653
  items?: ({
1608
1654
  timelineId: string;
1609
1655
  format: "mp4" | "xml";
@@ -1622,6 +1668,9 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1622
1668
  lp?: string | undefined;
1623
1669
  } | undefined;
1624
1670
  })[] | undefined;
1671
+ action?: "status" | "cancel" | "start" | undefined;
1672
+ directory?: string | undefined;
1673
+ manifestId?: string | undefined;
1625
1674
  version?: 2 | undefined;
1626
1675
  batchId?: string | undefined;
1627
1676
  exportRoot?: string | undefined;
@@ -1699,27 +1748,27 @@ declare const variantSlotsInput: z.ZodObject<{
1699
1748
  clipIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1700
1749
  sequenceId: z.ZodOptional<z.ZodString>;
1701
1750
  }, "strict", z.ZodTypeAny, {
1702
- action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1703
1751
  projectId: string;
1752
+ action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1704
1753
  at?: number | undefined;
1754
+ name?: string | undefined;
1755
+ alternativeId?: string | undefined;
1705
1756
  timelineId?: string | undefined;
1706
1757
  slotId?: string | undefined;
1707
1758
  slotName?: string | undefined;
1708
- alternativeId?: string | undefined;
1709
- name?: string | undefined;
1710
1759
  orderIndex?: number | undefined;
1711
1760
  bedFrame?: number | null | undefined;
1712
1761
  clipIds?: string[] | undefined;
1713
1762
  sequenceId?: string | undefined;
1714
1763
  }, {
1715
- action: "add" | "update" | "remove" | "add-alternative" | "update-alternative" | "remove-alternative";
1716
1764
  projectId: string;
1765
+ action: "add" | "remove" | "update" | "add-alternative" | "update-alternative" | "remove-alternative";
1717
1766
  at?: number | undefined;
1767
+ name?: string | undefined;
1768
+ alternativeId?: string | undefined;
1718
1769
  timelineId?: string | undefined;
1719
1770
  slotId?: string | undefined;
1720
1771
  slotName?: string | undefined;
1721
- alternativeId?: string | undefined;
1722
- name?: string | undefined;
1723
1772
  orderIndex?: number | undefined;
1724
1773
  bedFrame?: number | null | undefined;
1725
1774
  clipIds?: string[] | undefined;
@@ -1797,10 +1846,10 @@ declare const variantsInput: z.ZodObject<{
1797
1846
  frames: number;
1798
1847
  }>]>>>;
1799
1848
  }, "strict", z.ZodTypeAny, {
1800
- action: "add" | "update" | "remove" | "rebuild";
1801
1849
  projectId: string;
1802
- timelineId?: string | undefined;
1850
+ action: "add" | "remove" | "update" | "rebuild";
1803
1851
  name?: string | undefined;
1852
+ timelineId?: string | undefined;
1804
1853
  variantId?: string | undefined;
1805
1854
  combinations?: boolean | undefined;
1806
1855
  choices?: Record<string, string> | undefined;
@@ -1823,10 +1872,10 @@ declare const variantsInput: z.ZodObject<{
1823
1872
  }> | undefined;
1824
1873
  }[] | undefined;
1825
1874
  }, {
1826
- action: "add" | "update" | "remove" | "rebuild";
1827
1875
  projectId: string;
1828
- timelineId?: string | undefined;
1876
+ action: "add" | "remove" | "update" | "rebuild";
1829
1877
  name?: string | undefined;
1878
+ timelineId?: string | undefined;
1830
1879
  variantId?: string | undefined;
1831
1880
  combinations?: boolean | undefined;
1832
1881
  choices?: Record<string, string> | undefined;
@@ -1883,43 +1932,347 @@ declare const reframeClipInput: z.ZodObject<{
1883
1932
  focusY: z.ZodOptional<z.ZodNumber>;
1884
1933
  zoom: z.ZodOptional<z.ZodNumber>;
1885
1934
  }, "strict", z.ZodTypeAny, {
1886
- zoom?: number | undefined;
1887
1935
  mode?: "fill" | "fit" | undefined;
1888
1936
  focusX?: number | undefined;
1889
1937
  focusY?: number | undefined;
1890
- }, {
1891
1938
  zoom?: number | undefined;
1939
+ }, {
1892
1940
  mode?: "fill" | "fit" | undefined;
1893
1941
  focusX?: number | undefined;
1894
1942
  focusY?: number | undefined;
1943
+ zoom?: number | undefined;
1895
1944
  }>>>;
1896
- 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
+ }>]>>;
1897
1952
  }, "strict", z.ZodTypeAny, {
1898
1953
  projectId: string;
1899
1954
  timelineId: string;
1900
- aspect: string;
1901
1955
  clipId: string;
1956
+ aspect: string;
1902
1957
  framing?: {
1903
- zoom?: number | undefined;
1904
1958
  mode?: "fill" | "fit" | undefined;
1905
1959
  focusX?: number | undefined;
1906
1960
  focusY?: number | undefined;
1961
+ zoom?: number | undefined;
1907
1962
  } | null | undefined;
1908
- follow?: "off" | "face" | undefined;
1963
+ follow?: "face" | "off" | {
1964
+ maskId: string;
1965
+ } | undefined;
1909
1966
  }, {
1910
1967
  projectId: string;
1911
1968
  timelineId: string;
1912
- aspect: string;
1913
1969
  clipId: string;
1970
+ aspect: string;
1914
1971
  framing?: {
1915
- zoom?: number | undefined;
1916
1972
  mode?: "fill" | "fit" | undefined;
1917
1973
  focusX?: number | undefined;
1918
1974
  focusY?: number | undefined;
1975
+ zoom?: number | undefined;
1919
1976
  } | null | undefined;
1920
- follow?: "off" | "face" | undefined;
1977
+ follow?: "face" | "off" | {
1978
+ maskId: string;
1979
+ } | undefined;
1921
1980
  }>;
1922
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
+ pauses?: boolean | undefined;
2019
+ fillers?: boolean | undefined;
2020
+ repeats?: boolean | undefined;
2021
+ minPauseSec?: number | undefined;
2022
+ keepAirSec?: number | undefined;
2023
+ }, {
2024
+ pauses?: boolean | undefined;
2025
+ fillers?: 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
+ }>;
2087
+ export declare const getAdWinners: Operation<{
2088
+ projectId?: string;
2089
+ }>;
2090
+ export declare const setRecipeVerdict: Operation<{
2091
+ recipeId: string;
2092
+ projectId?: string | null;
2093
+ verdict: 'winner' | 'loser' | null;
2094
+ note?: string;
2095
+ }>;
2096
+ export declare const moreLikeThis: Operation<{
2097
+ exportRef: string;
2098
+ openHookSlot?: boolean;
2099
+ extraHookCount?: number;
2100
+ }>;
2101
+ declare const SPLIT_TEST_INPUT: z.ZodObject<{
2102
+ projectId: z.ZodString;
2103
+ accountId: z.ZodString;
2104
+ campaignName: z.ZodString;
2105
+ dailyBudgetMinor: z.ZodNumber;
2106
+ currency: z.ZodString;
2107
+ exportRefs: z.ZodArray<z.ZodString, "many">;
2108
+ country: z.ZodString;
2109
+ specialAdCategories: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
2110
+ pageId: z.ZodString;
2111
+ destinationUrl: z.ZodString;
2112
+ headline: z.ZodOptional<z.ZodString>;
2113
+ primaryText: z.ZodOptional<z.ZodString>;
2114
+ cta: z.ZodOptional<z.ZodString>;
2115
+ thresholdSpend: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2116
+ thresholdImpressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2117
+ }, "strict", z.ZodTypeAny, {
2118
+ projectId: string;
2119
+ destinationUrl: string;
2120
+ accountId: string;
2121
+ campaignName: string;
2122
+ dailyBudgetMinor: number;
2123
+ currency: string;
2124
+ exportRefs: string[];
2125
+ country: string;
2126
+ specialAdCategories: string[] | null;
2127
+ pageId: string;
2128
+ primaryText?: string | undefined;
2129
+ headline?: string | undefined;
2130
+ cta?: string | undefined;
2131
+ thresholdSpend?: number | null | undefined;
2132
+ thresholdImpressions?: number | null | undefined;
2133
+ }, {
2134
+ projectId: string;
2135
+ destinationUrl: string;
2136
+ accountId: string;
2137
+ campaignName: string;
2138
+ dailyBudgetMinor: number;
2139
+ currency: string;
2140
+ exportRefs: string[];
2141
+ country: string;
2142
+ specialAdCategories: string[] | null;
2143
+ pageId: string;
2144
+ primaryText?: string | undefined;
2145
+ headline?: string | undefined;
2146
+ cta?: string | undefined;
2147
+ thresholdSpend?: number | null | undefined;
2148
+ thresholdImpressions?: number | null | undefined;
2149
+ }>;
2150
+ export declare const planSplitTest: Operation<z.infer<typeof SPLIT_TEST_INPUT>>;
2151
+ export declare const evaluateSplitTestWinner: Operation<{
2152
+ testId: string;
2153
+ thresholds?: {
2154
+ minSpend?: number | null;
2155
+ minImpressions?: number | null;
2156
+ };
2157
+ }>;
2158
+ export declare const visualQaSample: Operation<{
2159
+ projectId?: string;
2160
+ timelineId?: string;
2161
+ runId?: string;
2162
+ maxRounds?: number;
2163
+ budget?: number;
2164
+ }>;
2165
+ declare const VQA_DIMENSION: z.ZodEnum<["alignment", "legibility", "hierarchy", "pacing", "transitions", "motion", "restraint"]>;
2166
+ export declare const visualQaRecordRound: Operation<{
2167
+ runId: string;
2168
+ scores: Partial<Record<z.infer<typeof VQA_DIMENSION>, number>>;
2169
+ findings: Array<{
2170
+ sampleId: string;
2171
+ dimension: z.infer<typeof VQA_DIMENSION>;
2172
+ severity: 'blocker' | 'should-fix' | 'polish';
2173
+ diagnosis: string;
2174
+ exactFix: string;
2175
+ region?: {
2176
+ x: number;
2177
+ y: number;
2178
+ w: number;
2179
+ h: number;
2180
+ } | null;
2181
+ span?: {
2182
+ startSec: number;
2183
+ endSec: number;
2184
+ } | null;
2185
+ targetClipId?: string;
2186
+ targetTransitionId?: string;
2187
+ findingId?: string;
2188
+ }>;
2189
+ summary?: string;
2190
+ promoteToReview?: boolean;
2191
+ }>;
2192
+ export declare const listVisualQaRuns: Operation<{
2193
+ projectId?: string;
2194
+ timelineId?: string;
2195
+ runId?: string;
2196
+ }>;
2197
+ declare const V2V_KIND: z.ZodEnum<["swap-person", "change-angle", "change-location", "move-camera", "relight", "video-brush"]>;
2198
+ export declare const listV2vPasses: Operation<{
2199
+ projectId: string;
2200
+ timelineId: string;
2201
+ clipId?: string;
2202
+ }>;
2203
+ export declare const editV2vPass: Operation<{
2204
+ projectId: string;
2205
+ action: 'create' | 'update' | 'delete' | 'reorder';
2206
+ input?: {
2207
+ timelineId: string;
2208
+ clipId: string;
2209
+ kind: z.infer<typeof V2V_KIND>;
2210
+ label?: string;
2211
+ model?: string;
2212
+ prompt?: string;
2213
+ params?: Record<string, unknown>;
2214
+ referenceAssetIds?: string[];
2215
+ startFrame?: number;
2216
+ endFrame?: number;
2217
+ };
2218
+ passId?: string;
2219
+ patch?: {
2220
+ label?: string;
2221
+ enabled?: boolean;
2222
+ orderIndex?: number;
2223
+ model?: string;
2224
+ prompt?: string;
2225
+ params?: Record<string, unknown>;
2226
+ referenceAssetIds?: string[];
2227
+ startFrame?: number;
2228
+ endFrame?: number;
2229
+ };
2230
+ timelineId?: string;
2231
+ clipId?: string;
2232
+ orderedIds?: string[];
2233
+ }>;
2234
+ export declare const quoteV2vPasses: Operation<{
2235
+ projectId: string;
2236
+ passIds: string[];
2237
+ }>;
2238
+ export declare const runV2vPasses: Operation<{
2239
+ projectId: string;
2240
+ timelineId: string;
2241
+ passIds: string[];
2242
+ maxCredits: number;
2243
+ quoteFingerprint: string;
2244
+ requestId?: string;
2245
+ maxParallel?: number;
2246
+ }>;
2247
+ export declare const v2vPassesToVariants: Operation<{
2248
+ projectId: string;
2249
+ timelineId: string;
2250
+ passIds: string[];
2251
+ slotName?: string;
2252
+ }>;
2253
+ export declare const getDiagnosticsStatus: Operation<Record<string, never>>;
2254
+ export declare const findWinningAds: Operation<{
2255
+ query?: string;
2256
+ niche?: string;
2257
+ platform?: 'all' | 'meta' | 'google';
2258
+ minRunDays?: number;
2259
+ format?: 'all' | 'video' | 'image';
2260
+ activeOnly?: boolean;
2261
+ hasBreakdown?: boolean;
2262
+ sort?: 'run_length' | 'variations' | 'recent';
2263
+ limit?: number;
2264
+ offset?: number;
2265
+ }>;
2266
+ export declare const listWinningAdNiches: Operation<Record<string, never>>;
2267
+ export declare const breakDownWinningAd: Operation<{
2268
+ projectId?: string;
2269
+ adId: string;
2270
+ platform?: 'meta' | 'google';
2271
+ build?: boolean;
2272
+ name?: string;
2273
+ model?: string;
2274
+ jobId?: string;
2275
+ }>;
1923
2276
  export declare const listTimelines: Operation<{
1924
2277
  projectId: string;
1925
2278
  }>;
@@ -2043,13 +2396,13 @@ declare const keyframeKeys: z.ZodArray<z.ZodObject<{
2043
2396
  }, "strict", z.ZodTypeAny, {
2044
2397
  value: number;
2045
2398
  frame: number;
2046
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2399
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2047
2400
  cubicBezier: [number, number, number, number];
2048
2401
  } | undefined;
2049
2402
  }, {
2050
2403
  value: number;
2051
2404
  frame: number;
2052
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2405
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2053
2406
  cubicBezier: [number, number, number, number];
2054
2407
  } | undefined;
2055
2408
  }>, "many">;
@@ -2066,20 +2419,20 @@ declare const keyframeList: z.ZodArray<z.ZodObject<{
2066
2419
  }, "strict", z.ZodTypeAny, {
2067
2420
  value: number;
2068
2421
  frame: number;
2069
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2422
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2070
2423
  cubicBezier: [number, number, number, number];
2071
2424
  } | undefined;
2072
2425
  }, {
2073
2426
  value: number;
2074
2427
  frame: number;
2075
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2428
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2076
2429
  cubicBezier: [number, number, number, number];
2077
2430
  } | undefined;
2078
2431
  }>, "many">;
2079
2432
  /** 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. */
2080
2433
  declare const audioEffectList: z.ZodArray<z.ZodObject<{
2081
2434
  id: z.ZodOptional<z.ZodString>;
2082
- type: z.ZodEnum<["volume", "eq"]>;
2435
+ type: z.ZodEnum<["volume", "eq", "denoise", "voice_enhance"]>;
2083
2436
  bypass: z.ZodOptional<z.ZodBoolean>;
2084
2437
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2085
2438
  keyframes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -2095,13 +2448,13 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2095
2448
  }, "strict", z.ZodTypeAny, {
2096
2449
  value: number;
2097
2450
  frame: number;
2098
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2451
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2099
2452
  cubicBezier: [number, number, number, number];
2100
2453
  } | undefined;
2101
2454
  }, {
2102
2455
  value: number;
2103
2456
  frame: number;
2104
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2457
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2105
2458
  cubicBezier: [number, number, number, number];
2106
2459
  } | undefined;
2107
2460
  }>, "many">>>;
@@ -2126,102 +2479,102 @@ declare const audioEffectList: z.ZodArray<z.ZodObject<{
2126
2479
  }, "strict", z.ZodTypeAny, {
2127
2480
  value: number;
2128
2481
  frame: number;
2129
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2482
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2130
2483
  cubicBezier: [number, number, number, number];
2131
2484
  } | undefined;
2132
2485
  }, {
2133
2486
  value: number;
2134
2487
  frame: number;
2135
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2488
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2136
2489
  cubicBezier: [number, number, number, number];
2137
2490
  } | undefined;
2138
2491
  }>, "many">>>;
2139
2492
  }, "strict", z.ZodTypeAny, {
2140
2493
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2494
+ on?: boolean | undefined;
2495
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2496
+ frequency?: number | undefined;
2497
+ gain?: number | undefined;
2498
+ q?: number | undefined;
2499
+ slope?: number | undefined;
2141
2500
  keyframes?: Record<string, {
2142
2501
  value: number;
2143
2502
  frame: number;
2144
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2503
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2145
2504
  cubicBezier: [number, number, number, number];
2146
2505
  } | undefined;
2147
2506
  }[]> | undefined;
2148
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2507
+ }, {
2508
+ type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2149
2509
  on?: boolean | undefined;
2510
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2150
2511
  frequency?: number | undefined;
2151
2512
  gain?: number | undefined;
2152
2513
  q?: number | undefined;
2153
2514
  slope?: number | undefined;
2154
- }, {
2155
- type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2156
2515
  keyframes?: Record<string, {
2157
2516
  value: number;
2158
2517
  frame: number;
2159
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2518
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2160
2519
  cubicBezier: [number, number, number, number];
2161
2520
  } | undefined;
2162
2521
  }[]> | undefined;
2163
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2164
- on?: boolean | undefined;
2165
- frequency?: number | undefined;
2166
- gain?: number | undefined;
2167
- q?: number | undefined;
2168
- slope?: number | undefined;
2169
2522
  }>, "many">>;
2170
2523
  }, "strict", z.ZodTypeAny, {
2171
- type: "volume" | "eq";
2172
- params?: Record<string, number> | undefined;
2524
+ type: "volume" | "eq" | "denoise" | "voice_enhance";
2173
2525
  id?: string | undefined;
2174
- bypass?: boolean | undefined;
2526
+ params?: Record<string, number> | undefined;
2175
2527
  keyframes?: Record<string, {
2176
2528
  value: number;
2177
2529
  frame: number;
2178
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2530
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2179
2531
  cubicBezier: [number, number, number, number];
2180
2532
  } | undefined;
2181
2533
  }[]> | undefined;
2534
+ bypass?: boolean | undefined;
2182
2535
  bands?: {
2183
2536
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2537
+ on?: boolean | undefined;
2538
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2539
+ frequency?: number | undefined;
2540
+ gain?: number | undefined;
2541
+ q?: number | undefined;
2542
+ slope?: number | undefined;
2184
2543
  keyframes?: Record<string, {
2185
2544
  value: number;
2186
2545
  frame: number;
2187
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2546
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2188
2547
  cubicBezier: [number, number, number, number];
2189
2548
  } | undefined;
2190
2549
  }[]> | undefined;
2191
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2192
- on?: boolean | undefined;
2193
- frequency?: number | undefined;
2194
- gain?: number | undefined;
2195
- q?: number | undefined;
2196
- slope?: number | undefined;
2197
2550
  }[] | undefined;
2198
2551
  }, {
2199
- type: "volume" | "eq";
2200
- params?: Record<string, number> | undefined;
2552
+ type: "volume" | "eq" | "denoise" | "voice_enhance";
2201
2553
  id?: string | undefined;
2202
- bypass?: boolean | undefined;
2554
+ params?: Record<string, number> | undefined;
2203
2555
  keyframes?: Record<string, {
2204
2556
  value: number;
2205
2557
  frame: number;
2206
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2558
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2207
2559
  cubicBezier: [number, number, number, number];
2208
2560
  } | undefined;
2209
2561
  }[]> | undefined;
2562
+ bypass?: boolean | undefined;
2210
2563
  bands?: {
2211
2564
  type: "highpass" | "lowshelf" | "highshelf" | "lowpass" | "bell" | "notch" | "bandpass";
2565
+ on?: boolean | undefined;
2566
+ band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2567
+ frequency?: number | undefined;
2568
+ gain?: number | undefined;
2569
+ q?: number | undefined;
2570
+ slope?: number | undefined;
2212
2571
  keyframes?: Record<string, {
2213
2572
  value: number;
2214
2573
  frame: number;
2215
- easing?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "hold" | {
2574
+ easing?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | "hold" | {
2216
2575
  cubicBezier: [number, number, number, number];
2217
2576
  } | undefined;
2218
2577
  }[]> | undefined;
2219
- band?: "highpass" | "lowshelf" | "bell1" | "bell2" | "bell3" | "bell4" | "bell5" | "bell6" | "highshelf" | "lowpass" | undefined;
2220
- on?: boolean | undefined;
2221
- frequency?: number | undefined;
2222
- gain?: number | undefined;
2223
- q?: number | undefined;
2224
- slope?: number | undefined;
2225
2578
  }[] | undefined;
2226
2579
  }>, "many">;
2227
2580
  /** A clip's panel (slate's `src/shared/clipPanel.ts`): lengths in fractions of the frame's height. */
@@ -2251,13 +2604,13 @@ declare const clipPanel: z.ZodObject<{
2251
2604
  opacity: z.ZodOptional<z.ZodNumber>;
2252
2605
  color: z.ZodOptional<z.ZodString>;
2253
2606
  }, "strict", z.ZodTypeAny, {
2607
+ width?: number | undefined;
2254
2608
  opacity?: number | undefined;
2255
2609
  color?: string | undefined;
2256
- width?: number | undefined;
2257
2610
  }, {
2611
+ width?: number | undefined;
2258
2612
  opacity?: number | undefined;
2259
2613
  color?: string | undefined;
2260
- width?: number | undefined;
2261
2614
  }>>;
2262
2615
  }, "strict", z.ZodTypeAny, {
2263
2616
  radius?: number | undefined;
@@ -2269,9 +2622,9 @@ declare const clipPanel: z.ZodObject<{
2269
2622
  color?: string | undefined;
2270
2623
  } | undefined;
2271
2624
  border?: {
2625
+ width?: number | undefined;
2272
2626
  opacity?: number | undefined;
2273
2627
  color?: string | undefined;
2274
- width?: number | undefined;
2275
2628
  } | undefined;
2276
2629
  }, {
2277
2630
  radius?: number | undefined;
@@ -2283,11 +2636,144 @@ declare const clipPanel: z.ZodObject<{
2283
2636
  color?: string | undefined;
2284
2637
  } | undefined;
2285
2638
  border?: {
2639
+ width?: number | undefined;
2286
2640
  opacity?: number | undefined;
2287
2641
  color?: string | undefined;
2288
- width?: number | undefined;
2289
2642
  } | undefined;
2290
2643
  }>;
2644
+ declare const clipLookInput: z.ZodObject<{
2645
+ blend: z.ZodOptional<z.ZodEnum<["normal", "multiply", "screen", "overlay", "soft-light"]>>;
2646
+ grain: z.ZodOptional<z.ZodNumber>;
2647
+ saturation: z.ZodOptional<z.ZodNumber>;
2648
+ exposure: z.ZodOptional<z.ZodNumber>;
2649
+ contrast: z.ZodOptional<z.ZodNumber>;
2650
+ temperature: z.ZodOptional<z.ZodNumber>;
2651
+ tint: z.ZodOptional<z.ZodNumber>;
2652
+ highlights: z.ZodOptional<z.ZodNumber>;
2653
+ shadows: z.ZodOptional<z.ZodNumber>;
2654
+ lutPath: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
2655
+ lutIntensity: z.ZodOptional<z.ZodNumber>;
2656
+ }, "strict", z.ZodTypeAny, {
2657
+ blend?: "normal" | "multiply" | "screen" | "overlay" | "soft-light" | undefined;
2658
+ grain?: number | undefined;
2659
+ saturation?: number | undefined;
2660
+ exposure?: number | undefined;
2661
+ contrast?: number | undefined;
2662
+ temperature?: number | undefined;
2663
+ tint?: number | undefined;
2664
+ highlights?: number | undefined;
2665
+ shadows?: number | undefined;
2666
+ lutPath?: string | undefined;
2667
+ lutIntensity?: number | undefined;
2668
+ }, {
2669
+ blend?: "normal" | "multiply" | "screen" | "overlay" | "soft-light" | undefined;
2670
+ grain?: number | undefined;
2671
+ saturation?: number | undefined;
2672
+ exposure?: number | undefined;
2673
+ contrast?: number | undefined;
2674
+ temperature?: number | undefined;
2675
+ tint?: number | undefined;
2676
+ highlights?: number | undefined;
2677
+ shadows?: number | undefined;
2678
+ lutPath?: string | undefined;
2679
+ lutIntensity?: number | undefined;
2680
+ }>;
2681
+ /** A clip's matte (slate's `src/shared/clipMatte.ts`): a subject mask, a shape, or a colour key. One kind at a time. */
2682
+ declare const clipMatteInput: z.ZodUnion<[z.ZodObject<{
2683
+ maskId: z.ZodString;
2684
+ mode: z.ZodOptional<z.ZodEnum<["subject", "background"]>>;
2685
+ feather: z.ZodOptional<z.ZodNumber>;
2686
+ }, "strict", z.ZodTypeAny, {
2687
+ maskId: string;
2688
+ mode?: "subject" | "background" | undefined;
2689
+ feather?: number | undefined;
2690
+ }, {
2691
+ maskId: string;
2692
+ mode?: "subject" | "background" | undefined;
2693
+ feather?: number | undefined;
2694
+ }>, z.ZodObject<{
2695
+ shape: z.ZodObject<{
2696
+ kind: z.ZodEnum<["rect", "ellipse"]>;
2697
+ x: z.ZodNumber;
2698
+ y: z.ZodNumber;
2699
+ w: z.ZodNumber;
2700
+ h: z.ZodNumber;
2701
+ rotation: z.ZodOptional<z.ZodNumber>;
2702
+ feather: z.ZodOptional<z.ZodNumber>;
2703
+ invert: z.ZodOptional<z.ZodBoolean>;
2704
+ }, "strict", z.ZodTypeAny, {
2705
+ kind: "rect" | "ellipse";
2706
+ x: number;
2707
+ y: number;
2708
+ w: number;
2709
+ h: number;
2710
+ feather?: number | undefined;
2711
+ rotation?: number | undefined;
2712
+ invert?: boolean | undefined;
2713
+ }, {
2714
+ kind: "rect" | "ellipse";
2715
+ x: number;
2716
+ y: number;
2717
+ w: number;
2718
+ h: number;
2719
+ feather?: number | undefined;
2720
+ rotation?: number | undefined;
2721
+ invert?: boolean | undefined;
2722
+ }>;
2723
+ }, "strict", z.ZodTypeAny, {
2724
+ shape: {
2725
+ kind: "rect" | "ellipse";
2726
+ x: number;
2727
+ y: number;
2728
+ w: number;
2729
+ h: number;
2730
+ feather?: number | undefined;
2731
+ rotation?: number | undefined;
2732
+ invert?: boolean | undefined;
2733
+ };
2734
+ }, {
2735
+ shape: {
2736
+ kind: "rect" | "ellipse";
2737
+ x: number;
2738
+ y: number;
2739
+ w: number;
2740
+ h: number;
2741
+ feather?: number | undefined;
2742
+ rotation?: number | undefined;
2743
+ invert?: boolean | undefined;
2744
+ };
2745
+ }>, z.ZodObject<{
2746
+ chroma: z.ZodObject<{
2747
+ color: z.ZodString;
2748
+ tolerance: z.ZodNumber;
2749
+ softness: z.ZodNumber;
2750
+ spill: z.ZodOptional<z.ZodNumber>;
2751
+ }, "strict", z.ZodTypeAny, {
2752
+ color: string;
2753
+ tolerance: number;
2754
+ softness: number;
2755
+ spill?: number | undefined;
2756
+ }, {
2757
+ color: string;
2758
+ tolerance: number;
2759
+ softness: number;
2760
+ spill?: number | undefined;
2761
+ }>;
2762
+ }, "strict", z.ZodTypeAny, {
2763
+ chroma: {
2764
+ color: string;
2765
+ tolerance: number;
2766
+ softness: number;
2767
+ spill?: number | undefined;
2768
+ };
2769
+ }, {
2770
+ chroma: {
2771
+ color: string;
2772
+ tolerance: number;
2773
+ softness: number;
2774
+ spill?: number | undefined;
2775
+ };
2776
+ }>]>;
2291
2777
  export declare const updateClip: Operation<{
2292
2778
  projectId: string;
2293
2779
  clipId: string;
@@ -2298,17 +2784,9 @@ export declare const updateClip: Operation<{
2298
2784
  fadeOutFrames?: number | null;
2299
2785
  audioFadeInFrames?: number | null;
2300
2786
  audioFadeOutFrames?: number | null;
2301
- look?: {
2302
- blend?: 'normal' | 'multiply' | 'screen' | 'overlay' | 'soft-light';
2303
- grain?: number;
2304
- saturation?: number;
2305
- exposure?: number;
2306
- } | null;
2307
- matte?: {
2308
- maskId: string;
2309
- mode?: 'subject' | 'background';
2310
- feather?: number;
2311
- } | null;
2787
+ look?: z.infer<typeof clipLookInput> | null;
2788
+ matte?: z.infer<typeof clipMatteInput> | null;
2789
+ reversed?: boolean | null;
2312
2790
  space?: {
2313
2791
  pitch?: number;
2314
2792
  yaw?: number;
@@ -2341,7 +2819,7 @@ export declare const addTimelineTrack: Operation<{
2341
2819
  above?: string;
2342
2820
  below?: string;
2343
2821
  }>;
2344
- declare const TEXT_STYLE_IDS: readonly ["word-pop", "keyword", "subtitle", "headline", "clean", "plain"];
2822
+ 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"];
2345
2823
  declare const TEXT_FONT_IDS: readonly ["bebas-neue", "montserrat-medium", "montserrat-bold", "montserrat-extrabold", "montserrat-black", "geist-regular", "geist-medium", "geist-semibold", "geist-bold"];
2346
2824
  type TextSet = {
2347
2825
  font?: (typeof TEXT_FONT_IDS)[number];
@@ -2509,7 +2987,7 @@ export declare const exportVideo: Operation<{
2509
2987
  overwrite?: boolean;
2510
2988
  aspect?: string;
2511
2989
  audioBitrate?: typeof AUDIO_BITRATES[number];
2512
- }>;
2990
+ } & z.infer<typeof exportEncodingInput>>;
2513
2991
  export declare const exportTimelineXml: Operation<{
2514
2992
  projectId?: string;
2515
2993
  timelineId?: string;
@@ -2871,34 +3349,34 @@ declare const variationSchema: z.ZodObject<{
2871
3349
  sectionId: z.ZodString;
2872
3350
  alternativeId: z.ZodString;
2873
3351
  }, "strip", z.ZodTypeAny, {
2874
- alternativeId: string;
2875
3352
  sectionId: string;
2876
- }, {
2877
3353
  alternativeId: string;
3354
+ }, {
2878
3355
  sectionId: string;
3356
+ alternativeId: string;
2879
3357
  }>, "many">;
2880
3358
  arrangement: z.ZodOptional<z.ZodArray<z.ZodObject<{
2881
3359
  sectionId: z.ZodString;
2882
3360
  alternativeId: z.ZodString;
2883
3361
  }, "strip", z.ZodTypeAny, {
2884
- alternativeId: string;
2885
3362
  sectionId: string;
2886
- }, {
2887
3363
  alternativeId: string;
3364
+ }, {
2888
3365
  sectionId: string;
3366
+ alternativeId: string;
2889
3367
  }>, "many">>;
2890
3368
  itemOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
2891
3369
  from: z.ZodString;
2892
3370
  to: z.ZodString;
2893
3371
  voice: z.ZodEnum<["keep", "replace"]>;
2894
3372
  }, "strip", z.ZodTypeAny, {
3373
+ voice: "replace" | "keep";
2895
3374
  from: string;
2896
3375
  to: string;
2897
- voice: "keep" | "replace";
2898
3376
  }, {
3377
+ voice: "replace" | "keep";
2899
3378
  from: string;
2900
3379
  to: string;
2901
- voice: "keep" | "replace";
2902
3380
  }>, "many">>;
2903
3381
  assetOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
2904
3382
  from: z.ZodString;
@@ -2913,20 +3391,20 @@ declare const variationSchema: z.ZodObject<{
2913
3391
  idempotencyKey: z.ZodOptional<z.ZodString>;
2914
3392
  }, "strip", z.ZodTypeAny, {
2915
3393
  name: string;
3394
+ storyboardId: string;
2916
3395
  choices: {
2917
- alternativeId: string;
2918
3396
  sectionId: string;
3397
+ alternativeId: string;
2919
3398
  }[];
2920
- storyboardId: string;
2921
3399
  expectedRevision: number;
2922
3400
  arrangement?: {
2923
- alternativeId: string;
2924
3401
  sectionId: string;
3402
+ alternativeId: string;
2925
3403
  }[] | undefined;
2926
3404
  itemOverrides?: {
3405
+ voice: "replace" | "keep";
2927
3406
  from: string;
2928
3407
  to: string;
2929
- voice: "keep" | "replace";
2930
3408
  }[] | undefined;
2931
3409
  assetOverrides?: {
2932
3410
  from: string;
@@ -2935,20 +3413,20 @@ declare const variationSchema: z.ZodObject<{
2935
3413
  idempotencyKey?: string | undefined;
2936
3414
  }, {
2937
3415
  name: string;
3416
+ storyboardId: string;
2938
3417
  choices: {
2939
- alternativeId: string;
2940
3418
  sectionId: string;
3419
+ alternativeId: string;
2941
3420
  }[];
2942
- storyboardId: string;
2943
3421
  expectedRevision: number;
2944
3422
  arrangement?: {
2945
- alternativeId: string;
2946
3423
  sectionId: string;
3424
+ alternativeId: string;
2947
3425
  }[] | undefined;
2948
3426
  itemOverrides?: {
3427
+ voice: "replace" | "keep";
2949
3428
  from: string;
2950
3429
  to: string;
2951
- voice: "keep" | "replace";
2952
3430
  }[] | undefined;
2953
3431
  assetOverrides?: {
2954
3432
  from: string;
@@ -2988,80 +3466,80 @@ declare const sectionInput: z.ZodObject<{
2988
3466
  expectedRevision: z.ZodNumber;
2989
3467
  }, "strip", z.ZodTypeAny, {
2990
3468
  at: number;
2991
- expectedRevision: number;
2992
3469
  sceneId: string;
3470
+ expectedRevision: number;
2993
3471
  }, {
2994
3472
  at: number;
2995
- expectedRevision: number;
2996
3473
  sceneId: string;
3474
+ expectedRevision: number;
2997
3475
  }>>;
2998
3476
  uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
2999
3477
  sectionId: z.ZodString;
3000
3478
  expectedRevision: z.ZodNumber;
3001
3479
  }, "strip", z.ZodTypeAny, {
3002
- expectedRevision: number;
3003
3480
  sectionId: string;
3004
- }, {
3005
3481
  expectedRevision: number;
3482
+ }, {
3006
3483
  sectionId: string;
3484
+ expectedRevision: number;
3007
3485
  }>, "many">>;
3008
3486
  fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3009
3487
  sceneId: z.ZodString;
3010
3488
  start: z.ZodNumber;
3011
3489
  end: z.ZodNumber;
3012
3490
  }, "strip", z.ZodTypeAny, {
3013
- start: number;
3014
3491
  sceneId: string;
3492
+ start: number;
3015
3493
  end: number;
3016
3494
  }, {
3017
- start: number;
3018
3495
  sceneId: string;
3496
+ start: number;
3019
3497
  end: number;
3020
3498
  }>, "many">>;
3021
3499
  }, "strip", z.ZodTypeAny, {
3022
- action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3500
+ action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3023
3501
  storyboardId: string;
3024
3502
  expectedRevision: number;
3025
- alternativeId?: string | undefined;
3026
- sectionId?: string | undefined;
3027
- tags?: string[] | undefined;
3028
- parentId?: string | undefined;
3029
- label?: string | undefined;
3030
3503
  target?: {
3031
3504
  at: number;
3032
- expectedRevision: number;
3033
3505
  sceneId: string;
3506
+ expectedRevision: number;
3034
3507
  } | undefined;
3508
+ label?: string | undefined;
3509
+ sectionId?: string | undefined;
3510
+ alternativeId?: string | undefined;
3511
+ tags?: string[] | undefined;
3512
+ parentId?: string | undefined;
3035
3513
  uses?: {
3036
- expectedRevision: number;
3037
3514
  sectionId: string;
3515
+ expectedRevision: number;
3038
3516
  }[] | undefined;
3039
3517
  fragments?: {
3040
- start: number;
3041
3518
  sceneId: string;
3519
+ start: number;
3042
3520
  end: number;
3043
3521
  }[] | undefined;
3044
3522
  }, {
3045
- action: "create" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "rename" | "archive" | "tags";
3523
+ action: "tags" | "create" | "rename" | "alternative" | "choose" | "save" | "reuse" | "updateUses" | "archive";
3046
3524
  storyboardId: string;
3047
3525
  expectedRevision: number;
3048
- alternativeId?: string | undefined;
3049
- sectionId?: string | undefined;
3050
- tags?: string[] | undefined;
3051
- parentId?: string | undefined;
3052
- label?: string | undefined;
3053
3526
  target?: {
3054
3527
  at: number;
3055
- expectedRevision: number;
3056
3528
  sceneId: string;
3529
+ expectedRevision: number;
3057
3530
  } | undefined;
3531
+ label?: string | undefined;
3532
+ sectionId?: string | undefined;
3533
+ alternativeId?: string | undefined;
3534
+ tags?: string[] | undefined;
3535
+ parentId?: string | undefined;
3058
3536
  uses?: {
3059
- expectedRevision: number;
3060
3537
  sectionId: string;
3538
+ expectedRevision: number;
3061
3539
  }[] | undefined;
3062
3540
  fragments?: {
3063
- start: number;
3064
3541
  sceneId: string;
3542
+ start: number;
3065
3543
  end: number;
3066
3544
  }[] | undefined;
3067
3545
  }>;
@@ -3081,15 +3559,15 @@ declare const suggestionInput: z.ZodObject<{
3081
3559
  replacement: z.ZodString;
3082
3560
  note: z.ZodOptional<z.ZodString>;
3083
3561
  }, "strip", z.ZodTypeAny, {
3084
- start: number;
3085
3562
  sceneId: string;
3563
+ start: number;
3086
3564
  end: number;
3087
3565
  original: string;
3088
3566
  replacement: string;
3089
3567
  note?: string | undefined;
3090
3568
  }, {
3091
- start: number;
3092
3569
  sceneId: string;
3570
+ start: number;
3093
3571
  end: number;
3094
3572
  original: string;
3095
3573
  replacement: string;
@@ -3101,8 +3579,8 @@ declare const suggestionInput: z.ZodObject<{
3101
3579
  storyboardId: string;
3102
3580
  expectedRevision: number;
3103
3581
  suggestions?: {
3104
- start: number;
3105
3582
  sceneId: string;
3583
+ start: number;
3106
3584
  end: number;
3107
3585
  original: string;
3108
3586
  replacement: string;
@@ -3114,8 +3592,8 @@ declare const suggestionInput: z.ZodObject<{
3114
3592
  storyboardId: string;
3115
3593
  expectedRevision: number;
3116
3594
  suggestions?: {
3117
- start: number;
3118
3595
  sceneId: string;
3596
+ start: number;
3119
3597
  end: number;
3120
3598
  original: string;
3121
3599
  replacement: string;
@@ -3136,13 +3614,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3136
3614
  removed: z.ZodNumber;
3137
3615
  text: z.ZodString;
3138
3616
  }, "strip", z.ZodTypeAny, {
3139
- text: string;
3140
3617
  at: number;
3618
+ text: string;
3141
3619
  sceneId: string;
3142
3620
  removed: number;
3143
3621
  }, {
3144
- text: string;
3145
3622
  at: number;
3623
+ text: string;
3146
3624
  sceneId: string;
3147
3625
  removed: number;
3148
3626
  }>, "many">;
@@ -3160,68 +3638,68 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3160
3638
  end: z.ZodNumber;
3161
3639
  type: z.ZodEnum<["strong", "em"]>;
3162
3640
  }, "strip", z.ZodTypeAny, {
3163
- start: number;
3164
3641
  type: "strong" | "em";
3642
+ start: number;
3165
3643
  end: number;
3166
3644
  }, {
3167
- start: number;
3168
3645
  type: "strong" | "em";
3646
+ start: number;
3169
3647
  end: number;
3170
3648
  }>, "many">;
3171
3649
  }, "strip", z.ZodTypeAny, {
3650
+ id: string;
3651
+ kind: "direction" | "paragraph" | "heading";
3172
3652
  start: number;
3173
- kind: "paragraph" | "heading" | "direction";
3174
3653
  end: number;
3175
- id: string;
3176
3654
  marks: {
3177
- start: number;
3178
3655
  type: "strong" | "em";
3656
+ start: number;
3179
3657
  end: number;
3180
3658
  }[];
3181
- label?: string | undefined;
3182
3659
  level?: 2 | 3 | undefined;
3660
+ label?: string | undefined;
3183
3661
  }, {
3662
+ id: string;
3663
+ kind: "direction" | "paragraph" | "heading";
3184
3664
  start: number;
3185
- kind: "paragraph" | "heading" | "direction";
3186
3665
  end: number;
3187
- id: string;
3188
3666
  marks: {
3189
- start: number;
3190
3667
  type: "strong" | "em";
3668
+ start: number;
3191
3669
  end: number;
3192
3670
  }[];
3193
- label?: string | undefined;
3194
3671
  level?: 2 | 3 | undefined;
3672
+ label?: string | undefined;
3195
3673
  }>, "many">;
3196
3674
  }, "strip", z.ZodTypeAny, {
3197
3675
  sceneId: string;
3198
3676
  blocks: {
3677
+ id: string;
3678
+ kind: "direction" | "paragraph" | "heading";
3199
3679
  start: number;
3200
- kind: "paragraph" | "heading" | "direction";
3201
3680
  end: number;
3202
- id: string;
3203
3681
  marks: {
3204
- start: number;
3205
3682
  type: "strong" | "em";
3683
+ start: number;
3206
3684
  end: number;
3207
3685
  }[];
3208
- label?: string | undefined;
3209
3686
  level?: 2 | 3 | undefined;
3687
+ label?: string | undefined;
3210
3688
  }[];
3211
3689
  }, {
3212
3690
  sceneId: string;
3213
3691
  blocks: {
3692
+ id: string;
3693
+ kind: "direction" | "paragraph" | "heading";
3214
3694
  start: number;
3215
- kind: "paragraph" | "heading" | "direction";
3216
3695
  end: number;
3217
- id: string;
3218
3696
  marks: {
3219
- start: number;
3220
3697
  type: "strong" | "em";
3698
+ start: number;
3221
3699
  end: number;
3222
3700
  }[];
3223
- label?: string | undefined;
3224
3701
  level?: 2 | 3 | undefined;
3702
+ label?: string | undefined;
3225
3703
  }[];
3226
3704
  }>, "many">>;
3227
3705
  move: z.ZodOptional<z.ZodObject<{
@@ -3243,13 +3721,13 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3243
3721
  end: z.ZodNumber;
3244
3722
  waitingShotId: z.ZodOptional<z.ZodString>;
3245
3723
  }, "strip", z.ZodTypeAny, {
3246
- start: number;
3247
3724
  sceneId: string;
3725
+ start: number;
3248
3726
  end: number;
3249
3727
  waitingShotId?: string | undefined;
3250
3728
  }, {
3251
- start: number;
3252
3729
  sceneId: string;
3730
+ start: number;
3253
3731
  end: number;
3254
3732
  waitingShotId?: string | undefined;
3255
3733
  }>, "many">>;
@@ -3278,38 +3756,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3278
3756
  sceneId: string;
3279
3757
  }>]>>;
3280
3758
  }, "strip", z.ZodTypeAny, {
3281
- storyboardId: string;
3282
- expectedRevision: number;
3283
3759
  edits: {
3284
- text: string;
3285
3760
  at: number;
3761
+ text: string;
3286
3762
  sceneId: string;
3287
3763
  removed: number;
3288
3764
  }[];
3765
+ storyboardId: string;
3766
+ expectedRevision: number;
3767
+ move?: {
3768
+ sceneId: string;
3769
+ blockId: string;
3770
+ delta: 1 | -1;
3771
+ } | undefined;
3289
3772
  structures?: {
3290
3773
  sceneId: string;
3291
3774
  blocks: {
3775
+ id: string;
3776
+ kind: "direction" | "paragraph" | "heading";
3292
3777
  start: number;
3293
- kind: "paragraph" | "heading" | "direction";
3294
3778
  end: number;
3295
- id: string;
3296
3779
  marks: {
3297
- start: number;
3298
3780
  type: "strong" | "em";
3781
+ start: number;
3299
3782
  end: number;
3300
3783
  }[];
3301
- label?: string | undefined;
3302
3784
  level?: 2 | 3 | undefined;
3785
+ label?: string | undefined;
3303
3786
  }[];
3304
3787
  }[] | undefined;
3305
- move?: {
3306
- sceneId: string;
3307
- blockId: string;
3308
- delta: 1 | -1;
3309
- } | undefined;
3310
3788
  makeShots?: {
3311
- start: number;
3312
3789
  sceneId: string;
3790
+ start: number;
3313
3791
  end: number;
3314
3792
  waitingShotId?: string | undefined;
3315
3793
  }[] | undefined;
@@ -3324,38 +3802,38 @@ declare const writeScriptDocumentInput: z.ZodObject<{
3324
3802
  sceneId: string;
3325
3803
  } | undefined;
3326
3804
  }, {
3327
- storyboardId: string;
3328
- expectedRevision: number;
3329
3805
  edits: {
3330
- text: string;
3331
3806
  at: number;
3807
+ text: string;
3332
3808
  sceneId: string;
3333
3809
  removed: number;
3334
3810
  }[];
3811
+ storyboardId: string;
3812
+ expectedRevision: number;
3813
+ move?: {
3814
+ sceneId: string;
3815
+ blockId: string;
3816
+ delta: 1 | -1;
3817
+ } | undefined;
3335
3818
  structures?: {
3336
3819
  sceneId: string;
3337
3820
  blocks: {
3821
+ id: string;
3822
+ kind: "direction" | "paragraph" | "heading";
3338
3823
  start: number;
3339
- kind: "paragraph" | "heading" | "direction";
3340
3824
  end: number;
3341
- id: string;
3342
3825
  marks: {
3343
- start: number;
3344
3826
  type: "strong" | "em";
3827
+ start: number;
3345
3828
  end: number;
3346
3829
  }[];
3347
- label?: string | undefined;
3348
3830
  level?: 2 | 3 | undefined;
3831
+ label?: string | undefined;
3349
3832
  }[];
3350
3833
  }[] | undefined;
3351
- move?: {
3352
- sceneId: string;
3353
- blockId: string;
3354
- delta: 1 | -1;
3355
- } | undefined;
3356
3834
  makeShots?: {
3357
- start: number;
3358
3835
  sceneId: string;
3836
+ start: number;
3359
3837
  end: number;
3360
3838
  waitingShotId?: string | undefined;
3361
3839
  }[] | undefined;
@@ -3449,14 +3927,14 @@ declare const paidDraftFinishInput: z.ZodObject<{
3449
3927
  }, "strip", z.ZodTypeAny, {
3450
3928
  projectId: string;
3451
3929
  assetId: string;
3452
- resolution: "4k" | "1080p";
3453
3930
  confirm: true;
3931
+ resolution: "4k" | "1080p";
3454
3932
  maxCredits: number;
3455
3933
  }, {
3456
3934
  projectId: string;
3457
3935
  assetId: string;
3458
- resolution: "4k" | "1080p";
3459
3936
  confirm: true;
3937
+ resolution: "4k" | "1080p";
3460
3938
  maxCredits: number;
3461
3939
  }>;
3462
3940
  export declare const quoteDraftFinish: Operation<z.infer<typeof draftFinishInput>>;