@cesdk/engine 1.30.0 → 1.31.0-rc.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/index.d.ts CHANGED
@@ -1,3 +1,24 @@
1
+ /**
2
+ * The block type IDs for the animation blocks. These are the IDs used to create new animations
3
+ * using `cesdk.engine.block.createAnimation(id)`.
4
+ * @public
5
+ */
6
+ export declare type AnimationType = AnimationTypeShorthand | AnimationTypeLonghand;
7
+
8
+ /**
9
+ * The longhand block type IDs for the animation blocks. These are the IDs used to create new animations
10
+ * using `cesdk.engine.block.createAnimation(id)`.
11
+ * @public
12
+ */
13
+ export declare type AnimationTypeLonghand = `//ly.img.ubq/animation/${AnimationTypeShorthand}`;
14
+
15
+ /**
16
+ * The shorthand block type IDs for the animation blocks. These are the IDs used to create new animations
17
+ * using `cesdk.engine.block.createAnimation(id)`.
18
+ * @public
19
+ */
20
+ export declare type AnimationTypeShorthand = 'slide' | 'pan' | 'fade' | 'blur' | 'grow' | 'zoom' | 'pop' | 'wipe' | 'baseline' | 'crop_zoom' | 'spin' | 'spin_loop' | 'fade_loop' | 'blur_loop' | 'pulsating_loop' | 'breathing_loop' | 'jump_loop' | 'squeeze_loop' | 'sway_loop';
21
+
1
22
  /**
2
23
  * Generic asset information
3
24
  * @public
@@ -249,6 +270,16 @@ export declare interface AssetQueryData {
249
270
  * Together with `page` this can be used for pagination.
250
271
  */
251
272
  perPage: number;
273
+ /**
274
+ * The order to sort by if the asset source supports sorting.
275
+ * If set to None, the order is the same as the assets were added to the source.
276
+ */
277
+ sortingOrder?: SortingOrder;
278
+ /**
279
+ * The key that identifies the meta data value to sort by or 'id' to sort by the asset ID.
280
+ * If empty, the assets are sorted by the index.
281
+ */
282
+ sortKey?: string;
252
283
  }
253
284
 
254
285
  /**
@@ -676,8 +707,15 @@ export declare class BlockAPI {
676
707
  * Query if the given block has a shape property.
677
708
  * @param id - The block to query.
678
709
  * @returns true, if the block has a shape property, an error otherwise.
710
+ * @deprecated Use supportsShape instead.
679
711
  */
680
712
  hasShape(id: DesignBlockId): boolean;
713
+ /**
714
+ * Query if the given block has a shape property.
715
+ * @param id - The block to query.
716
+ * @returns true, if the block has a shape property, an error otherwise.
717
+ */
718
+ supportsShape(id: DesignBlockId): boolean;
681
719
  /**
682
720
  * Returns the block containing the shape properties of the given block.
683
721
  * @param id - The block whose shape block should be returned.
@@ -885,8 +923,15 @@ export declare class BlockAPI {
885
923
  * Query if the given block has a content fill mode.
886
924
  * @param id - The block to query.
887
925
  * @returns true, if the block has a content fill mode.
926
+ * @deprecated Use supportsContentFillMode instead.
888
927
  */
889
928
  hasContentFillMode(id: DesignBlockId): boolean;
929
+ /**
930
+ * Query if the given block has a content fill mode.
931
+ * @param id - The block to query.
932
+ * @returns true, if the block has a content fill mode.
933
+ */
934
+ supportsContentFillMode(id: DesignBlockId): boolean;
890
935
  /**
891
936
  * Query a block's width.
892
937
  * @param id - The block to query.
@@ -1323,6 +1368,14 @@ export declare class BlockAPI {
1323
1368
  * @param sourceSet - The block's new source set.
1324
1369
  */
1325
1370
  setSourceSet(id: DesignBlockId, property: string, sourceSet: Source[]): void;
