@excalidraw/excalidraw 0.18.0-6fc8502 → 0.18.0-864353b

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 (164) hide show
  1. package/dist/dev/{chunk-X3RYHLJU.js → chunk-7YMZV3TY.js} +14 -4
  2. package/dist/dev/chunk-7YMZV3TY.js.map +7 -0
  3. package/dist/dev/chunk-BBNNHA7I.js +7 -0
  4. package/dist/dev/chunk-BBNNHA7I.js.map +7 -0
  5. package/dist/dev/{chunk-KYBDXI6F.js → chunk-LL55DS44.js} +15037 -10099
  6. package/dist/dev/chunk-LL55DS44.js.map +7 -0
  7. package/dist/dev/data/{image-NKFINVKH.js → image-OFYK7EOY.js} +3 -3
  8. package/dist/dev/index.css +100 -22
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +3531 -6486
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-CKWC2GMK.js → en-KIY5SGI3.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-F44EGBV2.js +33 -0
  16. package/dist/prod/{chunk-IUH5AXLB.js → chunk-OUULIERA.js} +4 -4
  17. package/dist/prod/chunk-UH6Q3EIV.js +7 -0
  18. package/dist/prod/data/image-CUOH64HE.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +18 -17
  21. package/dist/prod/locales/{en-SBO6ZHT2.js → en-GCLCIHXH.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 +11 -1
  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 +22 -4
  30. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
  31. package/dist/types/element/src/ShapeCache.d.ts +1 -1
  32. package/dist/types/element/src/align.d.ts +3 -3
  33. package/dist/types/element/src/binding.d.ts +19 -12
  34. package/dist/types/element/src/bounds.d.ts +2 -2
  35. package/dist/types/element/src/collision.d.ts +1 -1
  36. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
  37. package/dist/types/element/src/dragElements.d.ts +3 -2
  38. package/dist/types/element/src/duplicate.d.ts +10 -13
  39. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  40. package/dist/types/element/src/flowchart.d.ts +3 -2
  41. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  42. package/dist/types/element/src/frame.d.ts +5 -4
  43. package/dist/types/element/src/index.d.ts +45 -2
  44. package/dist/types/element/src/linearElementEditor.d.ts +20 -31
  45. package/dist/types/element/src/mutateElement.d.ts +10 -2
  46. package/dist/types/element/src/newElement.d.ts +4 -3
  47. package/dist/types/element/src/resizeElements.d.ts +4 -4
  48. package/dist/types/element/src/selection.d.ts +11 -5
  49. package/dist/types/element/src/shapes.d.ts +5 -1
  50. package/dist/types/element/src/sizeHelpers.d.ts +2 -2
  51. package/dist/types/element/src/store.d.ts +227 -0
  52. package/dist/types/element/src/textElement.d.ts +5 -3
  53. package/dist/types/element/src/transformHandles.d.ts +4 -4
  54. package/dist/types/element/src/typeChecks.d.ts +15 -1
  55. package/dist/types/element/src/types.d.ts +14 -1
  56. package/dist/types/element/src/zindex.d.ts +1 -1
  57. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +39 -45
  58. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  59. package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -30
  60. package/dist/types/excalidraw/actions/actionCanvas.d.ts +262 -288
  61. package/dist/types/excalidraw/actions/actionClipboard.d.ts +81 -92
  62. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -15
  63. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +38 -43
  64. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  65. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  66. package/dist/types/excalidraw/actions/actionElementLink.d.ts +13 -15
  67. package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -46
  68. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -15
  69. package/dist/types/excalidraw/actions/actionExport.d.ts +210 -228
  70. package/dist/types/excalidraw/actions/actionFinalize.d.ts +72 -36
  71. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  72. package/dist/types/excalidraw/actions/actionFrame.d.ts +96 -104
  73. package/dist/types/excalidraw/actions/actionGroup.d.ts +32 -36
  74. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  75. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +505 -14
  76. package/dist/types/excalidraw/actions/actionLink.d.ts +13 -15
  77. package/dist/types/excalidraw/actions/actionMenu.d.ts +39 -45
  78. package/dist/types/excalidraw/actions/actionNavigate.d.ts +25 -29
  79. package/dist/types/excalidraw/actions/actionProperties.d.ts +192 -214
  80. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -17
  81. package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -19
  82. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -17
  83. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -17
  84. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +15 -190
  85. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  86. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -17
  87. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -17
  88. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -17
  89. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  90. package/dist/types/excalidraw/actions/types.d.ts +4 -3
  91. package/dist/types/excalidraw/appState.d.ts +38 -29
  92. package/dist/types/excalidraw/components/App.d.ts +24 -11
  93. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  94. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  95. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  96. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  97. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  98. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  99. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  100. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  101. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  102. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  104. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  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 +1 -1
  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/blob.d.ts +1 -1
  126. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  127. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  128. package/dist/types/excalidraw/eraser/index.d.ts +14 -0
  129. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  130. package/dist/types/excalidraw/history.d.ts +14 -22
  131. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  132. package/dist/types/excalidraw/index.d.ts +9 -9
  133. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  134. package/dist/types/excalidraw/lasso/utils.d.ts +1 -2
  135. package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
  136. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
  137. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  138. package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
  139. package/dist/types/excalidraw/scene/types.d.ts +2 -0
  140. package/dist/types/excalidraw/snapping.d.ts +2 -2
  141. package/dist/types/excalidraw/types.d.ts +28 -6
  142. package/dist/types/excalidraw/visualdebug.d.ts +1 -1
  143. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  144. package/dist/types/math/src/angle.d.ts +2 -0
  145. package/dist/types/math/src/curve.d.ts +2 -0
  146. package/dist/types/math/src/point.d.ts +1 -1
  147. package/dist/types/math/src/types.d.ts +1 -0
  148. package/dist/types/math/src/vector.d.ts +4 -0
  149. package/dist/types/utils/src/bbox.d.ts +1 -1
  150. package/dist/types/utils/src/index.d.ts +1 -1
  151. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  152. package/history.ts +68 -94
  153. package/package.json +3 -3
  154. package/dist/dev/chunk-H7XJ5UVD.js +0 -7
  155. package/dist/dev/chunk-H7XJ5UVD.js.map +0 -7
  156. package/dist/dev/chunk-KYBDXI6F.js.map +0 -7
  157. package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
  158. package/dist/prod/chunk-CAN5RS4P.js +0 -31
  159. package/dist/prod/chunk-KJYFYP64.js +0 -7
  160. package/dist/prod/data/image-5XD47O4X.js +0 -1
  161. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  162. package/dist/types/excalidraw/store.d.ts +0 -129
  163. /package/dist/dev/data/{image-NKFINVKH.js.map → image-OFYK7EOY.js.map} +0 -0
  164. /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-KIY5SGI3.js.map} +0 -0
