@excalidraw/excalidraw 0.18.0-6fc8502 → 0.18.0-7b8a5f54c

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 (175) hide show
  1. package/dist/dev/chunk-CP5DND7P.js +7 -0
  2. package/dist/dev/chunk-CP5DND7P.js.map +7 -0
  3. package/dist/dev/chunk-CRKRRBMD.js +5677 -0
  4. package/dist/dev/chunk-CRKRRBMD.js.map +7 -0
  5. package/dist/dev/{chunk-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-NKFINVKH.js → image-IWGLHPIX.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 +15051 -15792
  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-HHV2PJKY.js +4 -0
  17. package/dist/prod/chunk-I4UNSFV6.js +12 -0
  18. package/dist/prod/data/image-4SM4COIL.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -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 +23 -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 -1
  30. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
  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} +77 -40
  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 +236 -0
  55. package/dist/types/element/src/textElement.d.ts +5 -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 +34 -22
  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 +12 -0
  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 +3 -3
  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 +35 -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/types.d.ts +1 -0
  152. package/dist/types/math/src/vector.d.ts +8 -2
  153. package/dist/types/utils/src/bbox.d.ts +1 -1
  154. package/dist/types/utils/src/index.d.ts +1 -1
  155. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  156. package/history.ts +146 -109
  157. package/package.json +12 -9
  158. package/dist/dev/chunk-H7XJ5UVD.js +0 -7
  159. package/dist/dev/chunk-H7XJ5UVD.js.map +0 -7
  160. package/dist/dev/chunk-KYBDXI6F.js +0 -18739
  161. package/dist/dev/chunk-KYBDXI6F.js.map +0 -7
  162. package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
  163. package/dist/prod/chunk-CAN5RS4P.js +0 -31
  164. package/dist/prod/chunk-IUH5AXLB.js +0 -12
  165. package/dist/prod/chunk-KJYFYP64.js +0 -7
  166. package/dist/prod/data/image-5XD47O4X.js +0 -1
  167. package/dist/types/element/src/Shape.d.ts +0 -17
  168. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  169. package/dist/types/element/src/shapes.d.ts +0 -23
  170. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  171. package/dist/types/excalidraw/store.d.ts +0 -129
  172. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  173. package/dist/types/utils/src/collision.d.ts +0 -8
  174. /package/dist/dev/data/{image-NKFINVKH.js.map → image-IWGLHPIX.js.map} +0 -0
  175. /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
2
+ import { LinearElementEditor } from "@excalidraw/element";
3
3
  import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
4
4
  import type { AppClassProperties, AppState, Primitive } from "../types";
5
5
  export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
6
- export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], appState: AppState, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
6
+ export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
7
7
  export declare const actionChangeStrokeColor: {
8
8
  name: "changeStrokeColor";
9
9
  label: string;
10
10
  trackEvent: false;
11
11
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
12
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
12
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
13
13
  } & {
14
14
  keyTest?: undefined;
15
15
  };
@@ -17,8 +17,16 @@ export declare const actionChangeBackgroundColor: {
17
17
  name: "changeBackgroundColor";
18
18
  label: string;
19
19
  trackEvent: false;
20
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
21
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
21
+ appState: any;
22
+ captureUpdate: "EVENTUALLY";
23
+ elements?: undefined;
24
+ } | {
25
+ elements: ExcalidrawElement[];
26
+ appState: any;
27
+ captureUpdate: "IMMEDIATELY";
28
+ };
29
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
22
30
  } & {
23
31
  keyTest?: undefined;
24
32
  };
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
40
48
  errorMessage: import("react").ReactNode;
41
49
  activeEmbeddable: {
42
50
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
43
- state: "hover" | "active";
51
+ state: "active" | "hover";
44
52
  } | null;