1371
+ /**
1372
+ * Add a source to the `sourceSet` property of the given block.
1373
+ * If there already exists in source set an image with the same width, that existing image will be replaced.
1374
+ * @param id - The block to update.
1375
+ * @param property - The name of the property to modify.
1376
+ * @param uri - The source to add to the source set.
1377
+ */
1378
+ addImageFileURIToSourceSet(id: DesignBlockId, property: string, uri: string): Promise<void>;
1326
1379
  /**
1327
1380
  * Set an enum property of the given design block to the given value.
1328
1381
  * @param id - The block whose property should be set.
@@ -1341,8 +1394,15 @@ export declare class BlockAPI {
1341
1394
  * Query if the given block has crop properties.
1342
1395
  * @param id - The block to query.
1343
1396
  * @returns true, if the block has crop properties.
1397
+ * @deprecated Use supportsCrop() instead.
1344
1398
  */
1345
1399
  hasCrop(id: DesignBlockId): boolean;
1400
+ /**
1401
+ * Query if the given block has crop properties.
1402
+ * @param id - The block to query.
1403
+ * @returns true, if the block has crop properties.
1404
+ */
1405
+ supportsCrop(id: DesignBlockId): boolean;
1346
1406
  /**
1347
1407
  * Set the crop scale in x direction of the given design block.
1348
1408
  * Required scope: 'layer/crop'
@@ -1450,8 +1510,15 @@ export declare class BlockAPI {
1450
1510
  * Query if the given block has an opacity.
1451
1511
  * @param id - The block to query.
1452
1512
  * @returns true, if the block has an opacity.
1513
+ * @deprecated Use supportsOpacity() instead.
1453
1514
  */
1454
1515
  hasOpacity(id: DesignBlockId): boolean;
1516
+ /**
1517
+ * Query if the given block has an opacity.
1518
+ * @param id - The block to query.
1519
+ * @returns true, if the block has an opacity.
1520
+ */
1521
+ supportsOpacity(id: DesignBlockId): boolean;
1455
1522
  /**
1456
1523
  * Set the opacity of the given design block.
1457
1524
  * Required scope: 'layer/opacity'
@@ -1469,8 +1536,15 @@ export declare class BlockAPI {
1469
1536
  * Query if the given block has a blend mode.
1470
1537
  * @param id - The block to query.
1471
1538
  * @returns true, if the block has a blend mode.
1539
+ * @deprecated Use supportsBlendMode() instead.
1472
1540
  */
1473
1541
  hasBlendMode(id: DesignBlockId): boolean;
1542
+ /**
1543
+ * Query if the given block has a blend mode.
1544
+ * @param id - The block to query.
1545
+ * @returns true, if the block has a blend mode.
1546
+ */
1547
+ supportsBlendMode(id: DesignBlockId): boolean;
1474
1548
  /**
1475
1549
  * Set the blend mode of the given design block.
1476
1550
  * Required scope: 'layer/blendMode'
@@ -1546,8 +1620,15 @@ export declare class BlockAPI {
1546
1620
  * Queries whether the block supports effects.
1547
1621
  * @param id - The block to query.
1548
1622
  * @returns True, if the block can render effects, false otherwise.
1623
+ * @deprecated Use supportsEffects instead.
1549
1624
  */
1550
1625
  hasEffects(id: DesignBlockId): boolean;
1626
+ /**
1627
+ * Queries whether the block supports effects.
1628
+ * @param id - The block to query.
1629
+ * @returns True, if the block can render effects, false otherwise.
1630
+ */
1631
+ supportsEffects(id: DesignBlockId): boolean;
1551
1632
  /**
1552
1633
  * Get a list of all effects attached to this block
1553
1634
  * @param id - The block to query.
@@ -1582,6 +1663,7 @@ export declare class BlockAPI {
1582
1663
  * Checks whether an 'effect' block may be enabled and disabled.
1583
1664
  * @param effectId - The 'effect' block to query.
1584
1665
  * @returns True, if the block supports enabling and disabling, false otherwise.
1666
+ * @deprecated Calls to this function can be removed. All effects can be enabled and disabled.
1585
1667
  */
1586
1668
  hasEffectEnabled(effectId: DesignBlockId): boolean;
1587
1669
  /**
@@ -1606,8 +1688,15 @@ export declare class BlockAPI {
1606
1688
  * Checks whether the block supports blur.
1607
1689
  * @param id - The block to query.
1608
1690
  * @returns True, if the block supports blur.
1691
+ * @deprecated Use supportsBlur instead.
1609
1692
  */
1610
1693
  hasBlur(id: DesignBlockId): boolean;
