@excalidraw/excalidraw 0.18.0-58f7d33 → 0.18.0-6d870b1c8

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 (174) 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-D5WIFFIO.js +5678 -0
  4. package/dist/dev/chunk-D5WIFFIO.js.map +7 -0
  5. package/dist/dev/{chunk-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-U2IPNUKJ.js → image-WMAXQLTI.js} +3 -3
  8. package/dist/dev/index.css +104 -22
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +8871 -9726
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-CKWC2GMK.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-I4UNSFV6.js +12 -0
  17. package/dist/prod/chunk-KK52DCS3.js +4 -0
  18. package/dist/prod/data/image-U3WTNYT7.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -17
  21. package/dist/prod/locales/{en-SBO6ZHT2.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 +21 -3
  25. package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  26. package/dist/types/common/src/font-metadata.d.ts +4 -2
  27. package/dist/types/common/src/index.d.ts +1 -0
  28. package/dist/types/common/src/utility-types.d.ts +5 -0
  29. package/dist/types/common/src/utils.d.ts +17 -4
  30. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
  31. package/dist/types/element/src/align.d.ts +4 -3
  32. package/dist/types/element/src/binding.d.ts +26 -16
  33. package/dist/types/element/src/bounds.d.ts +13 -5
  34. package/dist/types/element/src/collision.d.ts +18 -12
  35. package/dist/types/element/src/cropElement.d.ts +1 -1
  36. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +74 -39
  37. package/dist/types/element/src/distance.d.ts +2 -2
  38. package/dist/types/element/src/distribute.d.ts +2 -1
  39. package/dist/types/element/src/dragElements.d.ts +3 -2
  40. package/dist/types/element/src/duplicate.d.ts +10 -13
  41. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  42. package/dist/types/element/src/flowchart.d.ts +3 -2
  43. package/dist/types/element/src/fractionalIndex.d.ts +9 -3
  44. package/dist/types/element/src/frame.d.ts +5 -4
  45. package/dist/types/element/src/groups.d.ts +1 -0
  46. package/dist/types/element/src/index.d.ts +43 -2
  47. package/dist/types/element/src/linearElementEditor.d.ts +23 -36
  48. package/dist/types/element/src/mutateElement.d.ts +11 -3
  49. package/dist/types/element/src/newElement.d.ts +4 -3
  50. package/dist/types/element/src/resizeElements.d.ts +5 -4
  51. package/dist/types/element/src/selection.d.ts +11 -5
  52. package/dist/types/element/src/shape.d.ts +42 -0
  53. package/dist/types/element/src/sizeHelpers.d.ts +2 -2
  54. package/dist/types/element/src/store.d.ts +232 -0
  55. package/dist/types/element/src/textElement.d.ts +4 -3
  56. package/dist/types/element/src/typeChecks.d.ts +19 -1
  57. package/dist/types/element/src/types.d.ts +15 -2
  58. package/dist/types/element/src/utils.d.ts +16 -6
  59. package/dist/types/element/src/zindex.d.ts +1 -1
  60. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +39 -51
  61. package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -34
  62. package/dist/types/excalidraw/actions/actionCanvas.d.ts +175 -227
  63. package/dist/types/excalidraw/actions/actionClipboard.d.ts +78 -100
  64. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -17
  65. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +39 -50
  66. package/dist/types/excalidraw/actions/actionElementLink.d.ts +12 -16
  67. package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -50
  68. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -17
  69. package/dist/types/excalidraw/actions/actionExport.d.ts +127 -163
  70. package/dist/types/excalidraw/actions/actionFinalize.d.ts +73 -40
  71. package/dist/types/excalidraw/actions/actionFrame.d.ts +99 -115
  72. package/dist/types/excalidraw/actions/actionGroup.d.ts +26 -34
  73. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  74. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +538 -18
  75. package/dist/types/excalidraw/actions/actionLink.d.ts +12 -16
  76. package/dist/types/excalidraw/actions/actionMenu.d.ts +36 -48
  77. package/dist/types/excalidraw/actions/actionNavigate.d.ts +25 -33
  78. package/dist/types/excalidraw/actions/actionProperties.d.ts +203 -255
  79. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +13 -17
  80. package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -17
  81. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +13 -17
  82. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +13 -17
  83. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +12 -189
  84. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  85. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +13 -17
  86. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +13 -17
  87. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +13 -17
  88. package/dist/types/excalidraw/actions/types.d.ts +4 -3
  89. package/dist/types/excalidraw/appState.d.ts +19 -10
  90. package/dist/types/excalidraw/components/Actions.d.ts +0 -4
  91. package/dist/types/excalidraw/components/App.d.ts +30 -19
  92. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  93. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  94. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  95. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  96. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  97. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  98. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  99. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  100. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  101. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  102. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  103. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  104. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  105. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  106. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  107. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  108. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  109. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  110. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  111. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
  112. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  113. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  116. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  117. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  118. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  119. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  120. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
  121. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  122. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  123. package/dist/types/excalidraw/components/icons.d.ts +3 -0
  124. package/dist/types/excalidraw/components/shapes.d.ts +1 -1
  125. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  126. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  127. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  128. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  129. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  130. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  131. package/dist/types/excalidraw/history.d.ts +30 -22
  132. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  133. package/dist/types/excalidraw/index.d.ts +11 -10
  134. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  135. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  136. package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
  137. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  138. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
  139. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  140. package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
  141. package/dist/types/excalidraw/scene/types.d.ts +2 -0
  142. package/dist/types/excalidraw/snapping.d.ts +2 -2
  143. package/dist/types/excalidraw/types.d.ts +34 -14
  144. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  145. package/dist/types/math/src/angle.d.ts +2 -0
  146. package/dist/types/math/src/constants.d.ts +3 -0
  147. package/dist/types/math/src/curve.d.ts +34 -0
  148. package/dist/types/math/src/index.d.ts +1 -0
  149. package/dist/types/math/src/point.d.ts +1 -1
  150. package/dist/types/math/src/rectangle.d.ts +2 -0
  151. package/dist/types/math/src/vector.d.ts +8 -2
  152. package/dist/types/utils/src/bbox.d.ts +1 -1
  153. package/dist/types/utils/src/index.d.ts +1 -1
  154. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  155. package/history.ts +147 -110
  156. package/package.json +12 -9
  157. package/dist/dev/chunk-KKJLIRJU.js +0 -7
  158. package/dist/dev/chunk-KKJLIRJU.js.map +0 -7
  159. package/dist/dev/chunk-LEJJ2YZY.js +0 -18711
  160. package/dist/dev/chunk-LEJJ2YZY.js.map +0 -7
  161. package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
  162. package/dist/prod/chunk-IUH5AXLB.js +0 -12
  163. package/dist/prod/chunk-QUX7WTVH.js +0 -7
  164. package/dist/prod/chunk-RQK6WG4F.js +0 -33
  165. package/dist/prod/data/image-UQDATCXC.js +0 -1
  166. package/dist/types/element/src/Shape.d.ts +0 -17
  167. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  168. package/dist/types/element/src/shapes.d.ts +0 -23
  169. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  170. package/dist/types/excalidraw/store.d.ts +0 -129
  171. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  172. package/dist/types/utils/src/collision.d.ts +0 -8
  173. /package/dist/dev/data/{image-U2IPNUKJ.js.map → image-WMAXQLTI.js.map} +0 -0
  174. /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -18,7 +18,7 @@ export declare const actionChangeProjectName: {
18
18
  errorMessage: import("react").ReactNode;
19
19
  activeEmbeddable: {
20
20
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "hover" | "active";
21
+ state: "active" | "hover";
22
22
  } | null;
23
23
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
24
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -26,7 +26,7 @@ export declare const actionChangeProjectName: {
26
26
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
27
  isBindingEnabled: boolean;
28
28
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
29
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
30
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
31
  frameRendering: {
32
32
  enabled: boolean;
@@ -37,7 +37,6 @@ export declare const actionChangeProjectName: {
37
37
  editingFrame: string | null;
38
38
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
39
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
41
40
  activeTool: {
42
41
  lastActiveTool: import("../types").ActiveTool | null;
43
42
  locked: boolean;
@@ -74,7 +73,7 @@ export declare const actionChangeProjectName: {
74
73
  zoom: Readonly<{
75
74
  value: import("../types").NormalizedZoomValue;
76
75
  }>;
77
- openMenu: "shape" | "canvas" | null;
76
+ openMenu: "canvas" | "shape" | null;
78
77
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
78
  openSidebar: {
80
79
  name: string;
@@ -84,7 +83,7 @@ export declare const actionChangeProjectName: {
84
83
  name: "imageExport" | "help" | "jsonExport";
85
84
  } | {
86
85
  name: "ttd";
87
- tab: "text-to-diagram" | "mermaid";
86
+ tab: "mermaid" | "text-to-diagram";
88
87
  } | {
89
88
  name: "commandPalette";
90
89
  } | {
@@ -156,9 +155,8 @@ export declare const actionChangeProjectName: {
156
155
  shown: true;
157
156
  data: import("../charts").Spreadsheet;
158
157
  };
159
- pendingImageElementId: string | null;
160
158
  showHyperlinkPopup: false | "editor" | "info";
161
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
159
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
162
160
  snapLines: readonly import("../snapping").SnapLine[];
163
161
  originSnapOffset: {
164
162
  x: number;
@@ -169,16 +167,14 @@ export declare const actionChangeProjectName: {
169
167
  followedBy: Set<import("../types").SocketId>;
170
168
  isCropping: boolean;
171
169
  croppingElementId: string | null;
172
- searchMatches: readonly {
173
- id: string;
174
- focus: boolean;
175
- matchedLines: {
176
- offsetX: number;
177
- offsetY: number;
178
- width: number;
179
- height: number;
180
- }[];
181
- }[];
170
+ searchMatches: Readonly<{
171
+ focusedId: string | null;
172
+ matches: readonly import("../types").SearchMatch[];
173
+ }> | null;
174
+ activeLockedId: string | null;
175
+ lockedMultiSelections: {
176
+ [groupId: string]: true;
177
+ };
182
178
  };
183
179
  captureUpdate: "EVENTUALLY";
184
180
  };
@@ -206,7 +202,7 @@ export declare const actionChangeExportScale: {
206
202
  errorMessage: import("react").ReactNode;
207
203
  activeEmbeddable: {
208
204
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
209
- state: "hover" | "active";
205
+ state: "active" | "hover";
210
206
  } | null;
211
207
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
212
208
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -214,7 +210,7 @@ export declare const actionChangeExportScale: {
214
210
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
215
211
  isBindingEnabled: boolean;
216
212
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
217
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
213
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
218
214
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
219
215
  frameRendering: {
220
216
  enabled: boolean;
@@ -225,7 +221,6 @@ export declare const actionChangeExportScale: {
225
221
  editingFrame: string | null;
226
222
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
227
223
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
228
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
229
224
  activeTool: {
230
225
  lastActiveTool: import("../types").ActiveTool | null;
231
226
  locked: boolean;
@@ -262,7 +257,7 @@ export declare const actionChangeExportScale: {
262
257
  zoom: Readonly<{
263
258
  value: import("../types").NormalizedZoomValue;
264
259
  }>;
265
- openMenu: "shape" | "canvas" | null;
260
+ openMenu: "canvas" | "shape" | null;
266
261
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
267
262
  openSidebar: {
268
263
  name: string;
@@ -272,7 +267,7 @@ export declare const actionChangeExportScale: {
272
267
  name: "imageExport" | "help" | "jsonExport";
273
268
  } | {
274
269
  name: "ttd";
275
- tab: "text-to-diagram" | "mermaid";
270
+ tab: "mermaid" | "text-to-diagram";
276
271
  } | {
277
272
  name: "commandPalette";
278
273
  } | {
@@ -344,9 +339,8 @@ export declare const actionChangeExportScale: {
344
339
  shown: true;
345
340
  data: import("../charts").Spreadsheet;
346
341
  };
347
- pendingImageElementId: string | null;
348
342
  showHyperlinkPopup: false | "editor" | "info";
349
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
343
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
350
344
  snapLines: readonly import("../snapping").SnapLine[];
351
345
  originSnapOffset: {
352
346
  x: number;
@@ -357,16 +351,14 @@ export declare const actionChangeExportScale: {
357
351
  followedBy: Set<import("../types").SocketId>;
358
352
  isCropping: boolean;
359
353
  croppingElementId: string | null;
360
- searchMatches: readonly {
361
- id: string;
362
- focus: boolean;
363
- matchedLines: {
364
- offsetX: number;
365
- offsetY: number;
366
- width: number;
367
- height: number;
368
- }[];
369
- }[];
354
+ searchMatches: Readonly<{
355
+ focusedId: string | null;
356
+ matches: readonly import("../types").SearchMatch[];
357
+ }> | null;
358
+ activeLockedId: string | null;
359
+ lockedMultiSelections: {
360
+ [groupId: string]: true;
361
+ };
370
362
  };
371
363
  captureUpdate: "EVENTUALLY";
372
364
  };
@@ -394,7 +386,7 @@ export declare const actionChangeExportBackground: {
394
386
  errorMessage: import("react").ReactNode;
395
387
  activeEmbeddable: {
396
388
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
397
- state: "hover" | "active";
389
+ state: "active" | "hover";
398
390
  } | null;
399
391
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
400
392
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -402,7 +394,7 @@ export declare const actionChangeExportBackground: {
402
394
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
403
395
  isBindingEnabled: boolean;
404
396
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
405
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
397
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
406
398
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
407
399
  frameRendering: {
408
400
  enabled: boolean;
@@ -413,7 +405,6 @@ export declare const actionChangeExportBackground: {
413
405
  editingFrame: string | null;
414
406
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
415
407
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
416
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
417
408
  activeTool: {
418
409
  lastActiveTool: import("../types").ActiveTool | null;
419
410
  locked: boolean;
@@ -450,7 +441,7 @@ export declare const actionChangeExportBackground: {
450
441
  zoom: Readonly<{
451
442
  value: import("../types").NormalizedZoomValue;
452
443
  }>;
453
- openMenu: "shape" | "canvas" | null;
444
+ openMenu: "canvas" | "shape" | null;
454
445
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
455
446
  openSidebar: {
456
447
  name: string;
@@ -460,7 +451,7 @@ export declare const actionChangeExportBackground: {
460
451
  name: "imageExport" | "help" | "jsonExport";
461
452
  } | {
462
453
  name: "ttd";
463
- tab: "text-to-diagram" | "mermaid";
454
+ tab: "mermaid" | "text-to-diagram";
464
455
  } | {
465
456
  name: "commandPalette";
466
457
  } | {
@@ -532,9 +523,8 @@ export declare const actionChangeExportBackground: {
532
523
  shown: true;
533
524
  data: import("../charts").Spreadsheet;
534
525
  };
535
- pendingImageElementId: string | null;
536
526
  showHyperlinkPopup: false | "editor" | "info";
537
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
527
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
538
528
  snapLines: readonly import("../snapping").SnapLine[];
539
529
  originSnapOffset: {
540
530
  x: number;
@@ -545,16 +535,14 @@ export declare const actionChangeExportBackground: {
545
535
  followedBy: Set<import("../types").SocketId>;
546
536
  isCropping: boolean;
547
537
  croppingElementId: string | null;
548
- searchMatches: readonly {
549
- id: string;
550
- focus: boolean;
551
- matchedLines: {
552
- offsetX: number;
553
- offsetY: number;
554
- width: number;
555
- height: number;
556
- }[];
557
- }[];
538
+ searchMatches: Readonly<{
539
+ focusedId: string | null;
540
+ matches: readonly import("../types").SearchMatch[];
541
+ }> | null;
542
+ activeLockedId: string | null;
543
+ lockedMultiSelections: {
544
+ [groupId: string]: true;
545
+ };
558
546
  };
559
547
  captureUpdate: "EVENTUALLY";
560
548
  };
@@ -582,7 +570,7 @@ export declare const actionChangeExportEmbedScene: {
582
570
  errorMessage: import("react").ReactNode;
583
571
  activeEmbeddable: {
584
572
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
585
- state: "hover" | "active";
573
+ state: "active" | "hover";
586
574
  } | null;
587
575
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
588
576
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -590,7 +578,7 @@ export declare const actionChangeExportEmbedScene: {
590
578
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
591
579
  isBindingEnabled: boolean;
592
580
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
593
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
581
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
594
582
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
595
583
  frameRendering: {
596
584
  enabled: boolean;
@@ -601,7 +589,6 @@ export declare const actionChangeExportEmbedScene: {
601
589
  editingFrame: string | null;
602
590
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
603
591
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
604
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
605
592
  activeTool: {
606
593
  lastActiveTool: import("../types").ActiveTool | null;
607
594
  locked: boolean;
@@ -638,7 +625,7 @@ export declare const actionChangeExportEmbedScene: {
638
625
  zoom: Readonly<{
639
626
  value: import("../types").NormalizedZoomValue;
640
627
  }>;
641
- openMenu: "shape" | "canvas" | null;
628
+ openMenu: "canvas" | "shape" | null;
642
629
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
643
630
  openSidebar: {
644
631
  name: string;
@@ -648,7 +635,7 @@ export declare const actionChangeExportEmbedScene: {
648
635
  name: "imageExport" | "help" | "jsonExport";
649
636
  } | {
650
637
  name: "ttd";
651
- tab: "text-to-diagram" | "mermaid";
638
+ tab: "mermaid" | "text-to-diagram";
652
639
  } | {
653
640
  name: "commandPalette";
654
641
  } | {
@@ -720,9 +707,8 @@ export declare const actionChangeExportEmbedScene: {
720
707
  shown: true;
721
708
  data: import("../charts").Spreadsheet;
722
709
  };
723
- pendingImageElementId: string | null;
724
710
  showHyperlinkPopup: false | "editor" | "info";
725
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
711
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
726
712
  snapLines: readonly import("../snapping").SnapLine[];
727
713
  originSnapOffset: {
728
714
  x: number;
@@ -733,16 +719,14 @@ export declare const actionChangeExportEmbedScene: {
733
719
  followedBy: Set<import("../types").SocketId>;
734
720
  isCropping: boolean;
735
721
  croppingElementId: string | null;
736
- searchMatches: readonly {
737
- id: string;
738
- focus: boolean;
739
- matchedLines: {
740
- offsetX: number;
741
- offsetY: number;
742
- width: number;
743
- height: number;
744
- }[];
745
- }[];
722
+ searchMatches: Readonly<{
723
+ focusedId: string | null;
724
+ matches: readonly import("../types").SearchMatch[];
725
+ }> | null;
726
+ activeLockedId: string | null;
727
+ lockedMultiSelections: {
728
+ [groupId: string]: true;
729
+ };
746
730
  };
747
731
  captureUpdate: "EVENTUALLY";
748
732
  };
@@ -775,7 +759,7 @@ export declare const actionSaveToActiveFile: {
775
759
  errorMessage: import("react").ReactNode;
776
760
  activeEmbeddable: {
777
761
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
778
- state: "hover" | "active";
762
+ state: "active" | "hover";
779
763
  } | null;
780
764
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
781
765
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -783,7 +767,7 @@ export declare const actionSaveToActiveFile: {
783
767
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
784
768
  isBindingEnabled: boolean;
785
769
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
786
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
770
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
787
771
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
788
772
  frameRendering: {
789
773
  enabled: boolean;
@@ -794,7 +778,6 @@ export declare const actionSaveToActiveFile: {
794
778
  editingFrame: string | null;
795
779
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
796
780
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
797
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
798
781
  activeTool: {
799
782
  lastActiveTool: import("../types").ActiveTool | null;
800
783
  locked: boolean;
@@ -832,7 +815,7 @@ export declare const actionSaveToActiveFile: {
832
815
  zoom: Readonly<{
833
816
  value: import("../types").NormalizedZoomValue;
834
817
  }>;
835
- openMenu: "shape" | "canvas" | null;
818
+ openMenu: "canvas" | "shape" | null;
836
819
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
837
820
  openSidebar: {
838
821
  name: string;
@@ -842,7 +825,7 @@ export declare const actionSaveToActiveFile: {
842
825
  name: "imageExport" | "help" | "jsonExport";
843
826
  } | {
844
827
  name: "ttd";
845
- tab: "text-to-diagram" | "mermaid";
828
+ tab: "mermaid" | "text-to-diagram";
846
829
  } | {
847
830
  name: "commandPalette";
848
831
  } | {
@@ -908,9 +891,8 @@ export declare const actionSaveToActiveFile: {
908
891
  shown: true;
909
892
  data: import("../charts").Spreadsheet;
910
893
  };
911
- pendingImageElementId: string | null;
912
894
  showHyperlinkPopup: false | "editor" | "info";
913
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
895
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
914
896
  snapLines: readonly import("../snapping").SnapLine[];
915
897
  originSnapOffset: {
916
898
  x: number;
@@ -921,16 +903,14 @@ export declare const actionSaveToActiveFile: {
921
903
  followedBy: Set<import("../types").SocketId>;
922
904
  isCropping: boolean;
923
905
  croppingElementId: string | null;
924
- searchMatches: readonly {
925
- id: string;
926
- focus: boolean;
927
- matchedLines: {
928
- offsetX: number;
929
- offsetY: number;
930
- width: number;
931
- height: number;
932
- }[];
933
- }[];
906
+ searchMatches: Readonly<{
907
+ focusedId: string | null;
908
+ matches: readonly import("../types").SearchMatch[];
909
+ }> | null;
910
+ activeLockedId: string | null;
911
+ lockedMultiSelections: {
912
+ [groupId: string]: true;
913
+ };
934
914
  };
935
915
  } | {
936
916
  captureUpdate: "EVENTUALLY";
@@ -966,7 +946,7 @@ export declare const actionSaveFileToDisk: {
966
946
  errorMessage: import("react").ReactNode;
967
947
  activeEmbeddable: {
968
948
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
969
- state: "hover" | "active";
949
+ state: "active" | "hover";
970
950
  } | null;
971
951
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
972
952
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -974,7 +954,7 @@ export declare const actionSaveFileToDisk: {
974
954
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
975
955
  isBindingEnabled: boolean;
976
956
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
977
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
957
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
978
958
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
979
959
  frameRendering: {
980
960
  enabled: boolean;
@@ -985,7 +965,6 @@ export declare const actionSaveFileToDisk: {
985
965
  editingFrame: string | null;
986
966
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
987
967
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
988
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
989
968
  activeTool: {
990
969
  lastActiveTool: import("../types").ActiveTool | null;
991
970
  locked: boolean;
@@ -1023,7 +1002,7 @@ export declare const actionSaveFileToDisk: {
1023
1002
  zoom: Readonly<{
1024
1003
  value: import("../types").NormalizedZoomValue;
1025
1004
  }>;
1026
- openMenu: "shape" | "canvas" | null;
1005
+ openMenu: "canvas" | "shape" | null;
1027
1006
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1028
1007
  openSidebar: {
1029
1008
  name: string;
@@ -1088,9 +1067,8 @@ export declare const actionSaveFileToDisk: {
1088
1067
  shown: true;
1089
1068
  data: import("../charts").Spreadsheet;
1090
1069
  };
1091
- pendingImageElementId: string | null;
1092
1070
  showHyperlinkPopup: false | "editor" | "info";
1093
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1071
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1094
1072
  snapLines: readonly import("../snapping").SnapLine[];
1095
1073
  originSnapOffset: {
1096
1074
  x: number;
@@ -1101,16 +1079,14 @@ export declare const actionSaveFileToDisk: {
1101
1079
  followedBy: Set<import("../types").SocketId>;
1102
1080
  isCropping: boolean;
1103
1081
  croppingElementId: string | null;
1104
- searchMatches: readonly {
1105
- id: string;
1106
- focus: boolean;
1107
- matchedLines: {
1108
- offsetX: number;
1109
- offsetY: number;
1110
- width: number;
1111
- height: number;
1112
- }[];
1113
- }[];
1082
+ searchMatches: Readonly<{
1083
+ focusedId: string | null;
1084
+ matches: readonly import("../types").SearchMatch[];
1085
+ }> | null;
1086
+ activeLockedId: string | null;
1087
+ lockedMultiSelections: {
1088
+ [groupId: string]: true;
1089
+ };
1114
1090
  };
1115
1091
  } | {
1116
1092
  captureUpdate: "EVENTUALLY";
@@ -1149,7 +1125,7 @@ export declare const actionLoadScene: {
1149
1125
  name: "imageExport" | "help" | "jsonExport";
1150
1126
  } | {
1151
1127
  name: "ttd";
1152
- tab: "text-to-diagram" | "mermaid";
1128
+ tab: "mermaid" | "text-to-diagram";
1153
1129
  } | {
1154
1130
  name: "commandPalette";
1155
1131
  } | {
@@ -1162,20 +1138,18 @@ export declare const actionLoadScene: {
1162
1138
  }>;
1163
1139
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1164
1140
  theme: Theme;
1165
- pendingImageElementId: string | null;
1166
1141
  activeEmbeddable: {
1167
1142
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1168
- state: "hover" | "active";
1143
+ state: "active" | "hover";
1169
1144
  } | null;
1170
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1171
1145
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1172
1146
  selectedGroupIds: {
1173
1147
  [groupId: string]: boolean;
1174
1148
  };
1175
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1149
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1176
1150
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1177
1151
  isBindingEnabled: boolean;
1178
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1152
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1179
1153
  isRotating: boolean;
1180
1154
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1181
1155
  collaborators: Map<import("../types").SocketId, Readonly<{
@@ -1203,27 +1177,11 @@ export declare const actionLoadScene: {
1203
1177
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1204
1178
  isCropping: boolean;
1205
1179
  croppingElementId: string | null;
1206
- searchMatches: readonly {
1207
- id: string;
1208
- focus: boolean;
1209
- matchedLines: {
1210
- offsetX: number;
1211
- offsetY: number;
1212
- width: number;
1213
- height: number;
1214
- }[];
1215
- }[];
1216
- gridModeEnabled: boolean;
1217
- objectsSnapModeEnabled: boolean;
1218
- shouldCacheIgnoreZoom: boolean;
1219
- exportScale: number;
1220
- selectedElementsAreBeingDragged: boolean;
1221
- gridSize: number;
1222
- gridStep: number;
1223
- currentHoveredFontFamily: number | null;
1224
- hoveredElementIds: Readonly<{
1225
- [id: string]: true;
1226
- }>;
1180
+ searchMatches: Readonly<{
1181
+ focusedId: string | null;
1182
+ matches: readonly import("../types").SearchMatch[];
1183
+ }> | null;
1184
+ activeLockedId: string | null;
1227
1185
  contextMenu: {
1228
1186
  items: import("../components/ContextMenu").ContextMenuItems;
1229
1187
  top: number;
@@ -1246,6 +1204,7 @@ export declare const actionLoadScene: {
1246
1204
  exportBackground: boolean;
1247
1205
  exportEmbedScene: boolean;
1248
1206
  exportWithDarkMode: boolean;
1207
+ exportScale: number;
1249
1208
  currentItemStrokeColor: string;
1250
1209
  currentItemBackgroundColor: string;
1251
1210
  currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
@@ -1258,12 +1217,13 @@ export declare const actionLoadScene: {
1258
1217
  currentItemTextAlign: string;
1259
1218
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1260
1219
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1220
+ currentHoveredFontFamily: number | null;
1261
1221
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1262
1222
  currentItemArrowType: "round" | "sharp" | "elbow";
1263
1223
  cursorButton: "up" | "down";
1264
1224
  scrolledOutside: boolean;
1265
1225
  isResizing: boolean;
1266
- openMenu: "shape" | "canvas" | null;
1226
+ openMenu: "canvas" | "shape" | null;
1267
1227
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1268
1228
  openSidebar: {
1269
1229
  name: string;
@@ -1271,14 +1231,22 @@ export declare const actionLoadScene: {
1271
1231
  } | null;
1272
1232
  defaultSidebarDockedPreference: boolean;
1273
1233
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1234
+ hoveredElementIds: Readonly<{
1235
+ [id: string]: true;
1236
+ }>;
1274
1237
  previousSelectedElementIds: {
1275
1238
  [id: string]: true;
1276
1239
  };
1240
+ selectedElementsAreBeingDragged: boolean;
1241
+ shouldCacheIgnoreZoom: boolean;
1277
1242
  toast: {
1278
1243
  message: string;
1279
1244
  closable?: boolean | undefined;
1280
1245
  duration?: number | undefined;
1281
1246
  } | null;
1247
+ gridSize: number;
1248
+ gridStep: number;
1249
+ gridModeEnabled: boolean;
1282
1250
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1283
1251
  stats: {
1284
1252
  open: boolean;
@@ -1297,8 +1265,12 @@ export declare const actionLoadScene: {
1297
1265
  x: number;
1298
1266
  y: number;
1299
1267
  } | null;
1268
+ objectsSnapModeEnabled: boolean;
1300
1269
  userToFollow: import("../types").UserToFollow | null;
1301
1270
  followedBy: Set<import("../types").SocketId>;
1271
+ lockedMultiSelections: {
1272
+ [groupId: string]: true;
1273
+ };
1302
1274
  };
1303
1275
  files: import("../types").BinaryFiles;
1304
1276
  captureUpdate: "IMMEDIATELY";
@@ -1315,7 +1287,7 @@ export declare const actionLoadScene: {
1315
1287
  isLoading: boolean;
1316
1288
  activeEmbeddable: {
1317
1289
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1318
- state: "hover" | "active";
1290
+ state: "active" | "hover";
1319
1291
  } | null;
1320
1292
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1321
1293
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1323,7 +1295,7 @@ export declare const actionLoadScene: {
1323
1295
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1324
1296
  isBindingEnabled: boolean;
1325
1297
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1326
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1298
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1327
1299
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1328
1300
  frameRendering: {
1329
1301
  enabled: boolean;
@@ -1334,7 +1306,6 @@ export declare const actionLoadScene: {
1334
1306
  editingFrame: string | null;
1335
1307
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1336
1308
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1337
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1338
1309
  activeTool: {
1339
1310
  lastActiveTool: import("../types").ActiveTool | null;
1340
1311
  locked: boolean;
@@ -1372,7 +1343,7 @@ export declare const actionLoadScene: {
1372
1343
  zoom: Readonly<{
1373
1344
  value: import("../types").NormalizedZoomValue;
1374
1345
  }>;
1375
- openMenu: "shape" | "canvas" | null;
1346
+ openMenu: "canvas" | "shape" | null;
1376
1347
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1377
1348
  openSidebar: {
1378
1349
  name: string;
@@ -1382,7 +1353,7 @@ export declare const actionLoadScene: {
1382
1353
  name: "imageExport" | "help" | "jsonExport";
1383
1354
  } | {
1384
1355
  name: "ttd";
1385
- tab: "text-to-diagram" | "mermaid";
1356
+ tab: "mermaid" | "text-to-diagram";
1386
1357
  } | {
1387
1358
  name: "commandPalette";
1388
1359
  } | {
@@ -1454,9 +1425,8 @@ export declare const actionLoadScene: {
1454
1425
  shown: true;
1455
1426
  data: import("../charts").Spreadsheet;
1456
1427
  };
1457
- pendingImageElementId: string | null;
1458
1428
  showHyperlinkPopup: false | "editor" | "info";
1459
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1429
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1460
1430
  snapLines: readonly import("../snapping").SnapLine[];
1461
1431
  originSnapOffset: {
1462
1432
  x: number;
@@ -1467,16 +1437,14 @@ export declare const actionLoadScene: {
1467
1437
  followedBy: Set<import("../types").SocketId>;
1468
1438
  isCropping: boolean;
1469
1439
  croppingElementId: string | null;
1470
- searchMatches: readonly {
1471
- id: string;
1472
- focus: boolean;
1473
- matchedLines: {
1474
- offsetX: number;
1475
- offsetY: number;
1476
- width: number;
1477
- height: number;
1478
- }[];
1479
- }[];
1440
+ searchMatches: Readonly<{
1441
+ focusedId: string | null;
1442
+ matches: readonly import("../types").SearchMatch[];
1443
+ }> | null;
1444
+ activeLockedId: string | null;
1445
+ lockedMultiSelections: {
1446
+ [groupId: string]: true;
1447
+ };
1480
1448
  };
1481
1449
  files: import("../types").BinaryFiles;
1482
1450
  captureUpdate: "EVENTUALLY";
@@ -1505,7 +1473,7 @@ export declare const actionExportWithDarkMode: {
1505
1473
  errorMessage: import("react").ReactNode;
1506
1474
  activeEmbeddable: {
1507
1475
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1508
- state: "hover" | "active";
1476
+ state: "active" | "hover";
1509
1477
  } | null;
1510
1478
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1511
1479
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1513,7 +1481,7 @@ export declare const actionExportWithDarkMode: {
1513
1481
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1514
1482
  isBindingEnabled: boolean;
1515
1483
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1516
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1484
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1517
1485
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1518
1486
  frameRendering: {
1519
1487
  enabled: boolean;
@@ -1524,7 +1492,6 @@ export declare const actionExportWithDarkMode: {
1524
1492
  editingFrame: string | null;
1525
1493
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1526
1494
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1527
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1528
1495
  activeTool: {
1529
1496
  lastActiveTool: import("../types").ActiveTool | null;
1530
1497
  locked: boolean;
@@ -1561,7 +1528,7 @@ export declare const actionExportWithDarkMode: {
1561
1528
  zoom: Readonly<{
1562
1529
  value: import("../types").NormalizedZoomValue;
1563
1530
  }>;
1564
- openMenu: "shape" | "canvas" | null;
1531
+ openMenu: "canvas" | "shape" | null;
1565
1532
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1566
1533
  openSidebar: {
1567
1534
  name: string;
@@ -1571,7 +1538,7 @@ export declare const actionExportWithDarkMode: {
1571
1538
  name: "imageExport" | "help" | "jsonExport";
1572
1539
  } | {
1573
1540
  name: "ttd";
1574
- tab: "text-to-diagram" | "mermaid";
1541
+ tab: "mermaid" | "text-to-diagram";
1575
1542
  } | {
1576
1543
  name: "commandPalette";
1577
1544
  } | {
@@ -1643,9 +1610,8 @@ export declare const actionExportWithDarkMode: {
1643
1610
  shown: true;
1644
1611
  data: import("../charts").Spreadsheet;
1645
1612
  };
1646
- pendingImageElementId: string | null;
1647
1613
  showHyperlinkPopup: false | "editor" | "info";
1648
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1614
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1649
1615
  snapLines: readonly import("../snapping").SnapLine[];
1650
1616
  originSnapOffset: {
1651
1617
  x: number;
@@ -1656,16 +1622,14 @@ export declare const actionExportWithDarkMode: {
1656
1622
  followedBy: Set<import("../types").SocketId>;
1657
1623
  isCropping: boolean;
1658
1624
  croppingElementId: string | null;
1659
- searchMatches: readonly {
1660
- id: string;
1661
- focus: boolean;
1662
- matchedLines: {
1663
- offsetX: number;
1664
- offsetY: number;
1665
- width: number;
1666
- height: number;
1667
- }[];
1668
- }[];
1625
+ searchMatches: Readonly<{
1626
+ focusedId: string | null;
1627
+ matches: readonly import("../types").SearchMatch[];
1628
+ }> | null;
1629
+ activeLockedId: string | null;
1630
+ lockedMultiSelections: {
1631
+ [groupId: string]: true;
1632
+ };
1669
1633
  };
1670
1634
  captureUpdate: "EVENTUALLY";
1671
1635
  };