45
53
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
46
54
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -48,7 +56,7 @@ export declare const actionChangeFillStyle: {
48
56
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
49
57
  isBindingEnabled: boolean;
50
58
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
51
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
59
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
52
60
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
53
61
  frameRendering: {
54
62
  enabled: boolean;
@@ -59,7 +67,6 @@ export declare const actionChangeFillStyle: {
59
67
  editingFrame: string | null;
60
68
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
69
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: LinearElementEditor | null;
63
70
  activeTool: {
64
71
  lastActiveTool: import("../types").ActiveTool | null;
65
72
  locked: boolean;
@@ -96,7 +103,7 @@ export declare const actionChangeFillStyle: {
96
103
  zoom: Readonly<{
97
104
  value: import("../types").NormalizedZoomValue;
98
105
  }>;
99
- openMenu: "shape" | "canvas" | null;
106
+ openMenu: "canvas" | "shape" | null;
100
107
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
101
108
  openSidebar: {
102
109
  name: string;
@@ -106,7 +113,7 @@ export declare const actionChangeFillStyle: {
106
113
  name: "imageExport" | "help" | "jsonExport";
107
114
  } | {
108
115
  name: "ttd";
109
- tab: "text-to-diagram" | "mermaid";
116
+ tab: "mermaid" | "text-to-diagram";
110
117
  } | {
111
118
  name: "commandPalette";
112
119
  } | {
@@ -178,7 +185,6 @@ export declare const actionChangeFillStyle: {
178
185
  shown: true;
179
186
  data: import("../charts").Spreadsheet;
180
187
  };
181
- pendingImageElementId: string | null;
182
188
  showHyperlinkPopup: false | "editor" | "info";
183
189
  selectedLinearElement: LinearElementEditor | null;
184
190
  snapLines: readonly import("../snapping").SnapLine[];
@@ -191,20 +197,18 @@ export declare const actionChangeFillStyle: {
191
197
  followedBy: Set<import("../types").SocketId>;
192
198
  isCropping: boolean;
193
199
  croppingElementId: string | null;
194
- searchMatches: readonly {
195
- id: string;
196
- focus: boolean;
197
- matchedLines: {
198
- offsetX: number;
199
- offsetY: number;
200
- width: number;
201
- height: number;
202
- }[];
203
- }[];
200
+ searchMatches: Readonly<{
201
+ focusedId: string | null;
202
+ matches: readonly import("../types").SearchMatch[];
203
+ }> | null;
204
+ activeLockedId: string | null;
205
+ lockedMultiSelections: {
206
+ [groupId: string]: true;
207
+ };
204
208
  };
205
209
  captureUpdate: "IMMEDIATELY";
206
210
  };
207
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
211
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
208
212
  } & {
209
213
  keyTest?: undefined;
210
214
  };
@@ -226,7 +230,7 @@ export declare const actionChangeStrokeWidth: {
226
230
  errorMessage: import("react").ReactNode;
227
231
  activeEmbeddable: {
228
232
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
229
- state: "hover" | "active";
233
+ state: "active" | "hover";
230
234
  } | null;
231
235
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
232
236
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -234,7 +238,7 @@ export declare const actionChangeStrokeWidth: {
234
238
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
235
239
  isBindingEnabled: boolean;
236
240
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
237
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
241
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
238
242
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
239
243
  frameRendering: {
240
244
  enabled: boolean;
@@ -245,7 +249,6 @@ export declare const actionChangeStrokeWidth: {
245
249
  editingFrame: string | null;
246
250
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
247
251
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
248
- editingLinearElement: LinearElementEditor | null;
249
252
  activeTool: {
250
253
  lastActiveTool: import("../types").ActiveTool | null;
251
254
  locked: boolean;
@@ -282,7 +285,7 @@ export declare const actionChangeStrokeWidth: {
282
285
  zoom: Readonly<{
283
286
  value: import("../types").NormalizedZoomValue;
284
287
  }>;
285
- openMenu: "shape" | "canvas" | null;
288
+ openMenu: "canvas" | "shape" | null;
286
289
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
287
290
  openSidebar: {
288
291
  name: string;
@@ -292,7 +295,7 @@ export declare const actionChangeStrokeWidth: {
292
295
  name: "imageExport" | "help" | "jsonExport";
293
296
  } | {
294
297
  name: "ttd";
295
- tab: "text-to-diagram" | "mermaid";
298
+ tab: "mermaid" | "text-to-diagram";
296
299
  } | {
297
300
  name: "commandPalette";
298
301
  } | {
@@ -364,7 +367,6 @@ export declare const actionChangeStrokeWidth: {
364
367
  shown: true;
365
368
  data: import("../charts").Spreadsheet;
366
369
  };
367
- pendingImageElementId: string | null;
368
370
  showHyperlinkPopup: false | "editor" | "info";
369
371
  selectedLinearElement: LinearElementEditor | null;
370
372
  snapLines: readonly import("../snapping").SnapLine[];
@@ -377,20 +379,18 @@ export declare const actionChangeStrokeWidth: {
377
379
  followedBy: Set<import("../types").SocketId>;
378
380
  isCropping: boolean;
379
381
  croppingElementId: string | null;
380
- searchMatches: readonly {
381
- id: string;
382
- focus: boolean;
383
- matchedLines: {
384
- offsetX: number;
385
- offsetY: number;
386
- width: number;
387
- height: number;
388
- }[];
389
- }[];
382
+ searchMatches: Readonly<{
383
+ focusedId: string | null;
384
+ matches: readonly import("../types").SearchMatch[];
385
+ }> | null;
386
+ activeLockedId: string | null;
387
+ lockedMultiSelections: {
388
+ [groupId: string]: true;
389
+ };
390
390
  };
391
391
  captureUpdate: "IMMEDIATELY";
392
392
  };
393
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
393
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
394
394
  } & {
395
395
  keyTest?: undefined;
396
396
  };
@@ -412,7 +412,7 @@ export declare const actionChangeSloppiness: {
412
412
  errorMessage: import("react").ReactNode;
413
413
  activeEmbeddable: {
414
414
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
415
- state: "hover" | "active";
415
+ state: "active" | "hover";
416
416
  } | null;
417
417
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
418
418
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -420,7 +420,7 @@ export declare const actionChangeSloppiness: {
420
420
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
421
421
  isBindingEnabled: boolean;
422
422
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
423
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
423
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
424
424
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
425
425
  frameRendering: {
426
426
  enabled: boolean;
@@ -431,7 +431,6 @@ export declare const actionChangeSloppiness: {
431
431
  editingFrame: string | null;
432
432
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
433
433
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
434
- editingLinearElement: LinearElementEditor | null;
435
434
  activeTool: {
436
435
  lastActiveTool: import("../types").ActiveTool | null;
437
436
  locked: boolean;
@@ -468,7 +467,7 @@ export declare const actionChangeSloppiness: {
468
467
  zoom: Readonly<{
469
468
  value: import("../types").NormalizedZoomValue;
470
469
  }>;
471
- openMenu: "shape" | "canvas" | null;
470
+ openMenu: "canvas" | "shape" | null;
472
471
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
473
472
  openSidebar: {
474
473
  name: string;
@@ -478,7 +477,7 @@ export declare const actionChangeSloppiness: {
478
477
  name: "imageExport" | "help" | "jsonExport";
479
478
  } | {
480
479
  name: "ttd";
481
- tab: "text-to-diagram" | "mermaid";
480
+ tab: "mermaid" | "text-to-diagram";
482
481
  } | {
483
482
  name: "commandPalette";
484
483
  } | {
@@ -550,7 +549,6 @@ export declare const actionChangeSloppiness: {
550
549
  shown: true;
551
550
  data: import("../charts").Spreadsheet;
552
551
  };
553
- pendingImageElementId: string | null;
554
552
  showHyperlinkPopup: false | "editor" | "info";
555
553
  selectedLinearElement: LinearElementEditor | null;
556
554
  snapLines: readonly import("../snapping").SnapLine[];
@@ -563,20 +561,18 @@ export declare const actionChangeSloppiness: {
563
561
  followedBy: Set<import("../types").SocketId>;
564
562
  isCropping: boolean;
565
563
  croppingElementId: string | null;
566
- searchMatches: readonly {
567
- id: string;
568
- focus: boolean;
569
- matchedLines: {
570
- offsetX: number;
571
- offsetY: number;
572
- width: number;
573
- height: number;
574
- }[];
575
- }[];
564
+ searchMatches: Readonly<{
565
+ focusedId: string | null;
566
+ matches: readonly import("../types").SearchMatch[];
567
+ }> | null;
568
+ activeLockedId: string | null;
569
+ lockedMultiSelections: {
570
+ [groupId: string]: true;
571
+ };
576
572
  };
577
573
  captureUpdate: "IMMEDIATELY";
578
574
  };
579
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
575
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
580
576
  } & {
581
577
  keyTest?: undefined;
582
578
  };
@@ -598,7 +594,7 @@ export declare const actionChangeStrokeStyle: {
598
594
  errorMessage: import("react").ReactNode;
599
595
  activeEmbeddable: {
600
596
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
601
- state: "hover" | "active";
597
+ state: "active" | "hover";
602
598
  } | null;
603
599
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
604
600
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -606,7 +602,7 @@ export declare const actionChangeStrokeStyle: {
606
602
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
607
603
  isBindingEnabled: boolean;
608
604
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
609
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
605
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
610
606
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
611
607
  frameRendering: {
612
608
  enabled: boolean;
@@ -617,7 +613,6 @@ export declare const actionChangeStrokeStyle: {
617
613
  editingFrame: string | null;
618
614
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
619
615
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
620
- editingLinearElement: LinearElementEditor | null;
621
616
  activeTool: {
622
617
  lastActiveTool: import("../types").ActiveTool | null;
623
618
  locked: boolean;
@@ -654,7 +649,7 @@ export declare const actionChangeStrokeStyle: {
654
649
  zoom: Readonly<{
655
650
  value: import("../types").NormalizedZoomValue;
656
651
  }>;
657
- openMenu: "shape" | "canvas" | null;
652
+ openMenu: "canvas" | "shape" | null;
658
653
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
659
654
  openSidebar: {
660
655
  name: string;
@@ -664,7 +659,7 @@ export declare const actionChangeStrokeStyle: {
664
659
  name: "imageExport" | "help" | "jsonExport";
665
660
  } | {
666
661
  name: "ttd";
667
- tab: "text-to-diagram" | "mermaid";
662
+ tab: "mermaid" | "text-to-diagram";
668
663
  } | {
669
664
  name: "commandPalette";
670
665
  } | {
@@ -736,7 +731,6 @@ export declare const actionChangeStrokeStyle: {
736
731
  shown: true;
737
732
  data: import("../charts").Spreadsheet;
738
733
  };
739
- pendingImageElementId: string | null;
740
734
  showHyperlinkPopup: false | "editor" | "info";
741
735
  selectedLinearElement: LinearElementEditor | null;
742
736
  snapLines: readonly import("../snapping").SnapLine[];
@@ -749,20 +743,18 @@ export declare const actionChangeStrokeStyle: {
749
743
  followedBy: Set<import("../types").SocketId>;
750
744
  isCropping: boolean;
751
745
  croppingElementId: string | null;
752
- searchMatches: readonly {
753
- id: string;
754
- focus: boolean;
755
- matchedLines: {
756
- offsetX: number;
757
- offsetY: number;
758
- width: number;
759
- height: number;
760
- }[];
761
- }[];
746
+ searchMatches: Readonly<{
747
+ focusedId: string | null;
748
+ matches: readonly import("../types").SearchMatch[];
749
+ }> | null;
750
+ activeLockedId: string | null;
751
+ lockedMultiSelections: {
752
+ [groupId: string]: true;
753
+ };
762
754
  };
763
755
  captureUpdate: "IMMEDIATELY";
764
756
  };
765
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
757
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
766
758
  } & {
767
759
  keyTest?: undefined;
768
760
  };
@@ -784,7 +776,7 @@ export declare const actionChangeOpacity: {
784
776
  errorMessage: import("react").ReactNode;
785
777
  activeEmbeddable: {
786
778
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
787
- state: "hover" | "active";
779
+ state: "active" | "hover";
788
780
  } | null;
789
781
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
790
782
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -792,7 +784,7 @@ export declare const actionChangeOpacity: {
792
784
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
793
785
  isBindingEnabled: boolean;
794
786
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
795
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
787
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
796
788
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
797
789
  frameRendering: {
798
790
  enabled: boolean;
@@ -803,7 +795,6 @@ export declare const actionChangeOpacity: {
803
795
  editingFrame: string | null;
804
796
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
805
797
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
806
- editingLinearElement: LinearElementEditor | null;
807
798
  activeTool: {
808
799
  lastActiveTool: import("../types").ActiveTool | null;
809
800
  locked: boolean;
@@ -840,7 +831,7 @@ export declare const actionChangeOpacity: {
840
831
  zoom: Readonly<{
841
832
  value: import("../types").NormalizedZoomValue;
842
833
  }>;
843
- openMenu: "shape" | "canvas" | null;
834
+ openMenu: "canvas" | "shape" | null;
844
835
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
845
836
  openSidebar: {
846
837
  name: string;
@@ -850,7 +841,7 @@ export declare const actionChangeOpacity: {
850
841
  name: "imageExport" | "help" | "jsonExport";
851
842
  } | {
852
843
  name: "ttd";
853
- tab: "text-to-diagram" | "mermaid";
844
+ tab: "mermaid" | "text-to-diagram";
854
845
  } | {
855
846
  name: "commandPalette";
856
847
  } | {
@@ -922,7 +913,6 @@ export declare const actionChangeOpacity: {
922
913
  shown: true;
923
914
  data: import("../charts").Spreadsheet;
924
915
  };
925
- pendingImageElementId: string | null;
926
916
  showHyperlinkPopup: false | "editor" | "info";
927
917
  selectedLinearElement: LinearElementEditor | null;
928
918
  snapLines: readonly import("../snapping").SnapLine[];
@@ -935,20 +925,18 @@ export declare const actionChangeOpacity: {
935
925
  followedBy: Set<import("../types").SocketId>;
936
926
  isCropping: boolean;
937
927
  croppingElementId: string | null;
938
- searchMatches: readonly {
939
- id: string;
940
- focus: boolean;
941
- matchedLines: {
942
- offsetX: number;
943
- offsetY: number;
944
- width: number;
945
- height: number;
946
- }[];
947
- }[];
928
+ searchMatches: Readonly<{
929
+ focusedId: string | null;
930
+ matches: readonly import("../types").SearchMatch[];
931
+ }> | null;
932
+ activeLockedId: string | null;
933
+ lockedMultiSelections: {
934
+ [groupId: string]: true;
935
+ };
948
936
  };
949
937
  captureUpdate: "IMMEDIATELY";
950
938
  };
951
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
939
+ PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
952
940
  } & {
953
941
  keyTest?: undefined;
954
942
  };
@@ -970,7 +958,7 @@ export declare const actionChangeFontSize: {
970
958
  errorMessage: import("react").ReactNode;
971
959
  activeEmbeddable: {
972
960
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
973
- state: "hover" | "active";
961
+ state: "active" | "hover";
974
962
  } | null;
975
963
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
976
964
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -978,7 +966,7 @@ export declare const actionChangeFontSize: {
978
966
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
979
967
  isBindingEnabled: boolean;
980
968
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
981
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
969
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
982
970
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
983
971
  frameRendering: {
984
972
  enabled: boolean;
@@ -989,7 +977,6 @@ export declare const actionChangeFontSize: {
989
977
  editingFrame: string | null;
990
978
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
991
979
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
992
- editingLinearElement: LinearElementEditor | null;
993
980
  activeTool: {
994
981
  lastActiveTool: import("../types").ActiveTool | null;
995
982
  locked: boolean;
@@ -1026,7 +1013,7 @@ export declare const actionChangeFontSize: {
1026
1013
  zoom: Readonly<{
1027
1014
  value: import("../types").NormalizedZoomValue;
1028
1015
  }>;
1029
- openMenu: "shape" | "canvas" | null;
1016
+ openMenu: "canvas" | "shape" | null;
1030
1017
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1031
1018
  openSidebar: {
1032
1019
  name: string;
@@ -1036,7 +1023,7 @@ export declare const actionChangeFontSize: {
1036
1023
  name: "imageExport" | "help" | "jsonExport";
1037
1024
  } | {
1038
1025
  name: "ttd";
1039
- tab: "text-to-diagram" | "mermaid";
1026
+ tab: "mermaid" | "text-to-diagram";
1040
1027
  } | {
1041
1028
  name: "commandPalette";
1042
1029
  } | {
@@ -1108,7 +1095,6 @@ export declare const actionChangeFontSize: {
1108
1095
  shown: true;
1109
1096
  data: import("../charts").Spreadsheet;
1110
1097
  };
1111
- pendingImageElementId: string | null;
1112
1098
  showHyperlinkPopup: false | "editor" | "info";
1113
1099
  selectedLinearElement: LinearElementEditor | null;
1114
1100
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1121,16 +1107,14 @@ export declare const actionChangeFontSize: {
1121
1107
  followedBy: Set<import("../types").SocketId>;
1122
1108
  isCropping: boolean;
1123
1109
  croppingElementId: string | null;
1124
- searchMatches: readonly {
1125
- id: string;
1126
- focus: boolean;
1127
- matchedLines: {
1128
- offsetX: number;
1129
- offsetY: number;
1130
- width: number;
1131
- height: number;
1132
- }[];
1133
- }[];
1110
+ searchMatches: Readonly<{
1111
+ focusedId: string | null;
1112
+ matches: readonly import("../types").SearchMatch[];
1113
+ }> | null;
1114
+ activeLockedId: string | null;
1115
+ lockedMultiSelections: {
1116
+ [groupId: string]: true;
1117
+ };
1134
1118
  };
1135
1119
  captureUpdate: "IMMEDIATELY";
1136
1120
  };
@@ -1157,7 +1141,7 @@ export declare const actionDecreaseFontSize: {
1157
1141
  errorMessage: import("react").ReactNode;
1158
1142
  activeEmbeddable: {
1159
1143
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1160
- state: "hover" | "active";
1144
+ state: "active" | "hover";
1161
1145
  } | null;
1162
1146
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1163
1147
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1165,7 +1149,7 @@ export declare const actionDecreaseFontSize: {
1165
1149
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1166
1150
  isBindingEnabled: boolean;
1167
1151
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1168
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1152
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1169
1153
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1170
1154
  frameRendering: {
1171
1155
  enabled: boolean;
@@ -1176,7 +1160,6 @@ export declare const actionDecreaseFontSize: {
1176
1160
  editingFrame: string | null;
1177
1161
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1178
1162
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1179
- editingLinearElement: LinearElementEditor | null;
1180
1163
  activeTool: {
1181
1164
  lastActiveTool: import("../types").ActiveTool | null;
1182
1165
  locked: boolean;
@@ -1213,7 +1196,7 @@ export declare const actionDecreaseFontSize: {
1213
1196
  zoom: Readonly<{
1214
1197
  value: import("../types").NormalizedZoomValue;
1215
1198
  }>;
1216
- openMenu: "shape" | "canvas" | null;
1199
+ openMenu: "canvas" | "shape" | null;
1217
1200
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1218
1201
  openSidebar: {
1219
1202
  name: string;
@@ -1223,7 +1206,7 @@ export declare const actionDecreaseFontSize: {
1223
1206
  name: "imageExport" | "help" | "jsonExport";
1224
1207
  } | {
1225
1208
  name: "ttd";
1226
- tab: "text-to-diagram" | "mermaid";
1209
+ tab: "mermaid" | "text-to-diagram";
1227
1210
  } | {
1228
1211
  name: "commandPalette";
1229
1212
  } | {
@@ -1295,7 +1278,6 @@ export declare const actionDecreaseFontSize: {
1295
1278
  shown: true;
1296
1279
  data: import("../charts").Spreadsheet;
1297
1280
  };
1298
- pendingImageElementId: string | null;
1299
1281
  showHyperlinkPopup: false | "editor" | "info";
1300
1282
  selectedLinearElement: LinearElementEditor | null;
1301
1283
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1308,16 +1290,14 @@ export declare const actionDecreaseFontSize: {
1308
1290
  followedBy: Set<import("../types").SocketId>;
1309
1291
  isCropping: boolean;
1310
1292
  croppingElementId: string | null;
1311
- searchMatches: readonly {
1312
- id: string;
1313
- focus: boolean;
1314
- matchedLines: {
1315
- offsetX: number;
1316
- offsetY: number;
1317
- width: number;
1318
- height: number;
1319
- }[];
1320
- }[];
1293
+ searchMatches: Readonly<{
1294
+ focusedId: string | null;
1295
+ matches: readonly import("../types").SearchMatch[];
1296
+ }> | null;
1297
+ activeLockedId: string | null;
1298
+ lockedMultiSelections: {
1299
+ [groupId: string]: true;
1300
+ };
1321
1301
  };
1322
1302
  captureUpdate: "IMMEDIATELY";
1323
1303
  };
@@ -1344,7 +1324,7 @@ export declare const actionIncreaseFontSize: {
1344
1324
  errorMessage: import("react").ReactNode;
1345
1325
  activeEmbeddable: {
1346
1326
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1347
- state: "hover" | "active";
1327
+ state: "active" | "hover";
1348
1328
  } | null;
1349
1329
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1350
1330
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1352,7 +1332,7 @@ export declare const actionIncreaseFontSize: {
1352
1332
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1353
1333
  isBindingEnabled: boolean;
1354
1334
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1355
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1335
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1356
1336
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1357
1337
  frameRendering: {
1358
1338
  enabled: boolean;
@@ -1363,7 +1343,6 @@ export declare const actionIncreaseFontSize: {
1363
1343
  editingFrame: string | null;
1364
1344
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1365
1345
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1366
- editingLinearElement: LinearElementEditor | null;
1367
1346
  activeTool: {
1368
1347
  lastActiveTool: import("../types").ActiveTool | null;
1369
1348
  locked: boolean;
@@ -1400,7 +1379,7 @@ export declare const actionIncreaseFontSize: {
1400
1379
  zoom: Readonly<{
1401
1380
  value: import("../types").NormalizedZoomValue;
1402
1381
  }>;
1403
- openMenu: "shape" | "canvas" | null;
1382
+ openMenu: "canvas" | "shape" | null;
1404
1383
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1405
1384
  openSidebar: {
1406
1385
  name: string;
@@ -1410,7 +1389,7 @@ export declare const actionIncreaseFontSize: {
1410
1389
  name: "imageExport" | "help" | "jsonExport";
1411
1390
  } | {
1412
1391
  name: "ttd";
1413
- tab: "text-to-diagram" | "mermaid";
1392
+ tab: "mermaid" | "text-to-diagram";
1414
1393
  } | {
1415
1394
  name: "commandPalette";
1416
1395
  } | {
@@ -1482,7 +1461,6 @@ export declare const actionIncreaseFontSize: {
1482
1461
  shown: true;
1483
1462
  data: import("../charts").Spreadsheet;
1484
1463
  };
1485
- pendingImageElementId: string | null;
1486
1464
  showHyperlinkPopup: false | "editor" | "info";
1487
1465
  selectedLinearElement: LinearElementEditor | null;
1488
1466
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1495,16 +1473,14 @@ export declare const actionIncreaseFontSize: {
1495
1473
  followedBy: Set<import("../types").SocketId>;
1496
1474
  isCropping: boolean;
1497
1475
  croppingElementId: string | null;
1498
- searchMatches: readonly {
1499
- id: string;
1500
- focus: boolean;
1501
- matchedLines: {
1502
- offsetX: number;
1503
- offsetY: number;
1504
- width: number;
1505
- height: number;
1506
- }[];
1507
- }[];
1476
+ searchMatches: Readonly<{
1477
+ focusedId: string | null;
1478
+ matches: readonly import("../types").SearchMatch[];
1479
+ }> | null;
1480
+ activeLockedId: string | null;
1481
+ lockedMultiSelections: {
1482
+ [groupId: string]: true;
1483
+ };
1508
1484
  };
1509
1485
  captureUpdate: "IMMEDIATELY";
1510
1486
  };
@@ -1518,8 +1494,8 @@ export declare const actionChangeFontFamily: {
1518
1494
  trackEvent: false;
1519
1495
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
1520
1496
  appState: {
1521
- currentHoveredFontFamily: number | null;
1522
1497
  currentItemFontFamily: number;
1498
+ currentHoveredFontFamily: number | null;
1523
1499
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1524
1500
  contextMenu: {
1525
1501
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -1531,7 +1507,7 @@ export declare const actionChangeFontFamily: {
1531
1507
  errorMessage: import("react").ReactNode;
1532
1508
  activeEmbeddable: {
1533
1509
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1534
- state: "hover" | "active";
1510
+ state: "active" | "hover";
1535
1511
  } | null;
1536
1512
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1537
1513
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1539,7 +1515,7 @@ export declare const actionChangeFontFamily: {
1539
1515
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1540
1516
  isBindingEnabled: boolean;
1541
1517
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1542
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1518
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1543
1519
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1544
1520
  frameRendering: {
1545
1521
  enabled: boolean;
@@ -1550,7 +1526,6 @@ export declare const actionChangeFontFamily: {
1550
1526
  editingFrame: string | null;
1551
1527
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1552
1528
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1553
- editingLinearElement: LinearElementEditor | null;
1554
1529
  activeTool: {
1555
1530
  lastActiveTool: import("../types").ActiveTool | null;
1556
1531
  locked: boolean;
@@ -1586,7 +1561,7 @@ export declare const actionChangeFontFamily: {
1586
1561
  zoom: Readonly<{
1587
1562
  value: import("../types").NormalizedZoomValue;
1588
1563
  }>;
1589
- openMenu: "shape" | "canvas" | null;
1564
+ openMenu: "canvas" | "shape" | null;
1590
1565
  openSidebar: {
1591
1566
  name: string;
1592
1567
  tab?: string | undefined;
@@ -1595,7 +1570,7 @@ export declare const actionChangeFontFamily: {
1595
1570
  name: "imageExport" | "help" | "jsonExport";
1596
1571
  } | {
1597
1572
  name: "ttd";
1598
- tab: "text-to-diagram" | "mermaid";
1573
+ tab: "mermaid" | "text-to-diagram";
1599
1574
  } | {
1600
1575
  name: "commandPalette";
1601
1576
  } | {
@@ -1667,7 +1642,6 @@ export declare const actionChangeFontFamily: {
1667
1642
  shown: true;
1668
1643
  data: import("../charts").Spreadsheet;
1669
1644
  };
1670
- pendingImageElementId: string | null;
1671
1645
  showHyperlinkPopup: false | "editor" | "info";
1672
1646
  selectedLinearElement: LinearElementEditor | null;
1673
1647
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1680,23 +1654,21 @@ export declare const actionChangeFontFamily: {
1680
1654
  followedBy: Set<import("../types").SocketId>;
1681
1655
  isCropping: boolean;
1682
1656
  croppingElementId: string | null;
1683
- searchMatches: readonly {
1684
- id: string;
1685
- focus: boolean;
1686
- matchedLines: {
1687
- offsetX: number;
1688
- offsetY: number;
1689
- width: number;
1690
- height: number;
1691
- }[];
1692
- }[];
1657
+ searchMatches: Readonly<{
1658
+ focusedId: string | null;
1659
+ matches: readonly import("../types").SearchMatch[];
1660
+ }> | null;
1661
+ activeLockedId: string | null;
1662
+ lockedMultiSelections: {
1663
+ [groupId: string]: true;
1664
+ };
1693
1665
  };
1694
1666
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1695
1667
  } | {
1696
1668
  elements: ExcalidrawElement[];
1697
1669
  appState: {
1698
- currentHoveredFontFamily: number | null;
1699
1670
  currentItemFontFamily: number;
1671
+ currentHoveredFontFamily: number | null;
1700
1672
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1701
1673
  contextMenu: {
1702
1674
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -1708,7 +1680,7 @@ export declare const actionChangeFontFamily: {
1708
1680
  errorMessage: import("react").ReactNode;
1709
1681
  activeEmbeddable: {
1710
1682
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1711
- state: "hover" | "active";
1683
+ state: "active" | "hover";
1712
1684
  } | null;
1713
1685
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1714
1686
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1716,7 +1688,7 @@ export declare const actionChangeFontFamily: {
1716
1688
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1717
1689
  isBindingEnabled: boolean;
1718
1690
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1719
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1691
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1720
1692
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1721
1693
  frameRendering: {
1722
1694
  enabled: boolean;
@@ -1727,7 +1699,6 @@ export declare const actionChangeFontFamily: {
1727
1699
  editingFrame: string | null;
1728
1700
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1729
1701
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1730
- editingLinearElement: LinearElementEditor | null;
1731
1702
  activeTool: {
1732
1703
  lastActiveTool: import("../types").ActiveTool | null;
1733
1704
  locked: boolean;
@@ -1763,7 +1734,7 @@ export declare const actionChangeFontFamily: {
1763
1734
  zoom: Readonly<{
1764
1735
  value: import("../types").NormalizedZoomValue;
1765
1736
  }>;
1766
- openMenu: "shape" | "canvas" | null;
1737
+ openMenu: "canvas" | "shape" | null;
1767
1738
  openSidebar: {
1768
1739
  name: string;
1769
1740
  tab?: string | undefined;
@@ -1772,7 +1743,7 @@ export declare const actionChangeFontFamily: {
1772
1743
  name: "imageExport" | "help" | "jsonExport";
1773
1744
  } | {
1774
1745
  name: "ttd";
1775
- tab: "text-to-diagram" | "mermaid";
1746
+ tab: "mermaid" | "text-to-diagram";
1776
1747
  } | {
1777
1748
  name: "commandPalette";
1778
1749
  } | {
@@ -1844,7 +1815,6 @@ export declare const actionChangeFontFamily: {
1844
1815
  shown: true;
1845
1816
  data: import("../charts").Spreadsheet;
1846
1817
  };
1847
- pendingImageElementId: string | null;
1848
1818
  showHyperlinkPopup: false | "editor" | "info";
1849
1819
  selectedLinearElement: LinearElementEditor | null;
1850
1820
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1857,16 +1827,14 @@ export declare const actionChangeFontFamily: {
1857
1827
  followedBy: Set<import("../types").SocketId>;
1858
1828
  isCropping: boolean;
1859
1829
  croppingElementId: string | null;
1860
- searchMatches: readonly {
1861
- id: string;
1862
- focus: boolean;
1863
- matchedLines: {
1864
- offsetX: number;
1865
- offsetY: number;
1866
- width: number;
1867
- height: number;
1868
- }[];
1869
- }[];
1830
+ searchMatches: Readonly<{
1831
+ focusedId: string | null;
1832
+ matches: readonly import("../types").SearchMatch[];
1833
+ }> | null;
1834
+ activeLockedId: string | null;
1835
+ lockedMultiSelections: {
1836
+ [groupId: string]: true;
1837
+ };
1870
1838
  };
1871
1839
  captureUpdate: "NEVER";
1872
1840
  };
@@ -1892,7 +1860,7 @@ export declare const actionChangeTextAlign: {
1892
1860
  errorMessage: import("react").ReactNode;
1893
1861
  activeEmbeddable: {
1894
1862
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1895
- state: "hover" | "active";
1863
+ state: "active" | "hover";
1896
1864
  } | null;
1897
1865
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1898
1866
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1900,7 +1868,7 @@ export declare const actionChangeTextAlign: {
1900
1868
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1901
1869
  isBindingEnabled: boolean;
1902
1870
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1903
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1871
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1904
1872
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1905
1873
  frameRendering: {
1906
1874
  enabled: boolean;
@@ -1911,7 +1879,6 @@ export declare const actionChangeTextAlign: {
1911
1879
  editingFrame: string | null;
1912
1880
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1913
1881
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1914
- editingLinearElement: LinearElementEditor | null;
1915
1882
  activeTool: {
1916
1883
  lastActiveTool: import("../types").ActiveTool | null;
1917
1884
  locked: boolean;
@@ -1948,7 +1915,7 @@ export declare const actionChangeTextAlign: {
1948
1915
  zoom: Readonly<{
1949
1916
  value: import("../types").NormalizedZoomValue;
1950
1917
  }>;
1951
- openMenu: "shape" | "canvas" | null;
1918
+ openMenu: "canvas" | "shape" | null;
1952
1919
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1953
1920
  openSidebar: {
1954
1921
  name: string;
@@ -1958,7 +1925,7 @@ export declare const actionChangeTextAlign: {
1958
1925
  name: "imageExport" | "help" | "jsonExport";
1959
1926
  } | {
1960
1927
  name: "ttd";
1961
- tab: "text-to-diagram" | "mermaid";
1928
+ tab: "mermaid" | "text-to-diagram";
1962
1929
  } | {
1963
1930
  name: "commandPalette";
1964
1931
  } | {
@@ -2030,7 +1997,6 @@ export declare const actionChangeTextAlign: {
2030
1997
  shown: true;
2031
1998
  data: import("../charts").Spreadsheet;
2032
1999
  };
2033
- pendingImageElementId: string | null;
2034
2000
  showHyperlinkPopup: false | "editor" | "info";
2035
2001
  selectedLinearElement: LinearElementEditor | null;
2036
2002
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2043,16 +2009,14 @@ export declare const actionChangeTextAlign: {
2043
2009
  followedBy: Set<import("../types").SocketId>;
2044
2010
  isCropping: boolean;
2045
2011
  croppingElementId: string | null;
2046
- searchMatches: readonly {
2047
- id: string;
2048
- focus: boolean;
2049
- matchedLines: {
2050
- offsetX: number;
2051
- offsetY: number;
2052
- width: number;
2053
- height: number;
2054
- }[];
2055
- }[];
2012
+ searchMatches: Readonly<{
2013
+ focusedId: string | null;
2014
+ matches: readonly import("../types").SearchMatch[];
2015
+ }> | null;
2016
+ activeLockedId: string | null;
2017
+ lockedMultiSelections: {
2018
+ [groupId: string]: true;
2019
+ };
2056
2020
  };
2057
2021
  captureUpdate: "IMMEDIATELY";
2058
2022
  };
@@ -2079,7 +2043,7 @@ export declare const actionChangeVerticalAlign: {
2079
2043
  errorMessage: import("react").ReactNode;
2080
2044
  activeEmbeddable: {
2081
2045
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2082
- state: "hover" | "active";
2046
+ state: "active" | "hover";
2083
2047
  } | null;
2084
2048
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2085
2049
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2087,7 +2051,7 @@ export declare const actionChangeVerticalAlign: {
2087
2051
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2088
2052
  isBindingEnabled: boolean;
2089
2053
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2090
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2054
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2091
2055
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2092
2056
  frameRendering: {
2093
2057
  enabled: boolean;
@@ -2098,7 +2062,6 @@ export declare const actionChangeVerticalAlign: {
2098
2062
  editingFrame: string | null;
2099
2063
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2100
2064
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2101
- editingLinearElement: LinearElementEditor | null;
2102
2065
  activeTool: {
2103
2066
  lastActiveTool: import("../types").ActiveTool | null;
2104
2067
  locked: boolean;
@@ -2136,7 +2099,7 @@ export declare const actionChangeVerticalAlign: {
2136
2099
  zoom: Readonly<{
2137
2100
  value: import("../types").NormalizedZoomValue;
2138
2101
  }>;
2139
- openMenu: "shape" | "canvas" | null;
2102
+ openMenu: "canvas" | "shape" | null;
2140
2103
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2141
2104
  openSidebar: {
2142
2105
  name: string;
@@ -2146,7 +2109,7 @@ export declare const actionChangeVerticalAlign: {
2146
2109
  name: "imageExport" | "help" | "jsonExport";
2147
2110
  } | {
2148
2111
  name: "ttd";
2149
- tab: "text-to-diagram" | "mermaid";
2112
+ tab: "mermaid" | "text-to-diagram";
2150
2113
  } | {
2151
2114
  name: "commandPalette";
2152
2115
  } | {
@@ -2218,7 +2181,6 @@ export declare const actionChangeVerticalAlign: {
2218
2181
  shown: true;
2219
2182
  data: import("../charts").Spreadsheet;
2220
2183
  };
2221
- pendingImageElementId: string | null;
2222
2184
  showHyperlinkPopup: false | "editor" | "info";
2223
2185
  selectedLinearElement: LinearElementEditor | null;
2224
2186
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2231,16 +2193,14 @@ export declare const actionChangeVerticalAlign: {
2231
2193
  followedBy: Set<import("../types").SocketId>;
2232
2194
  isCropping: boolean;
2233
2195
  croppingElementId: string | null;
2234
- searchMatches: readonly {
2235
- id: string;
2236
- focus: boolean;
2237
- matchedLines: {
2238
- offsetX: number;
2239
- offsetY: number;
2240
- width: number;
2241
- height: number;
2242
- }[];
2243
- }[];
2196
+ searchMatches: Readonly<{
2197
+ focusedId: string | null;
2198
+ matches: readonly import("../types").SearchMatch[];
2199
+ }> | null;
2200
+ activeLockedId: string | null;
2201
+ lockedMultiSelections: {
2202
+ [groupId: string]: true;
2203
+ };
2244
2204
  };
2245
2205
  captureUpdate: "IMMEDIATELY";
2246
2206
  };
@@ -2266,7 +2226,7 @@ export declare const actionChangeRoundness: {
2266
2226
  errorMessage: import("react").ReactNode;
2267
2227
  activeEmbeddable: {
2268
2228
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2269
- state: "hover" | "active";
2229
+ state: "active" | "hover";
2270
2230
  } | null;
2271
2231
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2272
2232
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2274,7 +2234,7 @@ export declare const actionChangeRoundness: {
2274
2234
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2275
2235
  isBindingEnabled: boolean;
2276
2236
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2277
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2237
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2278
2238
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2279
2239
  frameRendering: {
2280
2240
  enabled: boolean;
@@ -2285,7 +2245,6 @@ export declare const actionChangeRoundness: {
2285
2245
  editingFrame: string | null;
2286
2246
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2287
2247
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2288
- editingLinearElement: LinearElementEditor | null;
2289
2248
  activeTool: {
2290
2249
  lastActiveTool: import("../types").ActiveTool | null;
2291
2250
  locked: boolean;
@@ -2322,7 +2281,7 @@ export declare const actionChangeRoundness: {
2322
2281
  zoom: Readonly<{
2323
2282
  value: import("../types").NormalizedZoomValue;
2324
2283
  }>;
2325
- openMenu: "shape" | "canvas" | null;
2284
+ openMenu: "canvas" | "shape" | null;
2326
2285
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2327
2286
  openSidebar: {
2328
2287
  name: string;
@@ -2332,7 +2291,7 @@ export declare const actionChangeRoundness: {
2332
2291
  name: "imageExport" | "help" | "jsonExport";
2333
2292
  } | {
2334
2293
  name: "ttd";
2335
- tab: "text-to-diagram" | "mermaid";
2294
+ tab: "mermaid" | "text-to-diagram";
2336
2295
  } | {
2337
2296
  name: "commandPalette";
2338
2297
  } | {
@@ -2404,7 +2363,6 @@ export declare const actionChangeRoundness: {
2404
2363
  shown: true;
2405
2364
  data: import("../charts").Spreadsheet;
2406
2365
  };
2407
- pendingImageElementId: string | null;
2408
2366
  showHyperlinkPopup: false | "editor" | "info";
2409
2367
  selectedLinearElement: LinearElementEditor | null;
2410
2368
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2417,20 +2375,18 @@ export declare const actionChangeRoundness: {
2417
2375
  followedBy: Set<import("../types").SocketId>;
2418
2376
  isCropping: boolean;
2419
2377
  croppingElementId: string | null;
2420
- searchMatches: readonly {
2421
- id: string;
2422
- focus: boolean;
2423
- matchedLines: {
2424
- offsetX: number;
2425
- offsetY: number;
2426
- width: number;
2427
- height: number;
2428
- }[];
2429
- }[];
2378
+ searchMatches: Readonly<{
2379
+ focusedId: string | null;
2380
+ matches: readonly import("../types").SearchMatch[];
2381
+ }> | null;
2382
+ activeLockedId: string | null;
2383
+ lockedMultiSelections: {
2384
+ [groupId: string]: true;
2385
+ };
2430
2386
  };
2431
2387
  captureUpdate: "IMMEDIATELY";
2432
2388
  };
2433
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2389
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2434
2390
  } & {
2435
2391
  keyTest?: undefined;
2436
2392
  };
@@ -2454,7 +2410,7 @@ export declare const actionChangeArrowhead: {
2454
2410
  errorMessage: import("react").ReactNode;
2455
2411
  activeEmbeddable: {
2456
2412
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2457
- state: "hover" | "active";
2413
+ state: "active" | "hover";
2458
2414
  } | null;
2459
2415
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2460
2416
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2462,7 +2418,7 @@ export declare const actionChangeArrowhead: {
2462
2418
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2463
2419
  isBindingEnabled: boolean;
2464
2420
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2465
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2421
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2466
2422
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2467
2423
  frameRendering: {
2468
2424
  enabled: boolean;
@@ -2473,7 +2429,6 @@ export declare const actionChangeArrowhead: {
2473
2429
  editingFrame: string | null;
2474
2430
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2475
2431
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2476
- editingLinearElement: LinearElementEditor | null;
2477
2432
  activeTool: {
2478
2433
  lastActiveTool: import("../types").ActiveTool | null;
2479
2434
  locked: boolean;
@@ -2511,7 +2466,7 @@ export declare const actionChangeArrowhead: {
2511
2466
  zoom: Readonly<{
2512
2467
  value: import("../types").NormalizedZoomValue;
2513
2468
  }>;
2514
- openMenu: "shape" | "canvas" | null;
2469
+ openMenu: "canvas" | "shape" | null;
2515
2470
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2516
2471
  openSidebar: {
2517
2472
  name: string;
@@ -2521,7 +2476,7 @@ export declare const actionChangeArrowhead: {
2521
2476
  name: "imageExport" | "help" | "jsonExport";
2522
2477
  } | {
2523
2478
  name: "ttd";
2524
- tab: "text-to-diagram" | "mermaid";
2479
+ tab: "mermaid" | "text-to-diagram";
2525
2480
  } | {
2526
2481
  name: "commandPalette";
2527
2482
  } | {
@@ -2593,7 +2548,6 @@ export declare const actionChangeArrowhead: {
2593
2548
  shown: true;
2594
2549
  data: import("../charts").Spreadsheet;
2595
2550
  };
2596
- pendingImageElementId: string | null;
2597
2551
  showHyperlinkPopup: false | "editor" | "info";
2598
2552
  selectedLinearElement: LinearElementEditor | null;
2599
2553
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2606,20 +2560,18 @@ export declare const actionChangeArrowhead: {
2606
2560
  followedBy: Set<import("../types").SocketId>;
2607
2561
  isCropping: boolean;
2608
2562
  croppingElementId: string | null;
2609
- searchMatches: readonly {
2610
- id: string;
2611
- focus: boolean;
2612
- matchedLines: {
2613
- offsetX: number;
2614
- offsetY: number;
2615
- width: number;
2616
- height: number;
2617
- }[];
2618
- }[];
2563
+ searchMatches: Readonly<{
2564
+ focusedId: string | null;
2565
+ matches: readonly import("../types").SearchMatch[];
2566
+ }> | null;
2567
+ activeLockedId: string | null;
2568
+ lockedMultiSelections: {
2569
+ [groupId: string]: true;
2570
+ };
2619
2571
  };
2620
2572
  captureUpdate: "IMMEDIATELY";
2621
2573
  };
2622
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2574
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2623
2575
  } & {
2624
2576
  keyTest?: undefined;
2625
2577
  };
@@ -2641,7 +2593,7 @@ export declare const actionChangeArrowType: {
2641
2593
  errorMessage: import("react").ReactNode;
2642
2594
  activeEmbeddable: {
2643
2595
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2644
- state: "hover" | "active";
2596
+ state: "active" | "hover";
2645
2597
  } | null;
2646
2598
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2647
2599
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2649,7 +2601,7 @@ export declare const actionChangeArrowType: {
2649
2601
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2650
2602
  isBindingEnabled: boolean;
2651
2603
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2652
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2604
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2653
2605
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2654
2606
  frameRendering: {
2655
2607
  enabled: boolean;
@@ -2660,7 +2612,6 @@ export declare const actionChangeArrowType: {
2660
2612
  editingFrame: string | null;
2661
2613
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2662
2614
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2663
- editingLinearElement: LinearElementEditor | null;
2664
2615
  activeTool: {
2665
2616
  lastActiveTool: import("../types").ActiveTool | null;
2666
2617
  locked: boolean;
@@ -2697,7 +2648,7 @@ export declare const actionChangeArrowType: {
2697
2648
  zoom: Readonly<{
2698
2649
  value: import("../types").NormalizedZoomValue;
2699
2650
  }>;
2700
- openMenu: "shape" | "canvas" | null;
2651
+ openMenu: "canvas" | "shape" | null;
2701
2652
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2702
2653
  openSidebar: {
2703
2654
  name: string;
@@ -2707,7 +2658,7 @@ export declare const actionChangeArrowType: {
2707
2658
  name: "imageExport" | "help" | "jsonExport";
2708
2659
  } | {
2709
2660
  name: "ttd";
2710
- tab: "text-to-diagram" | "mermaid";
2661
+ tab: "mermaid" | "text-to-diagram";
2711
2662
  } | {
2712
2663
  name: "commandPalette";
2713
2664
  } | {
@@ -2779,7 +2730,6 @@ export declare const actionChangeArrowType: {
2779
2730
  shown: true;
2780
2731
  data: import("../charts").Spreadsheet;
2781
2732
  };
2782
- pendingImageElementId: string | null;
2783
2733
  showHyperlinkPopup: false | "editor" | "info";
2784
2734
  selectedLinearElement: LinearElementEditor | null;
2785
2735
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2792,20 +2742,18 @@ export declare const actionChangeArrowType: {
2792
2742
  followedBy: Set<import("../types").SocketId>;
2793
2743
  isCropping: boolean;
2794
2744
  croppingElementId: string | null;
2795
- searchMatches: readonly {
2796
- id: string;
2797
- focus: boolean;
2798
- matchedLines: {
2799
- offsetX: number;
2800
- offsetY: number;
2801
- width: number;
2802
- height: number;
2803
- }[];
2804
- }[];
2745
+ searchMatches: Readonly<{
2746
+ focusedId: string | null;
2747
+ matches: readonly import("../types").SearchMatch[];
2748
+ }> | null;
2749
+ activeLockedId: string | null;
2750
+ lockedMultiSelections: {
2751
+ [groupId: string]: true;
2752
+ };
2805
2753
  };
2806
2754
  captureUpdate: "IMMEDIATELY";
2807
2755
  };
2808
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2756
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2809
2757
  } & {
2810
2758
  keyTest?: undefined;
2811
2759
  };