1694
+ /**
1695
+ * Checks whether the block supports blur.
1696
+ * @param id - The block to query.
1697
+ * @returns True, if the block supports blur.
1698
+ */
1699
+ supportsBlur(id: DesignBlockId): boolean;
1611
1700
  /**
1612
1701
  * Connects `block`'s blur to the given `blur` block.
1613
1702
  * Required scope: 'appearance/blur'
@@ -1637,8 +1726,15 @@ export declare class BlockAPI {
1637
1726
  * Query if the given block has background color properties.
1638
1727
  * @param id - The block to query.
1639
1728
  * @returns true, if the block has background color properties.
1729
+ * @deprecated Use supportsBackgroundColor() instead.
1640
1730
  */
1641
1731
  hasBackgroundColor(id: DesignBlockId): boolean;
1732
+ /**
1733
+ * Query if the given block has background color properties.
1734
+ * @param id - The block to query.
1735
+ * @returns true, if the block has background color properties.
1736
+ */
1737
+ supportsBackgroundColor(id: DesignBlockId): boolean;
1642
1738
  /**
1643
1739
  * Set the background color of the given design block.
1644
1740
  * Required scope: 'fill/change'
@@ -1675,8 +1771,15 @@ export declare class BlockAPI {
1675
1771
  * Query if the given block has a stroke property.
1676
1772
  * @param id - The block to query.
1677
1773
  * @returns True if the block has a stroke property.
1774
+ * @deprecated Use supportsStroke() instead.
1678
1775
  */
1679
1776
  hasStroke(id: DesignBlockId): boolean;
1777
+ /**
1778
+ * Query if the given block has a stroke property.
1779
+ * @param id - The block to query.
1780
+ * @returns True if the block has a stroke property.
1781
+ */
1782
+ supportsStroke(id: DesignBlockId): boolean;
1680
1783
  /**
1681
1784
  * Enable or disable the stroke of the given design block.
1682
1785
  * Required scope: 'stroke/change'
@@ -1777,8 +1880,15 @@ export declare class BlockAPI {
1777
1880
  * Query if the given block has a drop shadow property.
1778
1881
  * @param id - The block to query.
1779
1882
  * @returns True if the block has a drop shadow property.
1883
+ * @deprecated Use supportsDropShadow() instead.
1780
1884
  */
1781
1885
  hasDropShadow(id: DesignBlockId): boolean;
1886
+ /**
1887
+ * Query if the given block has a drop shadow property.
1888
+ * @param id - The block to query.
1889
+ * @returns True if the block has a drop shadow property.
1890
+ */
1891
+ supportsDropShadow(id: DesignBlockId): boolean;
1782
1892
  /**
1783
1893
  * Enable or disable the drop shadow of the given design block.
1784
1894
  * Required scope: 'appearance/shadow'
@@ -1814,7 +1924,7 @@ export declare class BlockAPI {
1814
1924
  * Get the drop shadow color of the given design block.
1815
1925
  * @param id - The block whose drop shadow color should be queried.
1816
1926
  * @returns The drop shadow color.
1817
- * @deprecated Use getDropShadowColor() instead.
1927
+ * @deprecated Use getDropShadowColor instead.
1818
1928
  */
1819
1929
  getDropShadowColorRGBA(id: DesignBlockId): RGBA;
1820
1930
  /**
@@ -2082,8 +2192,15 @@ export declare class BlockAPI {
2082
2192
  * Query if the given block has fill color properties.
2083
2193
  * @param id - The block to query.
2084
2194
  * @returns true, if the block has fill color properties, an error otherwise.
2195
+ * @deprecated Use supportsFill instead.
2085
2196
  */
2086
2197
  hasFill(id: DesignBlockId): boolean;
2198
+ /**
2199
+ * Query if the given block has fill color properties.
2200
+ * @param id - The block to query.
2201
+ * @returns true, if the block has fill color properties, an error otherwise.
2202
+ */
2203
+ supportsFill(id: DesignBlockId): boolean;
2087
2204
  /**
2088
2205
  * Query if the fill of the given design block is enabled.
2089
2206
  * @param id - The block whose fill state should be queried.
@@ -2145,8 +2262,15 @@ export declare class BlockAPI {
2145
2262
  * Checks whether the block supports placeholder behavior.
2146
2263
  * @param block - The block to query.
2147
2264
  * @returns True, if the block supports placeholder behavior.
2265
+ * @deprecated Use supportsPlaceholderBehavior instead.
2148
2266
  */
