@oh-just-another/serialization 0.58.0 → 0.59.0

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.
package/dist/schema.d.ts CHANGED
@@ -1519,6 +1519,134 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1519
1519
  fontFamily: z.ZodString;
1520
1520
  fontSize: z.ZodNumber;
1521
1521
  maxWidth: z.ZodOptional<z.ZodNumber>;
1522
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1523
+ text: z.ZodString;
1524
+ style: z.ZodOptional<z.ZodObject<{
1525
+ fill: z.ZodOptional<z.ZodString>;
1526
+ stroke: z.ZodOptional<z.ZodString>;
1527
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1528
+ opacity: z.ZodOptional<z.ZodNumber>;
1529
+ dashArray: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber, "many">>>;
1530
+ lineCap: z.ZodOptional<z.ZodEnum<["butt", "round", "square"]>>;
1531
+ lineJoin: z.ZodOptional<z.ZodEnum<["miter", "round", "bevel"]>>;
1532
+ strokeAlign: z.ZodOptional<z.ZodEnum<["center", "inside", "outside"]>>;
1533
+ roundness: z.ZodOptional<z.ZodObject<{
1534
+ type: z.ZodEnum<["sharp", "round"]>;
1535
+ value: z.ZodOptional<z.ZodNumber>;
1536
+ }, "strict", z.ZodTypeAny, {
1537
+ type: "sharp" | "round";
1538
+ value?: number | undefined;
1539
+ }, {
1540
+ type: "sharp" | "round";
1541
+ value?: number | undefined;
1542
+ }>>;
1543
+ } & {
1544
+ textAlign: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1545
+ textBaseline: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
1546
+ fontWeight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
1547
+ fontStyle: z.ZodOptional<z.ZodEnum<["normal", "italic"]>>;
1548
+ textDecoration: z.ZodOptional<z.ZodObject<{
1549
+ underline: z.ZodOptional<z.ZodBoolean>;
1550
+ strikethrough: z.ZodOptional<z.ZodBoolean>;
1551
+ }, "strict", z.ZodTypeAny, {
1552
+ underline?: boolean | undefined;
1553
+ strikethrough?: boolean | undefined;
1554
+ }, {
1555
+ underline?: boolean | undefined;
1556
+ strikethrough?: boolean | undefined;
1557
+ }>>;
1558
+ }, "strict", z.ZodTypeAny, {
1559
+ fill?: string | undefined;
1560
+ stroke?: string | undefined;
1561
+ strokeWidth?: number | undefined;
1562
+ opacity?: number | undefined;
1563
+ dashArray?: readonly number[] | undefined;
1564
+ lineCap?: "round" | "butt" | "square" | undefined;
1565
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1566
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1567
+ roundness?: {
1568
+ type: "sharp" | "round";
1569
+ value?: number | undefined;
1570
+ } | undefined;
1571
+ textAlign?: "center" | "left" | "right" | undefined;
1572
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1573
+ fontWeight?: "normal" | "bold" | undefined;
1574
+ fontStyle?: "normal" | "italic" | undefined;
1575
+ textDecoration?: {
1576
+ underline?: boolean | undefined;
1577
+ strikethrough?: boolean | undefined;
1578
+ } | undefined;
1579
+ }, {
1580
+ fill?: string | undefined;
1581
+ stroke?: string | undefined;
1582
+ strokeWidth?: number | undefined;
1583
+ opacity?: number | undefined;
1584
+ dashArray?: readonly number[] | undefined;
1585
+ lineCap?: "round" | "butt" | "square" | undefined;
1586
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1587
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1588
+ roundness?: {
1589
+ type: "sharp" | "round";
1590
+ value?: number | undefined;
1591
+ } | undefined;
1592
+ textAlign?: "center" | "left" | "right" | undefined;
1593
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1594
+ fontWeight?: "normal" | "bold" | undefined;
1595
+ fontStyle?: "normal" | "italic" | undefined;
1596
+ textDecoration?: {
1597
+ underline?: boolean | undefined;
1598
+ strikethrough?: boolean | undefined;
1599
+ } | undefined;
1600
+ }>>;
1601
+ }, "strict", z.ZodTypeAny, {
1602
+ text: string;
1603
+ style?: {
1604
+ fill?: string | undefined;
1605
+ stroke?: string | undefined;
1606
+ strokeWidth?: number | undefined;
1607
+ opacity?: number | undefined;
1608
+ dashArray?: readonly number[] | undefined;
1609
+ lineCap?: "round" | "butt" | "square" | undefined;
1610
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1611
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1612
+ roundness?: {
1613
+ type: "sharp" | "round";
1614
+ value?: number | undefined;
1615
+ } | undefined;
1616
+ textAlign?: "center" | "left" | "right" | undefined;
1617
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1618
+ fontWeight?: "normal" | "bold" | undefined;
1619
+ fontStyle?: "normal" | "italic" | undefined;
1620
+ textDecoration?: {
1621
+ underline?: boolean | undefined;
1622
+ strikethrough?: boolean | undefined;
1623
+ } | undefined;
1624
+ } | undefined;
1625
+ }, {
1626
+ text: string;
1627
+ style?: {
1628
+ fill?: string | undefined;
1629
+ stroke?: string | undefined;
1630
+ strokeWidth?: number | undefined;
1631
+ opacity?: number | undefined;
1632
+ dashArray?: readonly number[] | undefined;
1633
+ lineCap?: "round" | "butt" | "square" | undefined;
1634
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1635
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1636
+ roundness?: {
1637
+ type: "sharp" | "round";
1638
+ value?: number | undefined;
1639
+ } | undefined;
1640
+ textAlign?: "center" | "left" | "right" | undefined;
1641
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1642
+ fontWeight?: "normal" | "bold" | undefined;
1643
+ fontStyle?: "normal" | "italic" | undefined;
1644
+ textDecoration?: {
1645
+ underline?: boolean | undefined;
1646
+ strikethrough?: boolean | undefined;
1647
+ } | undefined;
1648
+ } | undefined;
1649
+ }>, "many">>;
1522
1650
  }, "strict", z.ZodTypeAny, {
1523
1651
  type: "text";
1524
1652
  position: {
@@ -1587,6 +1715,31 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1587
1715
  parentId?: string | undefined;
1588
1716
  frameId?: string | undefined;
1589
1717
  href?: string | undefined;
1718
+ runs?: {
1719
+ text: string;
1720
+ style?: {
1721
+ fill?: string | undefined;
1722
+ stroke?: string | undefined;
1723
+ strokeWidth?: number | undefined;
1724
+ opacity?: number | undefined;
1725
+ dashArray?: readonly number[] | undefined;
1726
+ lineCap?: "round" | "butt" | "square" | undefined;
1727
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1728
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1729
+ roundness?: {
1730
+ type: "sharp" | "round";
1731
+ value?: number | undefined;
1732
+ } | undefined;
1733
+ textAlign?: "center" | "left" | "right" | undefined;
1734
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1735
+ fontWeight?: "normal" | "bold" | undefined;
1736
+ fontStyle?: "normal" | "italic" | undefined;
1737
+ textDecoration?: {
1738
+ underline?: boolean | undefined;
1739
+ strikethrough?: boolean | undefined;
1740
+ } | undefined;
1741
+ } | undefined;
1742
+ }[] | undefined;
1590
1743
  }, {
1591
1744
  type: "text";
1592
1745
  position: {
@@ -1655,6 +1808,31 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1655
1808
  parentId?: string | undefined;
1656
1809
  frameId?: string | undefined;
1657
1810
  href?: string | undefined;
1811
+ runs?: {
1812
+ text: string;
1813
+ style?: {
1814
+ fill?: string | undefined;
1815
+ stroke?: string | undefined;
1816
+ strokeWidth?: number | undefined;
1817
+ opacity?: number | undefined;
1818
+ dashArray?: readonly number[] | undefined;
1819
+ lineCap?: "round" | "butt" | "square" | undefined;
1820
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1821
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1822
+ roundness?: {
1823
+ type: "sharp" | "round";
1824
+ value?: number | undefined;
1825
+ } | undefined;
1826
+ textAlign?: "center" | "left" | "right" | undefined;
1827
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1828
+ fontWeight?: "normal" | "bold" | undefined;
1829
+ fontStyle?: "normal" | "italic" | undefined;
1830
+ textDecoration?: {
1831
+ underline?: boolean | undefined;
1832
+ strikethrough?: boolean | undefined;
1833
+ } | undefined;
1834
+ } | undefined;
1835
+ }[] | undefined;
1658
1836
  }>, z.ZodObject<{
1659
1837
  id: z.ZodString;
1660
1838
  layerId: z.ZodString;
@@ -1811,6 +1989,22 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1811
1989
  width: z.ZodNumber;
1812
1990
  height: z.ZodNumber;
1813
1991
  fileId: z.ZodOptional<z.ZodString>;
1992
+ crop: z.ZodOptional<z.ZodObject<{
1993
+ x: z.ZodNumber;
1994
+ y: z.ZodNumber;
1995
+ width: z.ZodNumber;
1996
+ height: z.ZodNumber;
1997
+ }, "strip", z.ZodTypeAny, {
1998
+ x: number;
1999
+ y: number;
2000
+ width: number;
2001
+ height: number;
2002
+ }, {
2003
+ x: number;
2004
+ y: number;
2005
+ width: number;
2006
+ height: number;
2007
+ }>>;
1814
2008
  animationKind: z.ZodOptional<z.ZodString>;
1815
2009
  animationData: z.ZodOptional<z.ZodUnknown>;
1816
2010
  }, "strict", z.ZodTypeAny, {
@@ -1874,6 +2068,12 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1874
2068
  frameId?: string | undefined;
1875
2069
  href?: string | undefined;
1876
2070
  fileId?: string | undefined;
2071
+ crop?: {
2072
+ x: number;
2073
+ y: number;
2074
+ width: number;
2075
+ height: number;
2076
+ } | undefined;
1877
2077
  animationKind?: string | undefined;
1878
2078
  animationData?: unknown;
1879
2079
  }, {
@@ -1937,6 +2137,12 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1937
2137
  frameId?: string | undefined;
1938
2138
  href?: string | undefined;
1939
2139
  fileId?: string | undefined;
2140
+ crop?: {
2141
+ x: number;
2142
+ y: number;
2143
+ width: number;
2144
+ height: number;
2145
+ } | undefined;
1940
2146
  animationKind?: string | undefined;
1941
2147
  animationData?: unknown;
1942
2148
  }>, z.ZodObject<{
@@ -2648,6 +2854,7 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
2648
2854
  y: number;
2649
2855
  width: number;
2650
2856
  }>, "many">;
2857
+ closed: z.ZodOptional<z.ZodBoolean>;
2651
2858
  }, "strict", z.ZodTypeAny, {
2652
2859
  type: "brush";
2653
2860
  position: {
@@ -2710,6 +2917,7 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
2710
2917
  parentId?: string | undefined;
2711
2918
  frameId?: string | undefined;
2712
2919
  href?: string | undefined;
2920
+ closed?: boolean | undefined;
2713
2921
  }, {
2714
2922
  type: "brush";
2715
2923
  position: {
@@ -2772,6 +2980,7 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
2772
2980
  parentId?: string | undefined;
2773
2981
  frameId?: string | undefined;
2774
2982
  href?: string | undefined;
2983
+ closed?: boolean | undefined;
2775
2984
  }>, z.ZodEffects<z.ZodObject<{
2776
2985
  id: z.ZodString;
2777
2986
  layerId: z.ZodString;
@@ -5815,6 +6024,134 @@ export declare const SceneDocumentZ: z.ZodObject<{
5815
6024
  fontFamily: z.ZodString;
5816
6025
  fontSize: z.ZodNumber;
5817
6026
  maxWidth: z.ZodOptional<z.ZodNumber>;
6027
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
6028
+ text: z.ZodString;
6029
+ style: z.ZodOptional<z.ZodObject<{
6030
+ fill: z.ZodOptional<z.ZodString>;
6031
+ stroke: z.ZodOptional<z.ZodString>;
6032
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
6033
+ opacity: z.ZodOptional<z.ZodNumber>;
6034
+ dashArray: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber, "many">>>;
6035
+ lineCap: z.ZodOptional<z.ZodEnum<["butt", "round", "square"]>>;
6036
+ lineJoin: z.ZodOptional<z.ZodEnum<["miter", "round", "bevel"]>>;
6037
+ strokeAlign: z.ZodOptional<z.ZodEnum<["center", "inside", "outside"]>>;
6038
+ roundness: z.ZodOptional<z.ZodObject<{
6039
+ type: z.ZodEnum<["sharp", "round"]>;
6040
+ value: z.ZodOptional<z.ZodNumber>;
6041
+ }, "strict", z.ZodTypeAny, {
6042
+ type: "sharp" | "round";
6043
+ value?: number | undefined;
6044
+ }, {
6045
+ type: "sharp" | "round";
6046
+ value?: number | undefined;
6047
+ }>>;
6048
+ } & {
6049
+ textAlign: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
6050
+ textBaseline: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
6051
+ fontWeight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
6052
+ fontStyle: z.ZodOptional<z.ZodEnum<["normal", "italic"]>>;
6053
+ textDecoration: z.ZodOptional<z.ZodObject<{
6054
+ underline: z.ZodOptional<z.ZodBoolean>;
6055
+ strikethrough: z.ZodOptional<z.ZodBoolean>;
6056
+ }, "strict", z.ZodTypeAny, {
6057
+ underline?: boolean | undefined;
6058
+ strikethrough?: boolean | undefined;
6059
+ }, {
6060
+ underline?: boolean | undefined;
6061
+ strikethrough?: boolean | undefined;
6062
+ }>>;
6063
+ }, "strict", z.ZodTypeAny, {
6064
+ fill?: string | undefined;
6065
+ stroke?: string | undefined;
6066
+ strokeWidth?: number | undefined;
6067
+ opacity?: number | undefined;
6068
+ dashArray?: readonly number[] | undefined;
6069
+ lineCap?: "round" | "butt" | "square" | undefined;
6070
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6071
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6072
+ roundness?: {
6073
+ type: "sharp" | "round";
6074
+ value?: number | undefined;
6075
+ } | undefined;
6076
+ textAlign?: "center" | "left" | "right" | undefined;
6077
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6078
+ fontWeight?: "normal" | "bold" | undefined;
6079
+ fontStyle?: "normal" | "italic" | undefined;
6080
+ textDecoration?: {
6081
+ underline?: boolean | undefined;
6082
+ strikethrough?: boolean | undefined;
6083
+ } | undefined;
6084
+ }, {
6085
+ fill?: string | undefined;
6086
+ stroke?: string | undefined;
6087
+ strokeWidth?: number | undefined;
6088
+ opacity?: number | undefined;
6089
+ dashArray?: readonly number[] | undefined;
6090
+ lineCap?: "round" | "butt" | "square" | undefined;
6091
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6092
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6093
+ roundness?: {
6094
+ type: "sharp" | "round";
6095
+ value?: number | undefined;
6096
+ } | undefined;
6097
+ textAlign?: "center" | "left" | "right" | undefined;
6098
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6099
+ fontWeight?: "normal" | "bold" | undefined;
6100
+ fontStyle?: "normal" | "italic" | undefined;
6101
+ textDecoration?: {
6102
+ underline?: boolean | undefined;
6103
+ strikethrough?: boolean | undefined;
6104
+ } | undefined;
6105
+ }>>;
6106
+ }, "strict", z.ZodTypeAny, {
6107
+ text: string;
6108
+ style?: {
6109
+ fill?: string | undefined;
6110
+ stroke?: string | undefined;
6111
+ strokeWidth?: number | undefined;
6112
+ opacity?: number | undefined;
6113
+ dashArray?: readonly number[] | undefined;
6114
+ lineCap?: "round" | "butt" | "square" | undefined;
6115
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6116
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6117
+ roundness?: {
6118
+ type: "sharp" | "round";
6119
+ value?: number | undefined;
6120
+ } | undefined;
6121
+ textAlign?: "center" | "left" | "right" | undefined;
6122
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6123
+ fontWeight?: "normal" | "bold" | undefined;
6124
+ fontStyle?: "normal" | "italic" | undefined;
6125
+ textDecoration?: {
6126
+ underline?: boolean | undefined;
6127
+ strikethrough?: boolean | undefined;
6128
+ } | undefined;
6129
+ } | undefined;
6130
+ }, {
6131
+ text: string;
6132
+ style?: {
6133
+ fill?: string | undefined;
6134
+ stroke?: string | undefined;
6135
+ strokeWidth?: number | undefined;
6136
+ opacity?: number | undefined;
6137
+ dashArray?: readonly number[] | undefined;
6138
+ lineCap?: "round" | "butt" | "square" | undefined;
6139
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6140
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6141
+ roundness?: {
6142
+ type: "sharp" | "round";
6143
+ value?: number | undefined;
6144
+ } | undefined;
6145
+ textAlign?: "center" | "left" | "right" | undefined;
6146
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6147
+ fontWeight?: "normal" | "bold" | undefined;
6148
+ fontStyle?: "normal" | "italic" | undefined;
6149
+ textDecoration?: {
6150
+ underline?: boolean | undefined;
6151
+ strikethrough?: boolean | undefined;
6152
+ } | undefined;
6153
+ } | undefined;
6154
+ }>, "many">>;
5818
6155
  }, "strict", z.ZodTypeAny, {
5819
6156
  type: "text";
5820
6157
  position: {
@@ -5883,6 +6220,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
5883
6220
  parentId?: string | undefined;
5884
6221
  frameId?: string | undefined;
5885
6222
  href?: string | undefined;
6223
+ runs?: {
6224
+ text: string;
6225
+ style?: {
6226
+ fill?: string | undefined;
6227
+ stroke?: string | undefined;
6228
+ strokeWidth?: number | undefined;
6229
+ opacity?: number | undefined;
6230
+ dashArray?: readonly number[] | undefined;
6231
+ lineCap?: "round" | "butt" | "square" | undefined;
6232
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6233
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6234
+ roundness?: {
6235
+ type: "sharp" | "round";
6236
+ value?: number | undefined;
6237
+ } | undefined;
6238
+ textAlign?: "center" | "left" | "right" | undefined;
6239
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6240
+ fontWeight?: "normal" | "bold" | undefined;
6241
+ fontStyle?: "normal" | "italic" | undefined;
6242
+ textDecoration?: {
6243
+ underline?: boolean | undefined;
6244
+ strikethrough?: boolean | undefined;
6245
+ } | undefined;
6246
+ } | undefined;
6247
+ }[] | undefined;
5886
6248
  }, {
5887
6249
  type: "text";
5888
6250
  position: {
@@ -5951,6 +6313,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
5951
6313
  parentId?: string | undefined;
5952
6314
  frameId?: string | undefined;
5953
6315
  href?: string | undefined;
6316
+ runs?: {
6317
+ text: string;
6318
+ style?: {
6319
+ fill?: string | undefined;
6320
+ stroke?: string | undefined;
6321
+ strokeWidth?: number | undefined;
6322
+ opacity?: number | undefined;
6323
+ dashArray?: readonly number[] | undefined;
6324
+ lineCap?: "round" | "butt" | "square" | undefined;
6325
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6326
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6327
+ roundness?: {
6328
+ type: "sharp" | "round";
6329
+ value?: number | undefined;
6330
+ } | undefined;
6331
+ textAlign?: "center" | "left" | "right" | undefined;
6332
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6333
+ fontWeight?: "normal" | "bold" | undefined;
6334
+ fontStyle?: "normal" | "italic" | undefined;
6335
+ textDecoration?: {
6336
+ underline?: boolean | undefined;
6337
+ strikethrough?: boolean | undefined;
6338
+ } | undefined;
6339
+ } | undefined;
6340
+ }[] | undefined;
5954
6341
  }>, z.ZodObject<{
5955
6342
  id: z.ZodString;
5956
6343
  layerId: z.ZodString;
@@ -6107,6 +6494,22 @@ export declare const SceneDocumentZ: z.ZodObject<{
6107
6494
  width: z.ZodNumber;
6108
6495
  height: z.ZodNumber;
6109
6496
  fileId: z.ZodOptional<z.ZodString>;
6497
+ crop: z.ZodOptional<z.ZodObject<{
6498
+ x: z.ZodNumber;
6499
+ y: z.ZodNumber;
6500
+ width: z.ZodNumber;
6501
+ height: z.ZodNumber;
6502
+ }, "strip", z.ZodTypeAny, {
6503
+ x: number;
6504
+ y: number;
6505
+ width: number;
6506
+ height: number;
6507
+ }, {
6508
+ x: number;
6509
+ y: number;
6510
+ width: number;
6511
+ height: number;
6512
+ }>>;
6110
6513
  animationKind: z.ZodOptional<z.ZodString>;
6111
6514
  animationData: z.ZodOptional<z.ZodUnknown>;
6112
6515
  }, "strict", z.ZodTypeAny, {
@@ -6170,6 +6573,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
6170
6573
  frameId?: string | undefined;
6171
6574
  href?: string | undefined;
6172
6575
  fileId?: string | undefined;
6576
+ crop?: {
6577
+ x: number;
6578
+ y: number;
6579
+ width: number;
6580
+ height: number;
6581
+ } | undefined;
6173
6582
  animationKind?: string | undefined;
6174
6583
  animationData?: unknown;
6175
6584
  }, {
@@ -6233,6 +6642,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
6233
6642
  frameId?: string | undefined;
6234
6643
  href?: string | undefined;
6235
6644
  fileId?: string | undefined;
6645
+ crop?: {
6646
+ x: number;
6647
+ y: number;
6648
+ width: number;
6649
+ height: number;
6650
+ } | undefined;
6236
6651
  animationKind?: string | undefined;
6237
6652
  animationData?: unknown;
6238
6653
  }>, z.ZodObject<{
@@ -6944,6 +7359,7 @@ export declare const SceneDocumentZ: z.ZodObject<{
6944
7359
  y: number;
6945
7360
  width: number;
6946
7361
  }>, "many">;
7362
+ closed: z.ZodOptional<z.ZodBoolean>;
6947
7363
  }, "strict", z.ZodTypeAny, {
6948
7364
  type: "brush";
6949
7365
  position: {
@@ -7006,6 +7422,7 @@ export declare const SceneDocumentZ: z.ZodObject<{
7006
7422
  parentId?: string | undefined;
7007
7423
  frameId?: string | undefined;
7008
7424
  href?: string | undefined;
7425
+ closed?: boolean | undefined;
7009
7426
  }, {
7010
7427
  type: "brush";
7011
7428
  position: {
@@ -7068,6 +7485,7 @@ export declare const SceneDocumentZ: z.ZodObject<{
7068
7485
  parentId?: string | undefined;
7069
7486
  frameId?: string | undefined;
7070
7487
  href?: string | undefined;
7488
+ closed?: boolean | undefined;
7071
7489
  }>, z.ZodEffects<z.ZodObject<{
7072
7490
  id: z.ZodString;
7073
7491
  layerId: z.ZodString;
@@ -9009,6 +9427,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
9009
9427
  parentId?: string | undefined;
9010
9428
  frameId?: string | undefined;
9011
9429
  href?: string | undefined;
9430
+ runs?: {
9431
+ text: string;
9432
+ style?: {
9433
+ fill?: string | undefined;
9434
+ stroke?: string | undefined;
9435
+ strokeWidth?: number | undefined;
9436
+ opacity?: number | undefined;
9437
+ dashArray?: readonly number[] | undefined;
9438
+ lineCap?: "round" | "butt" | "square" | undefined;
9439
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
9440
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
9441
+ roundness?: {
9442
+ type: "sharp" | "round";
9443
+ value?: number | undefined;
9444
+ } | undefined;
9445
+ textAlign?: "center" | "left" | "right" | undefined;
9446
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
9447
+ fontWeight?: "normal" | "bold" | undefined;
9448
+ fontStyle?: "normal" | "italic" | undefined;
9449
+ textDecoration?: {
9450
+ underline?: boolean | undefined;
9451
+ strikethrough?: boolean | undefined;
9452
+ } | undefined;
9453
+ } | undefined;
9454
+ }[] | undefined;
9012
9455
  } | {
9013
9456
  type: "image";
9014
9457
  width: number;
@@ -9070,6 +9513,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
9070
9513
  frameId?: string | undefined;
9071
9514
  href?: string | undefined;
9072
9515
  fileId?: string | undefined;
9516
+ crop?: {
9517
+ x: number;
9518
+ y: number;
9519
+ width: number;
9520
+ height: number;
9521
+ } | undefined;
9073
9522
  animationKind?: string | undefined;
9074
9523
  animationData?: unknown;
9075
9524
  } | {
@@ -9252,6 +9701,7 @@ export declare const SceneDocumentZ: z.ZodObject<{
9252
9701
  parentId?: string | undefined;
9253
9702
  frameId?: string | undefined;
9254
9703
  href?: string | undefined;
9704
+ closed?: boolean | undefined;
9255
9705
  } | z.objectOutputType<{
9256
9706
  id: z.ZodString;
9257
9707
  layerId: z.ZodString;
@@ -9911,6 +10361,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
9911
10361
  parentId?: string | undefined;
9912
10362
  frameId?: string | undefined;
9913
10363
  href?: string | undefined;
10364
+ runs?: {
10365
+ text: string;
10366
+ style?: {
10367
+ fill?: string | undefined;
10368
+ stroke?: string | undefined;
10369
+ strokeWidth?: number | undefined;
10370
+ opacity?: number | undefined;
10371
+ dashArray?: readonly number[] | undefined;
10372
+ lineCap?: "round" | "butt" | "square" | undefined;
10373
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
10374
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
10375
+ roundness?: {
10376
+ type: "sharp" | "round";
10377
+ value?: number | undefined;
10378
+ } | undefined;
10379
+ textAlign?: "center" | "left" | "right" | undefined;
10380
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
10381
+ fontWeight?: "normal" | "bold" | undefined;
10382
+ fontStyle?: "normal" | "italic" | undefined;
10383
+ textDecoration?: {
10384
+ underline?: boolean | undefined;
10385
+ strikethrough?: boolean | undefined;
10386
+ } | undefined;
10387
+ } | undefined;
10388
+ }[] | undefined;
9914
10389
  } | {
9915
10390
  type: "image";
9916
10391
  width: number;
@@ -9972,6 +10447,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
9972
10447
  frameId?: string | undefined;
9973
10448
  href?: string | undefined;
9974
10449
  fileId?: string | undefined;
10450
+ crop?: {
10451
+ x: number;
10452
+ y: number;
10453
+ width: number;
10454
+ height: number;
10455
+ } | undefined;
9975
10456
  animationKind?: string | undefined;
9976
10457
  animationData?: unknown;
9977
10458
  } | {
@@ -10154,6 +10635,7 @@ export declare const SceneDocumentZ: z.ZodObject<{
10154
10635
  parentId?: string | undefined;
10155
10636
  frameId?: string | undefined;
10156
10637
  href?: string | undefined;
10638
+ closed?: boolean | undefined;
10157
10639
  } | z.objectInputType<{
10158
10640
  id: z.ZodString;
10159
10641
  layerId: z.ZodString;