@excalidraw/excalidraw 0.18.0-c4c0649 → 0.18.0-c6f8ef9

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.
Files changed (130) hide show
  1. package/dist/dev/chunk-CP5DND7P.js +7 -0
  2. package/dist/dev/chunk-CP5DND7P.js.map +7 -0
  3. package/dist/dev/chunk-CRKRRBMD.js +5677 -0
  4. package/dist/dev/chunk-CRKRRBMD.js.map +7 -0
  5. package/dist/dev/{chunk-JCUIYZXF.js → chunk-QF5FRM6O.js} +6 -2
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-SLEZBMLG.js → image-IWGLHPIX.js} +3 -3
  8. package/dist/dev/index.css +51 -20
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +6874 -4280
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-ZDTPSZNL.js → en-SMAPCEOQ.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-A66AFZZU.js +7 -0
  16. package/dist/prod/chunk-HHV2PJKY.js +4 -0
  17. package/dist/prod/{chunk-GCFVWREF.js → chunk-I4UNSFV6.js} +4 -4
  18. package/dist/prod/data/image-4SM4COIL.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -18
  21. package/dist/prod/locales/{en-MHZ26NAR.js → en-TYY6KWIJ.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +19 -3
  25. package/dist/types/common/src/utils.d.ts +3 -5
  26. package/dist/types/element/src/Scene.d.ts +7 -3
  27. package/dist/types/element/src/align.d.ts +2 -1
  28. package/dist/types/element/src/binding.d.ts +10 -7
  29. package/dist/types/element/src/bounds.d.ts +11 -3
  30. package/dist/types/element/src/collision.d.ts +18 -12
  31. package/dist/types/element/src/cropElement.d.ts +1 -1
  32. package/dist/types/element/src/delta.d.ts +42 -9
  33. package/dist/types/element/src/distance.d.ts +2 -2
  34. package/dist/types/element/src/distribute.d.ts +2 -1
  35. package/dist/types/element/src/fractionalIndex.d.ts +8 -2
  36. package/dist/types/element/src/frame.d.ts +2 -2
  37. package/dist/types/element/src/groups.d.ts +1 -0
  38. package/dist/types/element/src/index.d.ts +1 -3
  39. package/dist/types/element/src/linearElementEditor.d.ts +14 -23
  40. package/dist/types/element/src/mutateElement.d.ts +1 -1
  41. package/dist/types/element/src/newElement.d.ts +2 -1
  42. package/dist/types/element/src/resizeElements.d.ts +1 -0
  43. package/dist/types/element/src/selection.d.ts +1 -1
  44. package/dist/types/element/src/shape.d.ts +42 -0
  45. package/dist/types/element/src/sizeHelpers.d.ts +2 -1
  46. package/dist/types/element/src/store.d.ts +19 -9
  47. package/dist/types/element/src/transformHandles.d.ts +4 -4
  48. package/dist/types/element/src/typeChecks.d.ts +15 -1
  49. package/dist/types/element/src/types.d.ts +8 -3
  50. package/dist/types/element/src/utils.d.ts +16 -6
  51. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +21 -15
  52. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  53. package/dist/types/excalidraw/actions/actionBoundText.d.ts +14 -10
  54. package/dist/types/excalidraw/actions/actionCanvas.d.ts +180 -154
  55. package/dist/types/excalidraw/actions/actionClipboard.d.ts +50 -36
  56. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +7 -5
  57. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +27 -20
  58. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  59. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  60. package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -4
  61. package/dist/types/excalidraw/actions/actionElementLock.d.ts +29 -26
  62. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +7 -5
  63. package/dist/types/excalidraw/actions/actionExport.d.ts +147 -129
  64. package/dist/types/excalidraw/actions/actionFinalize.d.ts +65 -20
  65. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  66. package/dist/types/excalidraw/actions/actionFrame.d.ts +78 -70
  67. package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -16
  68. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +533 -7
  69. package/dist/types/excalidraw/actions/actionLink.d.ts +8 -6
  70. package/dist/types/excalidraw/actions/actionMenu.d.ts +22 -16
  71. package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -10
  72. package/dist/types/excalidraw/actions/actionProperties.d.ts +119 -81
  73. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -8
  74. package/dist/types/excalidraw/actions/actionStyles.d.ts +11 -9
  75. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +9 -7
  76. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +9 -7
  77. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -6
  78. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +9 -7
  79. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +9 -7
  80. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +9 -7
  81. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  82. package/dist/types/excalidraw/actions/types.d.ts +2 -1
  83. package/dist/types/excalidraw/appState.d.ts +29 -20
  84. package/dist/types/excalidraw/components/Actions.d.ts +0 -4
  85. package/dist/types/excalidraw/components/App.d.ts +15 -16
  86. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  87. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  88. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  89. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
  90. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  91. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -0
  92. package/dist/types/excalidraw/components/icons.d.ts +2 -0
  93. package/dist/types/excalidraw/components/shapes.d.ts +1 -1
  94. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  95. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  96. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  97. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  98. package/dist/types/excalidraw/history.d.ts +21 -5
  99. package/dist/types/excalidraw/index.d.ts +2 -1
  100. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  101. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  102. package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
  103. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  104. package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
  105. package/dist/types/excalidraw/types.d.ts +15 -8
  106. package/dist/types/math/src/angle.d.ts +2 -0
  107. package/dist/types/math/src/constants.d.ts +3 -0
  108. package/dist/types/math/src/curve.d.ts +32 -0
  109. package/dist/types/math/src/index.d.ts +1 -0
  110. package/dist/types/math/src/point.d.ts +1 -1
  111. package/dist/types/math/src/rectangle.d.ts +2 -0
  112. package/dist/types/math/src/vector.d.ts +4 -2
  113. package/history.ts +107 -44
  114. package/package.json +12 -9
  115. package/dist/dev/chunk-HNRFOURL.js +0 -23482
  116. package/dist/dev/chunk-HNRFOURL.js.map +0 -7
  117. package/dist/dev/chunk-JCUIYZXF.js.map +0 -7
  118. package/dist/dev/chunk-VKWYDXFZ.js +0 -7
  119. package/dist/dev/chunk-VKWYDXFZ.js.map +0 -7
  120. package/dist/prod/chunk-G6SRO7HP.js +0 -7
  121. package/dist/prod/chunk-M3D5LUUK.js +0 -33
  122. package/dist/prod/data/image-PMKVN4IF.js +0 -1
  123. package/dist/types/element/src/Shape.d.ts +0 -17
  124. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  125. package/dist/types/element/src/shapes.d.ts +0 -23
  126. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  127. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  128. package/dist/types/utils/src/collision.d.ts +0 -8
  129. /package/dist/dev/data/{image-SLEZBMLG.js.map → image-IWGLHPIX.js.map} +0 -0
  130. /package/dist/dev/locales/{en-ZDTPSZNL.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -17,7 +17,15 @@ export declare const actionChangeBackgroundColor: {
17
17
  name: "changeBackgroundColor";
18
18
  label: string;
19
19
  trackEvent: false;
20
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
20
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
21
+ appState: any;
22
+ captureUpdate: "EVENTUALLY";
23
+ elements?: undefined;
24
+ } | {
25
+ elements: ExcalidrawElement[];
26
+ appState: any;
27
+ captureUpdate: "IMMEDIATELY";
28
+ };
21
29
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
22
30
  } & {
23
31
  keyTest?: undefined;
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
40
48
  errorMessage: import("react").ReactNode;
41
49
  activeEmbeddable: {
42
50
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
43
- state: "hover" | "active";
51
+ state: "active" | "hover";
44
52
  } | null;
45
53
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
46
54
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -59,7 +67,6 @@ export declare const actionChangeFillStyle: {
59
67
  editingFrame: string | null;
60
68
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
69
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: LinearElementEditor | null;
63
70
  activeTool: {
64
71
  lastActiveTool: import("../types").ActiveTool | null;
65
72
  locked: boolean;
@@ -106,7 +113,7 @@ export declare const actionChangeFillStyle: {
106
113
  name: "imageExport" | "help" | "jsonExport";
107
114
  } | {
108
115
  name: "ttd";
109
- tab: "text-to-diagram" | "mermaid";
116
+ tab: "mermaid" | "text-to-diagram";
110
117
  } | {
111
118
  name: "commandPalette";
112
119
  } | {
@@ -178,8 +185,7 @@ export declare const actionChangeFillStyle: {
178
185
  shown: true;
179
186
  data: import("../charts").Spreadsheet;
180
187
  };
181
- pendingImageElementId: string | null;
182
- showHyperlinkPopup: false | "info" | "editor";
188
+ showHyperlinkPopup: false | "editor" | "info";
183
189
  selectedLinearElement: LinearElementEditor | null;
184
190
  snapLines: readonly import("../snapping").SnapLine[];
185
191
  originSnapOffset: {
@@ -195,6 +201,10 @@ export declare const actionChangeFillStyle: {
195
201
  focusedId: string | null;
196
202
  matches: readonly import("../types").SearchMatch[];
197
203
  }> | null;
204
+ activeLockedId: string | null;
205
+ lockedMultiSelections: {
206
+ [groupId: string]: true;
207
+ };
198
208
  };
199
209
  captureUpdate: "IMMEDIATELY";
200
210
  };
@@ -220,7 +230,7 @@ export declare const actionChangeStrokeWidth: {
220
230
  errorMessage: import("react").ReactNode;
221
231
  activeEmbeddable: {
222
232
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
223
- state: "hover" | "active";
233
+ state: "active" | "hover";
224
234
  } | null;
225
235
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
226
236
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -239,7 +249,6 @@ export declare const actionChangeStrokeWidth: {
239
249
  editingFrame: string | null;
240
250
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
241
251
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
242
- editingLinearElement: LinearElementEditor | null;
243
252
  activeTool: {
244
253
  lastActiveTool: import("../types").ActiveTool | null;
245
254
  locked: boolean;
@@ -286,7 +295,7 @@ export declare const actionChangeStrokeWidth: {
286
295
  name: "imageExport" | "help" | "jsonExport";
287
296
  } | {
288
297
  name: "ttd";
289
- tab: "text-to-diagram" | "mermaid";
298
+ tab: "mermaid" | "text-to-diagram";
290
299
  } | {
291
300
  name: "commandPalette";
292
301
  } | {
@@ -358,8 +367,7 @@ export declare const actionChangeStrokeWidth: {
358
367
  shown: true;
359
368
  data: import("../charts").Spreadsheet;
360
369
  };
361
- pendingImageElementId: string | null;
362
- showHyperlinkPopup: false | "info" | "editor";
370
+ showHyperlinkPopup: false | "editor" | "info";
363
371
  selectedLinearElement: LinearElementEditor | null;
364
372
  snapLines: readonly import("../snapping").SnapLine[];
365
373
  originSnapOffset: {
@@ -375,6 +383,10 @@ export declare const actionChangeStrokeWidth: {
375
383
  focusedId: string | null;
376
384
  matches: readonly import("../types").SearchMatch[];
377
385
  }> | null;
386
+ activeLockedId: string | null;
387
+ lockedMultiSelections: {
388
+ [groupId: string]: true;
389
+ };
378
390
  };
379
391
  captureUpdate: "IMMEDIATELY";
380
392
  };
@@ -400,7 +412,7 @@ export declare const actionChangeSloppiness: {
400
412
  errorMessage: import("react").ReactNode;
401
413
  activeEmbeddable: {
402
414
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
403
- state: "hover" | "active";
415
+ state: "active" | "hover";
404
416
  } | null;
405
417
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
406
418
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -419,7 +431,6 @@ export declare const actionChangeSloppiness: {
419
431
  editingFrame: string | null;
420
432
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
421
433
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
422
- editingLinearElement: LinearElementEditor | null;
423
434
  activeTool: {
424
435
  lastActiveTool: import("../types").ActiveTool | null;
425
436
  locked: boolean;
@@ -466,7 +477,7 @@ export declare const actionChangeSloppiness: {
466
477
  name: "imageExport" | "help" | "jsonExport";
467
478
  } | {
468
479
  name: "ttd";
469
- tab: "text-to-diagram" | "mermaid";
480
+ tab: "mermaid" | "text-to-diagram";
470
481
  } | {
471
482
  name: "commandPalette";
472
483
  } | {
@@ -538,8 +549,7 @@ export declare const actionChangeSloppiness: {
538
549
  shown: true;
539
550
  data: import("../charts").Spreadsheet;
540
551
  };
541
- pendingImageElementId: string | null;
542
- showHyperlinkPopup: false | "info" | "editor";
552
+ showHyperlinkPopup: false | "editor" | "info";
543
553
  selectedLinearElement: LinearElementEditor | null;
544
554
  snapLines: readonly import("../snapping").SnapLine[];
545
555
  originSnapOffset: {
@@ -555,6 +565,10 @@ export declare const actionChangeSloppiness: {
555
565
  focusedId: string | null;
556
566
  matches: readonly import("../types").SearchMatch[];
557
567
  }> | null;
568
+ activeLockedId: string | null;
569
+ lockedMultiSelections: {
570
+ [groupId: string]: true;
571
+ };
558
572
  };
559
573
  captureUpdate: "IMMEDIATELY";
560
574
  };
@@ -580,7 +594,7 @@ export declare const actionChangeStrokeStyle: {
580
594
  errorMessage: import("react").ReactNode;
581
595
  activeEmbeddable: {
582
596
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
583
- state: "hover" | "active";
597
+ state: "active" | "hover";
584
598
  } | null;
585
599
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
586
600
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -599,7 +613,6 @@ export declare const actionChangeStrokeStyle: {
599
613
  editingFrame: string | null;
600
614
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
601
615
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
602
- editingLinearElement: LinearElementEditor | null;
603
616
  activeTool: {
604
617
  lastActiveTool: import("../types").ActiveTool | null;
605
618
  locked: boolean;
@@ -646,7 +659,7 @@ export declare const actionChangeStrokeStyle: {
646
659
  name: "imageExport" | "help" | "jsonExport";
647
660
  } | {
648
661
  name: "ttd";
649
- tab: "text-to-diagram" | "mermaid";
662
+ tab: "mermaid" | "text-to-diagram";
650
663
  } | {
651
664
  name: "commandPalette";
652
665
  } | {
@@ -718,8 +731,7 @@ export declare const actionChangeStrokeStyle: {
718
731
  shown: true;
719
732
  data: import("../charts").Spreadsheet;
720
733
  };
721
- pendingImageElementId: string | null;
722
- showHyperlinkPopup: false | "info" | "editor";
734
+ showHyperlinkPopup: false | "editor" | "info";
723
735
  selectedLinearElement: LinearElementEditor | null;
724
736
  snapLines: readonly import("../snapping").SnapLine[];
725
737
  originSnapOffset: {
@@ -735,6 +747,10 @@ export declare const actionChangeStrokeStyle: {
735
747
  focusedId: string | null;
736
748
  matches: readonly import("../types").SearchMatch[];
737
749
  }> | null;
750
+ activeLockedId: string | null;
751
+ lockedMultiSelections: {
752
+ [groupId: string]: true;
753
+ };
738
754
  };
739
755
  captureUpdate: "IMMEDIATELY";
740
756
  };
@@ -760,7 +776,7 @@ export declare const actionChangeOpacity: {
760
776
  errorMessage: import("react").ReactNode;
761
777
  activeEmbeddable: {
762
778
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
763
- state: "hover" | "active";
779
+ state: "active" | "hover";
764
780
  } | null;
765
781
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
766
782
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -779,7 +795,6 @@ export declare const actionChangeOpacity: {
779
795
  editingFrame: string | null;
780
796
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
781
797
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
782
- editingLinearElement: LinearElementEditor | null;
783
798
  activeTool: {
784
799
  lastActiveTool: import("../types").ActiveTool | null;
785
800
  locked: boolean;
@@ -826,7 +841,7 @@ export declare const actionChangeOpacity: {
826
841
  name: "imageExport" | "help" | "jsonExport";
827
842
  } | {
828
843
  name: "ttd";
829
- tab: "text-to-diagram" | "mermaid";
844
+ tab: "mermaid" | "text-to-diagram";
830
845
  } | {
831
846
  name: "commandPalette";
832
847
  } | {
@@ -898,8 +913,7 @@ export declare const actionChangeOpacity: {
898
913
  shown: true;
899
914
  data: import("../charts").Spreadsheet;
900
915
  };
901
- pendingImageElementId: string | null;
902
- showHyperlinkPopup: false | "info" | "editor";
916
+ showHyperlinkPopup: false | "editor" | "info";
903
917
  selectedLinearElement: LinearElementEditor | null;
904
918
  snapLines: readonly import("../snapping").SnapLine[];
905
919
  originSnapOffset: {
@@ -915,6 +929,10 @@ export declare const actionChangeOpacity: {
915
929
  focusedId: string | null;
916
930
  matches: readonly import("../types").SearchMatch[];
917
931
  }> | null;
932
+ activeLockedId: string | null;
933
+ lockedMultiSelections: {
934
+ [groupId: string]: true;
935
+ };
918
936
  };
919
937
  captureUpdate: "IMMEDIATELY";
920
938
  };
@@ -940,7 +958,7 @@ export declare const actionChangeFontSize: {
940
958
  errorMessage: import("react").ReactNode;
941
959
  activeEmbeddable: {
942
960
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
943
- state: "hover" | "active";
961
+ state: "active" | "hover";
944
962
  } | null;
945
963
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
946
964
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -959,7 +977,6 @@ export declare const actionChangeFontSize: {
959
977
  editingFrame: string | null;
960
978
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
961
979
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
962
- editingLinearElement: LinearElementEditor | null;
963
980
  activeTool: {
964
981
  lastActiveTool: import("../types").ActiveTool | null;
965
982
  locked: boolean;
@@ -1006,7 +1023,7 @@ export declare const actionChangeFontSize: {
1006
1023
  name: "imageExport" | "help" | "jsonExport";
1007
1024
  } | {
1008
1025
  name: "ttd";
1009
- tab: "text-to-diagram" | "mermaid";
1026
+ tab: "mermaid" | "text-to-diagram";
1010
1027
  } | {
1011
1028
  name: "commandPalette";
1012
1029
  } | {
@@ -1078,8 +1095,7 @@ export declare const actionChangeFontSize: {
1078
1095
  shown: true;
1079
1096
  data: import("../charts").Spreadsheet;
1080
1097
  };
1081
- pendingImageElementId: string | null;
1082
- showHyperlinkPopup: false | "info" | "editor";
1098
+ showHyperlinkPopup: false | "editor" | "info";
1083
1099
  selectedLinearElement: LinearElementEditor | null;
1084
1100
  snapLines: readonly import("../snapping").SnapLine[];
1085
1101
  originSnapOffset: {
@@ -1095,6 +1111,10 @@ export declare const actionChangeFontSize: {
1095
1111
  focusedId: string | null;
1096
1112
  matches: readonly import("../types").SearchMatch[];
1097
1113
  }> | null;
1114
+ activeLockedId: string | null;
1115
+ lockedMultiSelections: {
1116
+ [groupId: string]: true;
1117
+ };
1098
1118
  };
1099
1119
  captureUpdate: "IMMEDIATELY";
1100
1120
  };
@@ -1121,7 +1141,7 @@ export declare const actionDecreaseFontSize: {
1121
1141
  errorMessage: import("react").ReactNode;
1122
1142
  activeEmbeddable: {
1123
1143
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1124
- state: "hover" | "active";
1144
+ state: "active" | "hover";
1125
1145
  } | null;
1126
1146
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1127
1147
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1140,7 +1160,6 @@ export declare const actionDecreaseFontSize: {
1140
1160
  editingFrame: string | null;
1141
1161
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1142
1162
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1143
- editingLinearElement: LinearElementEditor | null;
1144
1163
  activeTool: {
1145
1164
  lastActiveTool: import("../types").ActiveTool | null;
1146
1165
  locked: boolean;
@@ -1187,7 +1206,7 @@ export declare const actionDecreaseFontSize: {
1187
1206
  name: "imageExport" | "help" | "jsonExport";
1188
1207
  } | {
1189
1208
  name: "ttd";
1190
- tab: "text-to-diagram" | "mermaid";
1209
+ tab: "mermaid" | "text-to-diagram";
1191
1210
  } | {
1192
1211
  name: "commandPalette";
1193
1212
  } | {
@@ -1259,8 +1278,7 @@ export declare const actionDecreaseFontSize: {
1259
1278
  shown: true;
1260
1279
  data: import("../charts").Spreadsheet;
1261
1280
  };
1262
- pendingImageElementId: string | null;
1263
- showHyperlinkPopup: false | "info" | "editor";
1281
+ showHyperlinkPopup: false | "editor" | "info";
1264
1282
  selectedLinearElement: LinearElementEditor | null;
1265
1283
  snapLines: readonly import("../snapping").SnapLine[];
1266
1284
  originSnapOffset: {
@@ -1276,12 +1294,16 @@ export declare const actionDecreaseFontSize: {
1276
1294
  focusedId: string | null;
1277
1295
  matches: readonly import("../types").SearchMatch[];
1278
1296
  }> | null;
1297
+ activeLockedId: string | null;
1298
+ lockedMultiSelections: {
1299
+ [groupId: string]: true;
1300
+ };
1279
1301
  };
1280
1302
  captureUpdate: "IMMEDIATELY";
1281
1303
  };
1282
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1304
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1283
1305
  } & {
1284
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1306
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1285
1307
  };
1286
1308
  export declare const actionIncreaseFontSize: {
1287
1309
  name: "increaseFontSize";
@@ -1302,7 +1324,7 @@ export declare const actionIncreaseFontSize: {
1302
1324
  errorMessage: import("react").ReactNode;
1303
1325
  activeEmbeddable: {
1304
1326
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1305
- state: "hover" | "active";
1327
+ state: "active" | "hover";
1306
1328
  } | null;
1307
1329
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1308
1330
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1321,7 +1343,6 @@ export declare const actionIncreaseFontSize: {
1321
1343
  editingFrame: string | null;
1322
1344
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1323
1345
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1324
- editingLinearElement: LinearElementEditor | null;
1325
1346
  activeTool: {
1326
1347
  lastActiveTool: import("../types").ActiveTool | null;
1327
1348
  locked: boolean;
@@ -1368,7 +1389,7 @@ export declare const actionIncreaseFontSize: {
1368
1389
  name: "imageExport" | "help" | "jsonExport";
1369
1390
  } | {
1370
1391
  name: "ttd";
1371
- tab: "text-to-diagram" | "mermaid";
1392
+ tab: "mermaid" | "text-to-diagram";
1372
1393
  } | {
1373
1394
  name: "commandPalette";
1374
1395
  } | {
@@ -1440,8 +1461,7 @@ export declare const actionIncreaseFontSize: {
1440
1461
  shown: true;
1441
1462
  data: import("../charts").Spreadsheet;
1442
1463
  };
1443
- pendingImageElementId: string | null;
1444
- showHyperlinkPopup: false | "info" | "editor";
1464
+ showHyperlinkPopup: false | "editor" | "info";
1445
1465
  selectedLinearElement: LinearElementEditor | null;
1446
1466
  snapLines: readonly import("../snapping").SnapLine[];
1447
1467
  originSnapOffset: {
@@ -1457,12 +1477,16 @@ export declare const actionIncreaseFontSize: {
1457
1477
  focusedId: string | null;
1458
1478
  matches: readonly import("../types").SearchMatch[];
1459
1479
  }> | null;
1480
+ activeLockedId: string | null;
1481
+ lockedMultiSelections: {
1482
+ [groupId: string]: true;
1483
+ };
1460
1484
  };
1461
1485
  captureUpdate: "IMMEDIATELY";
1462
1486
  };
1463
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1487
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1464
1488
  } & {
1465
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1489
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1466
1490
  };
1467
1491
  export declare const actionChangeFontFamily: {
1468
1492
  name: "changeFontFamily";
@@ -1483,7 +1507,7 @@ export declare const actionChangeFontFamily: {
1483
1507
  errorMessage: import("react").ReactNode;
1484
1508
  activeEmbeddable: {
1485
1509
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1486
- state: "hover" | "active";
1510
+ state: "active" | "hover";
1487
1511
  } | null;
1488
1512
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1489
1513
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1502,7 +1526,6 @@ export declare const actionChangeFontFamily: {
1502
1526
  editingFrame: string | null;
1503
1527
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1504
1528
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1505
- editingLinearElement: LinearElementEditor | null;
1506
1529
  activeTool: {
1507
1530
  lastActiveTool: import("../types").ActiveTool | null;
1508
1531
  locked: boolean;
@@ -1547,7 +1570,7 @@ export declare const actionChangeFontFamily: {
1547
1570
  name: "imageExport" | "help" | "jsonExport";
1548
1571
  } | {
1549
1572
  name: "ttd";
1550
- tab: "text-to-diagram" | "mermaid";
1573
+ tab: "mermaid" | "text-to-diagram";
1551
1574
  } | {
1552
1575
  name: "commandPalette";
1553
1576
  } | {
@@ -1619,8 +1642,7 @@ export declare const actionChangeFontFamily: {
1619
1642
  shown: true;
1620
1643
  data: import("../charts").Spreadsheet;
1621
1644
  };
1622
- pendingImageElementId: string | null;
1623
- showHyperlinkPopup: false | "info" | "editor";
1645
+ showHyperlinkPopup: false | "editor" | "info";
1624
1646
  selectedLinearElement: LinearElementEditor | null;
1625
1647
  snapLines: readonly import("../snapping").SnapLine[];
1626
1648
  originSnapOffset: {
@@ -1636,6 +1658,10 @@ export declare const actionChangeFontFamily: {
1636
1658
  focusedId: string | null;
1637
1659
  matches: readonly import("../types").SearchMatch[];
1638
1660
  }> | null;
1661
+ activeLockedId: string | null;
1662
+ lockedMultiSelections: {
1663
+ [groupId: string]: true;
1664
+ };
1639
1665
  };
1640
1666
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1641
1667
  } | {
@@ -1654,7 +1680,7 @@ export declare const actionChangeFontFamily: {
1654
1680
  errorMessage: import("react").ReactNode;
1655
1681
  activeEmbeddable: {
1656
1682
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1657
- state: "hover" | "active";
1683
+ state: "active" | "hover";
1658
1684
  } | null;
1659
1685
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1660
1686
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1673,7 +1699,6 @@ export declare const actionChangeFontFamily: {
1673
1699
  editingFrame: string | null;
1674
1700
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1675
1701
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1676
- editingLinearElement: LinearElementEditor | null;
1677
1702
  activeTool: {
1678
1703
  lastActiveTool: import("../types").ActiveTool | null;
1679
1704
  locked: boolean;
@@ -1718,7 +1743,7 @@ export declare const actionChangeFontFamily: {
1718
1743
  name: "imageExport" | "help" | "jsonExport";
1719
1744
  } | {
1720
1745
  name: "ttd";
1721
- tab: "text-to-diagram" | "mermaid";
1746
+ tab: "mermaid" | "text-to-diagram";
1722
1747
  } | {
1723
1748
  name: "commandPalette";
1724
1749
  } | {
@@ -1790,8 +1815,7 @@ export declare const actionChangeFontFamily: {
1790
1815
  shown: true;
1791
1816
  data: import("../charts").Spreadsheet;
1792
1817
  };
1793
- pendingImageElementId: string | null;
1794
- showHyperlinkPopup: false | "info" | "editor";
1818
+ showHyperlinkPopup: false | "editor" | "info";
1795
1819
  selectedLinearElement: LinearElementEditor | null;
1796
1820
  snapLines: readonly import("../snapping").SnapLine[];
1797
1821
  originSnapOffset: {
@@ -1807,6 +1831,10 @@ export declare const actionChangeFontFamily: {
1807
1831
  focusedId: string | null;
1808
1832
  matches: readonly import("../types").SearchMatch[];
1809
1833
  }> | null;
1834
+ activeLockedId: string | null;
1835
+ lockedMultiSelections: {
1836
+ [groupId: string]: true;
1837
+ };
1810
1838
  };
1811
1839
  captureUpdate: "NEVER";
1812
1840
  };
@@ -1832,7 +1860,7 @@ export declare const actionChangeTextAlign: {
1832
1860
  errorMessage: import("react").ReactNode;
1833
1861
  activeEmbeddable: {
1834
1862
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1835
- state: "hover" | "active";
1863
+ state: "active" | "hover";
1836
1864
  } | null;
1837
1865
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1838
1866
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1851,7 +1879,6 @@ export declare const actionChangeTextAlign: {
1851
1879
  editingFrame: string | null;
1852
1880
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1853
1881
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1854
- editingLinearElement: LinearElementEditor | null;
1855
1882
  activeTool: {
1856
1883
  lastActiveTool: import("../types").ActiveTool | null;
1857
1884
  locked: boolean;
@@ -1898,7 +1925,7 @@ export declare const actionChangeTextAlign: {
1898
1925
  name: "imageExport" | "help" | "jsonExport";
1899
1926
  } | {
1900
1927
  name: "ttd";
1901
- tab: "text-to-diagram" | "mermaid";
1928
+ tab: "mermaid" | "text-to-diagram";
1902
1929
  } | {
1903
1930
  name: "commandPalette";
1904
1931
  } | {
@@ -1970,8 +1997,7 @@ export declare const actionChangeTextAlign: {
1970
1997
  shown: true;
1971
1998
  data: import("../charts").Spreadsheet;
1972
1999
  };
1973
- pendingImageElementId: string | null;
1974
- showHyperlinkPopup: false | "info" | "editor";
2000
+ showHyperlinkPopup: false | "editor" | "info";
1975
2001
  selectedLinearElement: LinearElementEditor | null;
1976
2002
  snapLines: readonly import("../snapping").SnapLine[];
1977
2003
  originSnapOffset: {
@@ -1987,6 +2013,10 @@ export declare const actionChangeTextAlign: {
1987
2013
  focusedId: string | null;
1988
2014
  matches: readonly import("../types").SearchMatch[];
1989
2015
  }> | null;
2016
+ activeLockedId: string | null;
2017
+ lockedMultiSelections: {
2018
+ [groupId: string]: true;
2019
+ };
1990
2020
  };
1991
2021
  captureUpdate: "IMMEDIATELY";
1992
2022
  };
@@ -2013,7 +2043,7 @@ export declare const actionChangeVerticalAlign: {
2013
2043
  errorMessage: import("react").ReactNode;
2014
2044
  activeEmbeddable: {
2015
2045
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2016
- state: "hover" | "active";
2046
+ state: "active" | "hover";
2017
2047
  } | null;
2018
2048
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2019
2049
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2032,7 +2062,6 @@ export declare const actionChangeVerticalAlign: {
2032
2062
  editingFrame: string | null;
2033
2063
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2034
2064
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2035
- editingLinearElement: LinearElementEditor | null;
2036
2065
  activeTool: {
2037
2066
  lastActiveTool: import("../types").ActiveTool | null;
2038
2067
  locked: boolean;
@@ -2080,7 +2109,7 @@ export declare const actionChangeVerticalAlign: {
2080
2109
  name: "imageExport" | "help" | "jsonExport";
2081
2110
  } | {
2082
2111
  name: "ttd";
2083
- tab: "text-to-diagram" | "mermaid";
2112
+ tab: "mermaid" | "text-to-diagram";
2084
2113
  } | {
2085
2114
  name: "commandPalette";
2086
2115
  } | {
@@ -2152,8 +2181,7 @@ export declare const actionChangeVerticalAlign: {
2152
2181
  shown: true;
2153
2182
  data: import("../charts").Spreadsheet;
2154
2183
  };
2155
- pendingImageElementId: string | null;
2156
- showHyperlinkPopup: false | "info" | "editor";
2184
+ showHyperlinkPopup: false | "editor" | "info";
2157
2185
  selectedLinearElement: LinearElementEditor | null;
2158
2186
  snapLines: readonly import("../snapping").SnapLine[];
2159
2187
  originSnapOffset: {
@@ -2169,6 +2197,10 @@ export declare const actionChangeVerticalAlign: {
2169
2197
  focusedId: string | null;
2170
2198
  matches: readonly import("../types").SearchMatch[];
2171
2199
  }> | null;
2200
+ activeLockedId: string | null;
2201
+ lockedMultiSelections: {
2202
+ [groupId: string]: true;
2203
+ };
2172
2204
  };
2173
2205
  captureUpdate: "IMMEDIATELY";
2174
2206
  };
@@ -2194,7 +2226,7 @@ export declare const actionChangeRoundness: {
2194
2226
  errorMessage: import("react").ReactNode;
2195
2227
  activeEmbeddable: {
2196
2228
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2197
- state: "hover" | "active";
2229
+ state: "active" | "hover";
2198
2230
  } | null;
2199
2231
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2200
2232
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2213,7 +2245,6 @@ export declare const actionChangeRoundness: {
2213
2245
  editingFrame: string | null;
2214
2246
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2215
2247
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2216
- editingLinearElement: LinearElementEditor | null;
2217
2248
  activeTool: {
2218
2249
  lastActiveTool: import("../types").ActiveTool | null;
2219
2250
  locked: boolean;
@@ -2260,7 +2291,7 @@ export declare const actionChangeRoundness: {
2260
2291
  name: "imageExport" | "help" | "jsonExport";
2261
2292
  } | {
2262
2293
  name: "ttd";
2263
- tab: "text-to-diagram" | "mermaid";
2294
+ tab: "mermaid" | "text-to-diagram";
2264
2295
  } | {
2265
2296
  name: "commandPalette";
2266
2297
  } | {
@@ -2332,8 +2363,7 @@ export declare const actionChangeRoundness: {
2332
2363
  shown: true;
2333
2364
  data: import("../charts").Spreadsheet;
2334
2365
  };
2335
- pendingImageElementId: string | null;
2336
- showHyperlinkPopup: false | "info" | "editor";
2366
+ showHyperlinkPopup: false | "editor" | "info";
2337
2367
  selectedLinearElement: LinearElementEditor | null;
2338
2368
  snapLines: readonly import("../snapping").SnapLine[];
2339
2369
  originSnapOffset: {
@@ -2349,10 +2379,14 @@ export declare const actionChangeRoundness: {
2349
2379
  focusedId: string | null;
2350
2380
  matches: readonly import("../types").SearchMatch[];
2351
2381
  }> | null;
2382
+ activeLockedId: string | null;
2383
+ lockedMultiSelections: {
2384
+ [groupId: string]: true;
2385
+ };
2352
2386
  };
2353
2387
  captureUpdate: "IMMEDIATELY";
2354
2388
  };
2355
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2389
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2356
2390
  } & {
2357
2391
  keyTest?: undefined;
2358
2392
  };
@@ -2376,7 +2410,7 @@ export declare const actionChangeArrowhead: {
2376
2410
  errorMessage: import("react").ReactNode;
2377
2411
  activeEmbeddable: {
2378
2412
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2379
- state: "hover" | "active";
2413
+ state: "active" | "hover";
2380
2414
  } | null;
2381
2415
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2382
2416
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2395,7 +2429,6 @@ export declare const actionChangeArrowhead: {
2395
2429
  editingFrame: string | null;
2396
2430
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2397
2431
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2398
- editingLinearElement: LinearElementEditor | null;
2399
2432
  activeTool: {
2400
2433
  lastActiveTool: import("../types").ActiveTool | null;
2401
2434
  locked: boolean;
@@ -2443,7 +2476,7 @@ export declare const actionChangeArrowhead: {
2443
2476
  name: "imageExport" | "help" | "jsonExport";
2444
2477
  } | {
2445
2478
  name: "ttd";
2446
- tab: "text-to-diagram" | "mermaid";
2479
+ tab: "mermaid" | "text-to-diagram";
2447
2480
  } | {
2448
2481
  name: "commandPalette";
2449
2482
  } | {
@@ -2515,8 +2548,7 @@ export declare const actionChangeArrowhead: {
2515
2548
  shown: true;
2516
2549
  data: import("../charts").Spreadsheet;
2517
2550
  };
2518
- pendingImageElementId: string | null;
2519
- showHyperlinkPopup: false | "info" | "editor";
2551
+ showHyperlinkPopup: false | "editor" | "info";
2520
2552
  selectedLinearElement: LinearElementEditor | null;
2521
2553
  snapLines: readonly import("../snapping").SnapLine[];
2522
2554
  originSnapOffset: {
@@ -2532,6 +2564,10 @@ export declare const actionChangeArrowhead: {
2532
2564
  focusedId: string | null;
2533
2565
  matches: readonly import("../types").SearchMatch[];
2534
2566
  }> | null;
2567
+ activeLockedId: string | null;
2568
+ lockedMultiSelections: {
2569
+ [groupId: string]: true;
2570
+ };
2535
2571
  };
2536
2572
  captureUpdate: "IMMEDIATELY";
2537
2573
  };
@@ -2557,7 +2593,7 @@ export declare const actionChangeArrowType: {
2557
2593
  errorMessage: import("react").ReactNode;
2558
2594
  activeEmbeddable: {
2559
2595
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2560
- state: "hover" | "active";
2596
+ state: "active" | "hover";
2561
2597
  } | null;
2562
2598
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2563
2599
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2576,7 +2612,6 @@ export declare const actionChangeArrowType: {
2576
2612
  editingFrame: string | null;
2577
2613
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2578
2614
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2579
- editingLinearElement: LinearElementEditor | null;
2580
2615
  activeTool: {
2581
2616
  lastActiveTool: import("../types").ActiveTool | null;
2582
2617
  locked: boolean;
@@ -2623,7 +2658,7 @@ export declare const actionChangeArrowType: {
2623
2658
  name: "imageExport" | "help" | "jsonExport";
2624
2659
  } | {
2625
2660
  name: "ttd";
2626
- tab: "text-to-diagram" | "mermaid";
2661
+ tab: "mermaid" | "text-to-diagram";
2627
2662
  } | {
2628
2663
  name: "commandPalette";
2629
2664
  } | {
@@ -2695,8 +2730,7 @@ export declare const actionChangeArrowType: {
2695
2730
  shown: true;
2696
2731
  data: import("../charts").Spreadsheet;
2697
2732
  };
2698
- pendingImageElementId: string | null;
2699
- showHyperlinkPopup: false | "info" | "editor";
2733
+ showHyperlinkPopup: false | "editor" | "info";
2700
2734
  selectedLinearElement: LinearElementEditor | null;
2701
2735
  snapLines: readonly import("../snapping").SnapLine[];
2702
2736
  originSnapOffset: {
@@ -2712,6 +2746,10 @@ export declare const actionChangeArrowType: {
2712
2746
  focusedId: string | null;
2713
2747
  matches: readonly import("../types").SearchMatch[];
2714
2748
  }> | null;
2749
+ activeLockedId: string | null;
2750
+ lockedMultiSelections: {
2751
+ [groupId: string]: true;
2752
+ };
2715
2753
  };
2716
2754
  captureUpdate: "IMMEDIATELY";
2717
2755
  };