2149
2267
  hasPlaceholderBehavior(id: DesignBlockId): boolean;
2268
+ /**
2269
+ * Checks whether the block supports placeholder behavior.
2270
+ * @param block - The block to query.
2271
+ * @returns True, if the block supports placeholder behavior.
2272
+ */
2273
+ supportsPlaceholderBehavior(id: DesignBlockId): boolean;
2150
2274
  /**
2151
2275
  * Enable or disable the placeholder behavior for a block.
2152
2276
  * @param id - The block whose placeholder behavior should be enabled or disabled.
@@ -2163,8 +2287,15 @@ export declare class BlockAPI {
2163
2287
  * Checks whether the block supports placeholder controls.
2164
2288
  * @param block - The block to query.
2165
2289
  * @returns True, if the block supports placeholder controls.
2290
+ * @deprecated Use supportsPlaceholderControls instead.
2166
2291
  */
2167
2292
  hasPlaceholderControls(id: DesignBlockId): boolean;
2293
+ /**
2294
+ * Checks whether the block supports placeholder controls.
2295
+ * @param block - The block to query.
2296
+ * @returns True, if the block supports placeholder controls.
2297
+ */
2298
+ supportsPlaceholderControls(id: DesignBlockId): boolean;
2168
2299
  /**
2169
2300
  * Enable or disable the visibility of the placeholder overlay pattern for a block.
2170
2301
  * @param block - The block whose placeholder overlay should be enabled or disabled.
@@ -2251,8 +2382,15 @@ export declare class BlockAPI {
2251
2382
  * Returns whether the block has a duration property.
2252
2383
  * @param id - The block to query.
2253
2384
  * @returns true if the block has a duration property.
2385
+ * @deprecated Use supportsDuration instead.
2254
2386
  */
2255
2387
  hasDuration(id: DesignBlockId): boolean;
2388
+ /**
2389
+ * Returns whether the block has a duration property.
2390
+ * @param id - The block to query.
2391
+ * @returns true if the block has a duration property.
2392
+ */
2393
+ supportsDuration(id: DesignBlockId): boolean;
2256
2394
  /**
2257
2395
  * Set the playback duration of the given block in seconds.
2258
2396
  * The duration defines for how long the block is active in the scene during playback.
@@ -2271,8 +2409,15 @@ export declare class BlockAPI {
2271
2409
  * Returns whether the block has a time offset property.
2272
2410
  * @param id - The block to query.
2273
2411
  * @returns true, if the block has a time offset property.
2412
+ * @deprecated Use supportsTimeOffset instead.
2274
2413
  */
2275
2414
  hasTimeOffset(id: DesignBlockId): boolean;
2415
+ /**
2416
+ * Returns whether the block has a time offset property.
2417
+ * @param id - The block to query.
2418
+ * @returns true, if the block has a time offset property.
2419
+ */
2420
+ supportsTimeOffset(id: DesignBlockId): boolean;
2276
2421
  /**
2277
2422
  * Set the time offset of the given block relative to its parent.
2278
2423
  * The time offset controls when the block is first active in the timeline.
@@ -2291,8 +2436,15 @@ export declare class BlockAPI {
2291
2436
  * Returns whether the block has trim properties.
2292
2437
  * @param id - The block to query.
2293
2438
  * @returns true, if the block has trim properties.
2439
+ * @deprecated Use supportsTrim instead.
2294
2440
  */
2295
2441
  hasTrim(id: DesignBlockId): boolean;
2442
+ /**
2443
+ * Returns whether the block has trim properties.
2444
+ * @param id - The block to query.
2445
+ * @returns true, if the block has trim properties.
2446
+ */
2447
+ supportsTrim(id: DesignBlockId): boolean;
2296
2448
  /**
2297
2449
  * Set the trim offset of the given block or fill.
2298
2450
  * Sets the time in seconds within the fill at which playback of the audio or video clip should begin.
@@ -2347,8 +2499,15 @@ export declare class BlockAPI {
2347
2499
  * Returns whether the block has a playback time property.
2348
2500
  * @param id - The block to query.
2349
2501
  * @returns whether the block has a playback time property.
2502
+ * @deprecated Use supportsPlaybackTime instead.
2350
2503
  */