@@ -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,7 @@ 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;
40
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
41
41
  activeTool: {
42
42
  lastActiveTool: import("../types").ActiveTool | null;
43
43
  locked: boolean;
@@ -74,7 +74,7 @@ export declare const actionChangeProjectName: {
74
74
  zoom: Readonly<{
75
75
  value: import("../types").NormalizedZoomValue;
76
76
  }>;
77
- openMenu: "shape" | "canvas" | null;
77
+ openMenu: "canvas" | "shape" | null;
78
78
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
79
  openSidebar: {
80
80
  name: string;
@@ -157,8 +157,8 @@ export declare const actionChangeProjectName: {
157
157
  data: import("../charts").Spreadsheet;
158
158
  };
159
159
  pendingImageElementId: string | null;
160
- showHyperlinkPopup: false | "editor" | "info";
161
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
160
+ showHyperlinkPopup: false | "info" | "editor";
161
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
162
162
  snapLines: readonly import("../snapping").SnapLine[];
163
163
  originSnapOffset: {
164
164
  x: number;
@@ -169,16 +169,14 @@ export declare const actionChangeProjectName: {
169
169
  followedBy: Set<import("../types").SocketId>;
170
170
  isCropping: boolean;
171
171
  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
- }[];
172
+ searchMatches: Readonly<{
173
+ focusedId: string | null;
174
+ matches: readonly import("../types").SearchMatch[];
175
+ }> | null;
176
+ activeLockedId: string | null;
177
+ lockedMultiSelections: {
178
+ [groupId: string]: true;
179
+ };
182
180
  };
183
181
  captureUpdate: "EVENTUALLY";
184
182
  };
@@ -214,7 +212,7 @@ export declare const actionChangeExportScale: {
214
212
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
215
213
  isBindingEnabled: boolean;
216
214
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
217
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
215
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
218
216
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
219
217
  frameRendering: {
220
218
  enabled: boolean;
@@ -225,7 +223,7 @@ export declare const actionChangeExportScale: {
225
223
  editingFrame: string | null;
226
224
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
227
225
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
228
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
226
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
229
227
  activeTool: {
230
228
  lastActiveTool: import("../types").ActiveTool | null;
231
229
  locked: boolean;
@@ -262,7 +260,7 @@ export declare const actionChangeExportScale: {
262
260
  zoom: Readonly<{
263
261
  value: import("../types").NormalizedZoomValue;
264
262
  }>;
265
- openMenu: "shape" | "canvas" | null;
263
+ openMenu: "canvas" | "shape" | null;
266
264
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
267
265
  openSidebar: {
268
266
  name: string;
@@ -345,8 +343,8 @@ export declare const actionChangeExportScale: {
345
343
  data: import("../charts").Spreadsheet;
346
344
  };
347
345
  pendingImageElementId: string | null;
348
- showHyperlinkPopup: false | "editor" | "info";
349
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
346
+ showHyperlinkPopup: false | "info" | "editor";
347
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
350
348
  snapLines: readonly import("../snapping").SnapLine[];
351
349
  originSnapOffset: {
352
350
  x: number;
@@ -357,16 +355,14 @@ export declare const actionChangeExportScale: {
357
355
  followedBy: Set<import("../types").SocketId>;
358
356
  isCropping: boolean;
359
357
  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
- }[];
358
+ searchMatches: Readonly<{
359
+ focusedId: string | null;
360
+ matches: readonly import("../types").SearchMatch[];
361
+ }> | null;
362
+ activeLockedId: string | null;
363
+ lockedMultiSelections: {
364
+ [groupId: string]: true;
365
+ };
370
366
  };
371
367
  captureUpdate: "EVENTUALLY";
372
368
  };
@@ -402,7 +398,7 @@ export declare const actionChangeExportBackground: {
402
398
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
403
399
  isBindingEnabled: boolean;
404
400
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
405
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
401
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
406
402
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
407
403
  frameRendering: {
408
404
  enabled: boolean;
@@ -413,7 +409,7 @@ export declare const actionChangeExportBackground: {
413
409
  editingFrame: string | null;
414
410
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
415
411
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
416
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
412
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
417
413
  activeTool: {
418
414
  lastActiveTool: import("../types").ActiveTool | null;
419
415
  locked: boolean;
@@ -450,7 +446,7 @@ export declare const actionChangeExportBackground: {
450
446
  zoom: Readonly<{
451
447
  value: import("../types").NormalizedZoomValue;
452
448
  }>;
453
- openMenu: "shape" | "canvas" | null;
449
+ openMenu: "canvas" | "shape" | null;
454
450
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
455
451
  openSidebar: {
456
452
  name: string;
@@ -533,8 +529,8 @@ export declare const actionChangeExportBackground: {
533
529
  data: import("../charts").Spreadsheet;
534
530
  };
535
531
  pendingImageElementId: string | null;
536
- showHyperlinkPopup: false | "editor" | "info";
537
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
532
+ showHyperlinkPopup: false | "info" | "editor";
533
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
538
534
  snapLines: readonly import("../snapping").SnapLine[];
539
535
  originSnapOffset: {
540
536
  x: number;
@@ -545,16 +541,14 @@ export declare const actionChangeExportBackground: {
545
541
  followedBy: Set<import("../types").SocketId>;
546
542
  isCropping: boolean;
547
543
  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
- }[];
544
+ searchMatches: Readonly<{
545
+ focusedId: string | null;
546
+ matches: readonly import("../types").SearchMatch[];
547
+ }> | null;
548
+ activeLockedId: string | null;
549
+ lockedMultiSelections: {
550
+ [groupId: string]: true;
551
+ };
558
552
  };
559
553
  captureUpdate: "EVENTUALLY";
560
554
  };
@@ -590,7 +584,7 @@ export declare const actionChangeExportEmbedScene: {
590
584
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
591
585
  isBindingEnabled: boolean;
592
586
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
593
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
587
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
594
588
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
595
589
  frameRendering: {
596
590
  enabled: boolean;
@@ -601,7 +595,7 @@ export declare const actionChangeExportEmbedScene: {
601
595
  editingFrame: string | null;
602
596
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
603
597
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
604
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
598
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
605
599
  activeTool: {
606
600
  lastActiveTool: import("../types").ActiveTool | null;
607
601
  locked: boolean;
@@ -638,7 +632,7 @@ export declare const actionChangeExportEmbedScene: {
638
632
  zoom: Readonly<{
639
633
  value: import("../types").NormalizedZoomValue;
640
634
  }>;
641
- openMenu: "shape" | "canvas" | null;
635
+ openMenu: "canvas" | "shape" | null;
642
636
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
643
637
  openSidebar: {
644
638
  name: string;
@@ -721,8 +715,8 @@ export declare const actionChangeExportEmbedScene: {
721
715
  data: import("../charts").Spreadsheet;
722
716
  };
723
717
  pendingImageElementId: string | null;
724
- showHyperlinkPopup: false | "editor" | "info";
725
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
718
+ showHyperlinkPopup: false | "info" | "editor";
719
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
726
720
  snapLines: readonly import("../snapping").SnapLine[];
727
721
  originSnapOffset: {
728
722
  x: number;
@@ -733,16 +727,14 @@ export declare const actionChangeExportEmbedScene: {
733
727
  followedBy: Set<import("../types").SocketId>;
734
728
  isCropping: boolean;
735
729
  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
- }[];
730
+ searchMatches: Readonly<{
731
+ focusedId: string | null;
732
+ matches: readonly import("../types").SearchMatch[];
733
+ }> | null;
734
+ activeLockedId: string | null;
735
+ lockedMultiSelections: {
736
+ [groupId: string]: true;
737
+ };
746
738
  };
747
739
  captureUpdate: "EVENTUALLY";
748
740
  };
@@ -783,7 +775,7 @@ export declare const actionSaveToActiveFile: {
783
775
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
784
776
  isBindingEnabled: boolean;
785
777
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
786
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
778
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
787
779
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
788
780
  frameRendering: {
789
781
  enabled: boolean;
@@ -794,7 +786,7 @@ export declare const actionSaveToActiveFile: {
794
786
  editingFrame: string | null;
795
787
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
796
788
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
797
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
789
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
798
790
  activeTool: {
799
791
  lastActiveTool: import("../types").ActiveTool | null;
800
792
  locked: boolean;
@@ -832,7 +824,7 @@ export declare const actionSaveToActiveFile: {
832
824
  zoom: Readonly<{
833
825
  value: import("../types").NormalizedZoomValue;
834
826
  }>;
835
- openMenu: "shape" | "canvas" | null;
827
+ openMenu: "canvas" | "shape" | null;
836
828
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
837
829
  openSidebar: {
838
830
  name: string;
@@ -909,8 +901,8 @@ export declare const actionSaveToActiveFile: {
909
901
  data: import("../charts").Spreadsheet;
910
902
  };
911
903
  pendingImageElementId: string | null;
912
- showHyperlinkPopup: false | "editor" | "info";
913
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
904
+ showHyperlinkPopup: false | "info" | "editor";
905
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
914
906
  snapLines: readonly import("../snapping").SnapLine[];
915
907
  originSnapOffset: {
916
908
  x: number;
@@ -921,24 +913,22 @@ export declare const actionSaveToActiveFile: {
921
913
  followedBy: Set<import("../types").SocketId>;
922
914
  isCropping: boolean;
923
915
  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
- }[];
916
+ searchMatches: Readonly<{
917
+ focusedId: string | null;
918
+ matches: readonly import("../types").SearchMatch[];
919
+ }> | null;
920
+ activeLockedId: string | null;
921
+ lockedMultiSelections: {
922
+ [groupId: string]: true;
923
+ };
934
924
  };
935
925
  } | {
936
926
  captureUpdate: "EVENTUALLY";
937
927
  appState?: undefined;
938
928
  }>;
939
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
929
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
940
930
  } & {
941
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
931
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
942
932
  };
943
933
  export declare const actionSaveFileToDisk: {
944
934
  name: "saveFileToDisk";
@@ -974,7 +964,7 @@ export declare const actionSaveFileToDisk: {
974
964
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
975
965
  isBindingEnabled: boolean;
976
966
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
977
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
967
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
978
968
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
979
969
  frameRendering: {
980
970
  enabled: boolean;
@@ -985,7 +975,7 @@ export declare const actionSaveFileToDisk: {
985
975
  editingFrame: string | null;
986
976
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
987
977
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
988
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
978
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
989
979
  activeTool: {
990
980
  lastActiveTool: import("../types").ActiveTool | null;
991
981
  locked: boolean;
@@ -1023,7 +1013,7 @@ export declare const actionSaveFileToDisk: {
1023
1013
  zoom: Readonly<{
1024
1014
  value: import("../types").NormalizedZoomValue;
1025
1015
  }>;
1026
- openMenu: "shape" | "canvas" | null;
1016
+ openMenu: "canvas" | "shape" | null;
1027
1017
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1028
1018
  openSidebar: {
1029
1019
  name: string;
@@ -1089,8 +1079,8 @@ export declare const actionSaveFileToDisk: {
1089
1079
  data: import("../charts").Spreadsheet;
1090
1080
  };
1091
1081
  pendingImageElementId: string | null;
1092
- showHyperlinkPopup: false | "editor" | "info";
1093
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1082
+ showHyperlinkPopup: false | "info" | "editor";
1083
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1094
1084
  snapLines: readonly import("../snapping").SnapLine[];
1095
1085
  originSnapOffset: {
1096
1086
  x: number;
@@ -1101,25 +1091,23 @@ export declare const actionSaveFileToDisk: {
1101
1091
  followedBy: Set<import("../types").SocketId>;
1102
1092
  isCropping: boolean;
1103
1093
  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
- }[];
1094
+ searchMatches: Readonly<{
1095
+ focusedId: string | null;
1096
+ matches: readonly import("../types").SearchMatch[];
1097
+ }> | null;
1098
+ activeLockedId: string | null;
1099
+ lockedMultiSelections: {
1100
+ [groupId: string]: true;
1101
+ };
1114
1102
  };
1115
1103
  } | {
1116
1104
  captureUpdate: "EVENTUALLY";
1117
1105
  appState?: undefined;
1118
1106
  }>;
1119
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1107
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1120
1108
  PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1121
1109
  } & {
1122
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1110
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1123
1111
  };
1124
1112
  export declare const actionLoadScene: {
1125
1113
  name: "loadScene";
@@ -1131,111 +1119,44 @@ export declare const actionLoadScene: {
1131
1119
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1132
1120
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1133
1121
  appState: {
1134
- viewBackgroundColor: string;
1135
- frameRendering: {
1136
- enabled: boolean;
1137
- name: boolean;
1138
- outline: boolean;
1139
- clip: boolean;
1140
- };
1141
- name: string | null;
1142
- zoom: Readonly<{
1143
- value: import("../types").NormalizedZoomValue;
1144
- }>;
1145
- scrollX: number;
1146
- scrollY: number;
1147
- viewModeEnabled: boolean;
1148
- openDialog: {
1149
- name: "imageExport" | "help" | "jsonExport";
1150
- } | {
1151
- name: "ttd";
1152
- tab: "text-to-diagram" | "mermaid";
1153
- } | {
1154
- name: "commandPalette";
1155
- } | {
1156
- name: "elementLinkSelector";
1157
- sourceElementId: string;
1158
- } | null;
1159
- editingGroupId: string | null;
1160
- selectedElementIds: Readonly<{
1161
- [id: string]: true;
1162
- }>;
1163
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1164
- theme: Theme;
1165
- pendingImageElementId: string | null;
1166
- activeEmbeddable: {
1167
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1168
- state: "hover" | "active";
1169
- } | null;
1170
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1171
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1172
- selectedGroupIds: {
1173
- [groupId: string]: boolean;
1174
- };
1175
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1176
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1177
- isBindingEnabled: boolean;
1178
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1179
- isRotating: boolean;
1180
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1181
- collaborators: Map<import("../types").SocketId, Readonly<{
1182
- pointer?: import("../types").CollaboratorPointer | undefined;
1183
- button?: "up" | "down" | undefined;
1184
- selectedElementIds?: Readonly<{
1185
- [id: string]: true;
1186
- }> | undefined;
1187
- username?: string | null | undefined;
1188
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1189
- color?: {
1190
- background: string;
1191
- stroke: string;
1192
- } | undefined;
1193
- avatarUrl?: string | undefined;
1194
- id?: string | undefined;
1195
- socketId?: import("../types").SocketId | undefined;
1196
- isCurrentUser?: boolean | undefined;
1197
- isInCall?: boolean | undefined;
1198
- isSpeaking?: boolean | undefined;
1199
- isMuted?: boolean | undefined;
1200
- }>>;
1201
- snapLines: readonly import("../snapping").SnapLine[];
1202
- zenModeEnabled: boolean;
1203
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1204
- isCropping: boolean;
1205
- 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
- }>;
1227
1122
  contextMenu: {
1228
1123
  items: import("../components/ContextMenu").ContextMenuItems;
1229
1124
  top: number;
1230
1125
  left: number;
1231
1126
  } | null;
1127
+ stats: {
1128
+ open: boolean;
1129
+ panels: number;
1130
+ };
1131
+ exportWithDarkMode: boolean;
1132
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1133
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1134
+ cursorButton: "up" | "down";
1135
+ scrollX: number;
1136
+ scrollY: number;
1232
1137
  showWelcomeScreen: boolean;
1233
1138
  isLoading: boolean;
1234
1139
  errorMessage: import("react").ReactNode;
1140
+ activeEmbeddable: {
1141
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1142
+ state: "hover" | "active";
1143
+ } | null;
1235
1144
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1236
1145
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1237
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1146
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1147
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1148
+ isBindingEnabled: boolean;
1149
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1150
+ frameRendering: {
1151
+ enabled: boolean;
1152
+ name: boolean;
1153
+ outline: boolean;
1154
+ clip: boolean;
1155
+ };
1238
1156
  editingFrame: string | null;
1157
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1158
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1159
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1239
1160
  activeTool: {
1240
1161
  lastActiveTool: import("../types").ActiveTool | null;
1241
1162
  locked: boolean;
@@ -1245,7 +1166,7 @@ export declare const actionLoadScene: {
1245
1166
  penDetected: boolean;
1246
1167
  exportBackground: boolean;
1247
1168
  exportEmbedScene: boolean;
1248
- exportWithDarkMode: boolean;
1169
+ exportScale: number;
1249
1170
  currentItemStrokeColor: string;
1250
1171
  currentItemBackgroundColor: string;
1251
1172
  currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
@@ -1258,32 +1179,83 @@ export declare const actionLoadScene: {
1258
1179
  currentItemTextAlign: string;
1259
1180
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1260
1181
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1182
+ currentHoveredFontFamily: number | null;
1261
1183
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1262
1184
  currentItemArrowType: "round" | "sharp" | "elbow";
1263
- cursorButton: "up" | "down";
1185
+ viewBackgroundColor: string;
1264
1186
  scrolledOutside: boolean;
1187
+ name: string | null;
1265
1188
  isResizing: boolean;
1266
- openMenu: "shape" | "canvas" | null;
1189
+ isRotating: boolean;
1190
+ zoom: Readonly<{
1191
+ value: import("../types").NormalizedZoomValue;
1192
+ }>;
1193
+ openMenu: "canvas" | "shape" | null;
1267
1194
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1268
1195
  openSidebar: {
1269
1196
  name: string;
1270
1197
  tab?: string | undefined;
1271
1198
  } | null;
1199
+ openDialog: {
1200
+ name: "imageExport" | "help" | "jsonExport";
1201
+ } | {
1202
+ name: "ttd";
1203
+ tab: "text-to-diagram" | "mermaid";
1204
+ } | {
1205
+ name: "commandPalette";
1206
+ } | {
1207
+ name: "elementLinkSelector";
1208
+ sourceElementId: string;
1209
+ } | null;
1272
1210
  defaultSidebarDockedPreference: boolean;
1273
1211
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1212
+ selectedElementIds: Readonly<{
1213
+ [id: string]: true;
1214
+ }>;
1215
+ hoveredElementIds: Readonly<{
1216
+ [id: string]: true;
1217
+ }>;
1274
1218
  previousSelectedElementIds: {
1275
1219
  [id: string]: true;
1276
1220
  };
1221
+ selectedElementsAreBeingDragged: boolean;
1222
+ shouldCacheIgnoreZoom: boolean;
1277
1223
  toast: {
1278
1224
  message: string;
1279
1225
  closable?: boolean | undefined;
1280
1226
  duration?: number | undefined;
1281
1227
  } | null;
1282
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1283
- stats: {
1284
- open: boolean;
1285
- panels: number;
1228
+ zenModeEnabled: boolean;
1229
+ theme: Theme;
1230
+ gridSize: number;
1231
+ gridStep: number;
1232
+ gridModeEnabled: boolean;
1233
+ viewModeEnabled: boolean;
1234
+ selectedGroupIds: {
1235
+ [groupId: string]: boolean;
1286
1236
  };
1237
+ editingGroupId: string | null;
1238
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1239
+ collaborators: Map<import("../types").SocketId, Readonly<{
1240
+ pointer?: import("../types").CollaboratorPointer | undefined;
1241
+ button?: "up" | "down" | undefined;
1242
+ selectedElementIds?: Readonly<{
1243
+ [id: string]: true;
1244
+ }> | undefined;
1245
+ username?: string | null | undefined;
1246
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1247
+ color?: {
1248
+ background: string;
1249
+ stroke: string;
1250
+ } | undefined;
1251
+ avatarUrl?: string | undefined;
1252
+ id?: string | undefined;
1253
+ socketId?: import("../types").SocketId | undefined;
1254
+ isCurrentUser?: boolean | undefined;
1255
+ isInCall?: boolean | undefined;
1256
+ isSpeaking?: boolean | undefined;
1257
+ isMuted?: boolean | undefined;
1258
+ }>>;
1287
1259
  currentChartType: import("@excalidraw/element/types").ChartType;
1288
1260
  pasteDialog: {
1289
1261
  shown: false;
@@ -1292,13 +1264,27 @@ export declare const actionLoadScene: {
1292
1264
  shown: true;
1293
1265
  data: import("../charts").Spreadsheet;
1294
1266
  };
1295
- showHyperlinkPopup: false | "editor" | "info";
1267
+ pendingImageElementId: string | null;
1268
+ showHyperlinkPopup: false | "info" | "editor";
1269
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1270
+ snapLines: readonly import("../snapping").SnapLine[];
1296
1271
  originSnapOffset: {
1297
1272
  x: number;
1298
1273
  y: number;
1299
1274
  } | null;
1275
+ objectsSnapModeEnabled: boolean;
1300
1276
  userToFollow: import("../types").UserToFollow | null;
1301
1277
  followedBy: Set<import("../types").SocketId>;
1278
+ isCropping: boolean;
1279
+ croppingElementId: string | null;
1280
+ searchMatches: Readonly<{
1281
+ focusedId: string | null;
1282
+ matches: readonly import("../types").SearchMatch[];
1283
+ }> | null;
1284
+ activeLockedId: string | null;
1285
+ lockedMultiSelections: {
1286
+ [groupId: string]: true;
1287
+ };
1302
1288
  };
1303
1289
  files: import("../types").BinaryFiles;
1304
1290
  captureUpdate: "IMMEDIATELY";
@@ -1323,7 +1309,7 @@ export declare const actionLoadScene: {
1323
1309
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1324
1310
  isBindingEnabled: boolean;
1325
1311
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1326
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1312
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1327
1313
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1328
1314
  frameRendering: {
1329
1315
  enabled: boolean;
@@ -1334,7 +1320,7 @@ export declare const actionLoadScene: {
1334
1320
  editingFrame: string | null;
1335
1321
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1336
1322
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1337
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1323
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1338
1324
  activeTool: {
1339
1325
  lastActiveTool: import("../types").ActiveTool | null;
1340
1326
  locked: boolean;
@@ -1372,7 +1358,7 @@ export declare const actionLoadScene: {
1372
1358
  zoom: Readonly<{
1373
1359
  value: import("../types").NormalizedZoomValue;
1374
1360
  }>;
1375
- openMenu: "shape" | "canvas" | null;
1361
+ openMenu: "canvas" | "shape" | null;
1376
1362
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1377
1363
  openSidebar: {
1378
1364
  name: string;
@@ -1455,8 +1441,8 @@ export declare const actionLoadScene: {
1455
1441
  data: import("../charts").Spreadsheet;
1456
1442
  };
1457
1443
  pendingImageElementId: string | null;
1458
- showHyperlinkPopup: false | "editor" | "info";
1459
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1444
+ showHyperlinkPopup: false | "info" | "editor";
1445
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1460
1446
  snapLines: readonly import("../snapping").SnapLine[];
1461
1447
  originSnapOffset: {
1462
1448
  x: number;
@@ -1467,23 +1453,21 @@ export declare const actionLoadScene: {
1467
1453
  followedBy: Set<import("../types").SocketId>;
1468
1454
  isCropping: boolean;
1469
1455
  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
- }[];
1456
+ searchMatches: Readonly<{
1457
+ focusedId: string | null;
1458
+ matches: readonly import("../types").SearchMatch[];
1459
+ }> | null;
1460
+ activeLockedId: string | null;
1461
+ lockedMultiSelections: {
1462
+ [groupId: string]: true;
1463
+ };
1480
1464
  };
1481
1465
  files: import("../types").BinaryFiles;
1482
1466
  captureUpdate: "EVENTUALLY";
1483
1467
  }>;
1484
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1468
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1485
1469
  } & {
1486
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1470
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1487
1471
  };
1488
1472
  export declare const actionExportWithDarkMode: {
1489
1473
  name: "exportWithDarkMode";
@@ -1513,7 +1497,7 @@ export declare const actionExportWithDarkMode: {
1513
1497
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1514
1498
  isBindingEnabled: boolean;
1515
1499
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1516
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1500
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1517
1501
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1518
1502
  frameRendering: {
1519
1503
  enabled: boolean;
@@ -1524,7 +1508,7 @@ export declare const actionExportWithDarkMode: {
1524
1508
  editingFrame: string | null;
1525
1509
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1526
1510
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1527
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1511
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1528
1512
  activeTool: {
1529
1513
  lastActiveTool: import("../types").ActiveTool | null;
1530
1514
  locked: boolean;
@@ -1561,7 +1545,7 @@ export declare const actionExportWithDarkMode: {
1561
1545
  zoom: Readonly<{
1562
1546
  value: import("../types").NormalizedZoomValue;
1563
1547
  }>;
1564
- openMenu: "shape" | "canvas" | null;
1548
+ openMenu: "canvas" | "shape" | null;
1565
1549
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1566
1550
  openSidebar: {
1567
1551
  name: string;
@@ -1644,8 +1628,8 @@ export declare const actionExportWithDarkMode: {
1644
1628
  data: import("../charts").Spreadsheet;
1645
1629
  };
1646
1630
  pendingImageElementId: string | null;
1647
- showHyperlinkPopup: false | "editor" | "info";
1648
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1631
+ showHyperlinkPopup: false | "info" | "editor";
1632
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1649
1633
  snapLines: readonly import("../snapping").SnapLine[];
1650
1634
  originSnapOffset: {
1651
1635
  x: number;
@@ -1656,16 +1640,14 @@ export declare const actionExportWithDarkMode: {
1656
1640
  followedBy: Set<import("../types").SocketId>;
1657
1641
  isCropping: boolean;
1658
1642
  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
- }[];
1643
+ searchMatches: Readonly<{
1644
+ focusedId: string | null;
1645
+ matches: readonly import("../types").SearchMatch[];
1646
+ }> | null;
1647
+ activeLockedId: string | null;
1648
+ lockedMultiSelections: {
1649
+ [groupId: string]: true;
1650
+ };
1669
1651
  };
1670
1652
  captureUpdate: "EVENTUALLY";
1671
1653
  };