2351
2504
  hasPlaybackTime(id: DesignBlockId): boolean;
2505
+ /**
2506
+ * Returns whether the block has a playback time property.
2507
+ * @param id - The block to query.
2508
+ * @returns whether the block has a playback time property.
2509
+ */
2510
+ supportsPlaybackTime(id: DesignBlockId): boolean;
2352
2511
  /**
2353
2512
  * Set the playback time of the given block.
2354
2513
  * @param id - The block whose playback time should be updated.
@@ -2387,8 +2546,15 @@ export declare class BlockAPI {
2387
2546
  * Returns whether the block supports a playback control.
2388
2547
  * @param block - The block to query.
2389
2548
  * @returns Whether the block has playback control.
2549
+ * @deprecated Use supportsPlaybackControl instead
2390
2550
  */
2391
2551
  hasPlaybackControl(id: DesignBlockId): boolean;
2552
+ /**
2553
+ * Returns whether the block supports a playback control.
2554
+ * @param block - The block to query.
2555
+ * @returns Whether the block has playback control.
2556
+ */
2557
+ supportsPlaybackControl(id: DesignBlockId): boolean;
2392
2558
  /**
2393
2559
  * Set whether the block should restart from the beginning again or stop.
2394
2560
  * @param block - The block or video fill to update.
@@ -2508,6 +2674,54 @@ export declare class BlockAPI {
2508
2674
  * @deprecated Use `generateVideoThumbnailSequence` instead.
2509
2675
  */
2510
2676
  getPageThumbnailAtlas(id: DesignBlockId, numberOfColumns: number, numberOfRows: number, thumbnailHeight: number): Promise<Blob>;
2677
+ /**
2678
+ * Creates a new animation, fails if type is unknown.
2679
+ * @param type - The type of animation to create.
2680
+ * @returns The handle of the new animation instance.
2681
+ */
2682
+ createAnimation(type: AnimationType): DesignBlockId;
2683
+ /**
2684
+ * Returns whether the block supports animation.
2685
+ * @param block - The block to query.
2686
+ * @returns Whether the block supports animation.
2687
+ */
2688
+ supportsAnimation(id: DesignBlockId): boolean;
2689
+ /**
2690
+ * Set the "in" animation of the given block.
2691
+ * @param id - The block whose "in" animation should be set.
2692
+ * @param animation - The animation to set.
2693
+ */
2694
+ setInAnimation(id: DesignBlockId, animation: DesignBlockId): void;
2695
+ /**
2696
+ * Set the "loop" animation of the given block.
2697
+ * @param id - The block whose "loop" animation should be set.
2698
+ * @param animation - The animation to set.
2699
+ */
2700
+ setLoopAnimation(id: DesignBlockId, animation: DesignBlockId): void;
2701
+ /**
2702
+ * Set the "out" animation of the given block.
2703
+ * @param id - The block whose "out" animation should be set.
2704
+ * @param animation - The animation to set.
2705
+ */
2706
+ setOutAnimation(id: DesignBlockId, animation: DesignBlockId): void;
2707
+ /**
2708
+ * Get the "in" animation of the given block.
2709
+ * @param id - The block whose "in" animation should be queried.
2710
+ * @returns The "in" animation of the block.
2711
+ */
2712
+ getInAnimation(id: DesignBlockId): DesignBlockId;
2713
+ /**
2714
+ * Get the "loop" animation of the given block.
2715
+ * @param id - The block whose "loop" animation should be queried.
2716
+ * @returns The "loop" animation of the block.
2717
+ */
2718
+ getLoopAnimation(id: DesignBlockId): DesignBlockId;
2719
+ /**
2720
+ * Get the "out" animation of the given block.
2721
+ * @param id - The block whose "out" animation should be queried.
2722
+ * @returns The "out" animation of the block.
2723
+ */
2724
+ getOutAnimation(id: DesignBlockId): DesignBlockId;
2511
2725
  /**
2512
2726
  * Update the pixels of the given pixel stream fill block.
2513
2727
  * @param id - The pixel stream fill block.
@@ -3797,6 +4011,8 @@ declare interface FindAssetsQuery {
3797
4011
  groups: string[];
3798
4012
  excludeGroups: string[];
3799
4013
  locale: string;
4014
+ sortingOrder: SortingOrder;
4015
+ sortKey: string;
3800
4016
  }
3801
4017
 
3802
4018
  /** @public */
@@ -3953,14 +4169,14 @@ export declare type ObjectType = ObjectTypeShorthand | ObjectTypeLonghand;
3953
4169
  * engine when calling `cesdk.engine.block.getType(blockId)` for example.
3954
4170
  * @public
3955
4171
  */
3956
- export declare type ObjectTypeLonghand = DesignBlockTypeLonghand | ShapeTypeLonghand | FillTypeLonghand | EffectTypeLonghand | BlurTypeLonghand;
4172
+ export declare type ObjectTypeLonghand = DesignBlockTypeLonghand | ShapeTypeLonghand | FillTypeLonghand | EffectTypeLonghand | BlurTypeLonghand | AnimationTypeLonghand;
3957
4173
 
3958
4174
  /**
3959
4175
  * The shorthand block type IDs for all blocks types in the Creative Engine. Those are the types that can be
3960
4176
  * passed to `cesdk.engine.block.findByType(type)` for example.
3961
4177
  * @public
3962
4178
  */
3963
- export declare type ObjectTypeShorthand = DesignBlockTypeShorthand | `shape/${ShapeTypeShorthand}` | `fill/${FillTypeShorthand}` | `effect/${EffectTypeShorthand}` | `blur/${BlurTypeShorthand}`;
4179
+ export declare type ObjectTypeShorthand = DesignBlockTypeShorthand | `shape/${ShapeTypeShorthand}` | `fill/${FillTypeShorthand}` | `effect/${EffectTypeShorthand}` | `blur/${BlurTypeShorthand}` | `animation/${AnimationTypeShorthand}`;
3964
4180
 
3965
4181
  /**
3966
4182
  * A simplified placeholder type for `OffscreenCanvas`, to avoid a dependency on `@types/offscreencanvas`
@@ -4392,7 +4608,7 @@ export declare type SceneMode = 'Design' | 'Video';
4392
4608
  export declare type Scope = 'text/edit' | 'text/character' | 'fill/change' | 'fill/changeType' | 'stroke/change' | 'shape/change' | 'layer/move' | 'layer/resize' | 'layer/rotate' | 'layer/flip' | 'layer/crop' | 'layer/opacity' | 'layer/blendMode' | 'layer/visibility' | 'layer/clipping' | 'appearance/adjustments' | 'appearance/filter' | 'appearance/effect' | 'appearance/blur' | 'appearance/shadow' | 'lifecycle/destroy' | 'lifecycle/duplicate' | 'editor/add' | 'editor/select';
4393
4609
 
4394
4610
  /** @public */
4395
- export declare type SettingsBool = 'controlGizmo/showCropHandles' | 'controlGizmo/showCropScaleHandles' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showScaleHandles' | 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'features/pageCarouselEnabled' | 'mouse/enableScroll' | 'mouse/enableZoom' | 'checkScopesInAPIs' | 'page/dimOutOfPageAreas' | 'page/title/appendPageName' | 'page/title/show' | 'page/title/showOnSinglePage' | 'page/title/showPageTitleTemplate' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning';
4611
+ export declare type SettingsBool = 'controlGizmo/showCropHandles' | 'controlGizmo/showCropScaleHandles' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showScaleHandles' | 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'features/pageCarouselEnabled' | 'mouse/enableScroll' | 'mouse/enableZoom' | 'checkScopesInAPIs' | 'page/dimOutOfPageAreas' | 'page/title/appendPageName' | 'page/title/show' | 'page/title/showOnSinglePage' | 'page/title/showPageTitleTemplate' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning';
4396
4612
 
4397
4613
  /** @public
4398
4614
  */
@@ -4456,6 +4672,13 @@ export declare interface Size2 {
4456
4672
  */
4457
4673
  export declare type SizeMode = 'Absolute' | 'Percent' | 'Auto';
4458
4674
 
4675
+ /**
4676
+ * The order to sort by if the asset source supports sorting.
4677
+ * If set to None, the order is the same as the assets were added to the source.
4678
+ * @public
4679
+ */
4680
+ export declare type SortingOrder = 'None' | 'Ascending' | 'Descending';
4681
+
4459
4682
  /**
4460
4683
  * A single source width an intrinsic width & height.
4461
4684
  * @public