@excalidraw/excalidraw 0.18.0-c4c0649 → 0.18.0-c6f8ef9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/dev/chunk-CP5DND7P.js +7 -0
  2. package/dist/dev/chunk-CP5DND7P.js.map +7 -0
  3. package/dist/dev/chunk-CRKRRBMD.js +5677 -0
  4. package/dist/dev/chunk-CRKRRBMD.js.map +7 -0
  5. package/dist/dev/{chunk-JCUIYZXF.js → chunk-QF5FRM6O.js} +6 -2
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-SLEZBMLG.js → image-IWGLHPIX.js} +3 -3
  8. package/dist/dev/index.css +51 -20
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +6874 -4280
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-ZDTPSZNL.js → en-SMAPCEOQ.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-A66AFZZU.js +7 -0
  16. package/dist/prod/chunk-HHV2PJKY.js +4 -0
  17. package/dist/prod/{chunk-GCFVWREF.js → chunk-I4UNSFV6.js} +4 -4
  18. package/dist/prod/data/image-4SM4COIL.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -18
  21. package/dist/prod/locales/{en-MHZ26NAR.js → en-TYY6KWIJ.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +19 -3
  25. package/dist/types/common/src/utils.d.ts +3 -5
  26. package/dist/types/element/src/Scene.d.ts +7 -3
  27. package/dist/types/element/src/align.d.ts +2 -1
  28. package/dist/types/element/src/binding.d.ts +10 -7
  29. package/dist/types/element/src/bounds.d.ts +11 -3
  30. package/dist/types/element/src/collision.d.ts +18 -12
  31. package/dist/types/element/src/cropElement.d.ts +1 -1
  32. package/dist/types/element/src/delta.d.ts +42 -9
  33. package/dist/types/element/src/distance.d.ts +2 -2
  34. package/dist/types/element/src/distribute.d.ts +2 -1
  35. package/dist/types/element/src/fractionalIndex.d.ts +8 -2
  36. package/dist/types/element/src/frame.d.ts +2 -2
  37. package/dist/types/element/src/groups.d.ts +1 -0
  38. package/dist/types/element/src/index.d.ts +1 -3
  39. package/dist/types/element/src/linearElementEditor.d.ts +14 -23
  40. package/dist/types/element/src/mutateElement.d.ts +1 -1
  41. package/dist/types/element/src/newElement.d.ts +2 -1
  42. package/dist/types/element/src/resizeElements.d.ts +1 -0
  43. package/dist/types/element/src/selection.d.ts +1 -1
  44. package/dist/types/element/src/shape.d.ts +42 -0
  45. package/dist/types/element/src/sizeHelpers.d.ts +2 -1
  46. package/dist/types/element/src/store.d.ts +19 -9
  47. package/dist/types/element/src/transformHandles.d.ts +4 -4
  48. package/dist/types/element/src/typeChecks.d.ts +15 -1
  49. package/dist/types/element/src/types.d.ts +8 -3
  50. package/dist/types/element/src/utils.d.ts +16 -6
  51. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +21 -15
  52. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  53. package/dist/types/excalidraw/actions/actionBoundText.d.ts +14 -10
  54. package/dist/types/excalidraw/actions/actionCanvas.d.ts +180 -154
  55. package/dist/types/excalidraw/actions/actionClipboard.d.ts +50 -36
  56. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +7 -5
  57. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +27 -20
  58. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  59. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  60. package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -4
  61. package/dist/types/excalidraw/actions/actionElementLock.d.ts +29 -26
  62. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +7 -5
  63. package/dist/types/excalidraw/actions/actionExport.d.ts +147 -129
  64. package/dist/types/excalidraw/actions/actionFinalize.d.ts +65 -20
  65. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  66. package/dist/types/excalidraw/actions/actionFrame.d.ts +78 -70
  67. package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -16
  68. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +533 -7
  69. package/dist/types/excalidraw/actions/actionLink.d.ts +8 -6
  70. package/dist/types/excalidraw/actions/actionMenu.d.ts +22 -16
  71. package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -10
  72. package/dist/types/excalidraw/actions/actionProperties.d.ts +119 -81
  73. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -8
  74. package/dist/types/excalidraw/actions/actionStyles.d.ts +11 -9
  75. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +9 -7
  76. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +9 -7
  77. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -6
  78. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +9 -7
  79. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +9 -7
  80. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +9 -7
  81. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  82. package/dist/types/excalidraw/actions/types.d.ts +2 -1
  83. package/dist/types/excalidraw/appState.d.ts +29 -20
  84. package/dist/types/excalidraw/components/Actions.d.ts +0 -4
  85. package/dist/types/excalidraw/components/App.d.ts +15 -16
  86. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  87. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  88. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  89. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
  90. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  91. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -0
  92. package/dist/types/excalidraw/components/icons.d.ts +2 -0
  93. package/dist/types/excalidraw/components/shapes.d.ts +1 -1
  94. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  95. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  96. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  97. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  98. package/dist/types/excalidraw/history.d.ts +21 -5
  99. package/dist/types/excalidraw/index.d.ts +2 -1
  100. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  101. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  102. package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
  103. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  104. package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
  105. package/dist/types/excalidraw/types.d.ts +15 -8
  106. package/dist/types/math/src/angle.d.ts +2 -0
  107. package/dist/types/math/src/constants.d.ts +3 -0
  108. package/dist/types/math/src/curve.d.ts +32 -0
  109. package/dist/types/math/src/index.d.ts +1 -0
  110. package/dist/types/math/src/point.d.ts +1 -1
  111. package/dist/types/math/src/rectangle.d.ts +2 -0
  112. package/dist/types/math/src/vector.d.ts +4 -2
  113. package/history.ts +107 -44
  114. package/package.json +12 -9
  115. package/dist/dev/chunk-HNRFOURL.js +0 -23482
  116. package/dist/dev/chunk-HNRFOURL.js.map +0 -7
  117. package/dist/dev/chunk-JCUIYZXF.js.map +0 -7
  118. package/dist/dev/chunk-VKWYDXFZ.js +0 -7
  119. package/dist/dev/chunk-VKWYDXFZ.js.map +0 -7
  120. package/dist/prod/chunk-G6SRO7HP.js +0 -7
  121. package/dist/prod/chunk-M3D5LUUK.js +0 -33
  122. package/dist/prod/data/image-PMKVN4IF.js +0 -1
  123. package/dist/types/element/src/Shape.d.ts +0 -17
  124. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  125. package/dist/types/element/src/shapes.d.ts +0 -23
  126. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  127. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  128. package/dist/types/utils/src/collision.d.ts +0 -8
  129. /package/dist/dev/data/{image-SLEZBMLG.js.map → image-IWGLHPIX.js.map} +0 -0
  130. /package/dist/dev/locales/{en-ZDTPSZNL.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -51,40 +51,93 @@ export declare const actionClearCanvas: {
51
51
  locked: boolean;
52
52
  fromSelection: boolean;
53
53
  } & import("../types").ActiveTool;
54
+ viewBackgroundColor: string;
55
+ frameRendering: {
56
+ enabled: boolean;
57
+ name: boolean;
58
+ outline: boolean;
59
+ clip: boolean;
60
+ };
61
+ name: string | null;
62
+ zoom: Readonly<{
63
+ value: import("../types").NormalizedZoomValue;
64
+ }>;
65
+ scrollX: number;
66
+ scrollY: number;
67
+ viewModeEnabled: boolean;
68
+ openDialog: {
69
+ name: "imageExport" | "help" | "jsonExport";
70
+ } | {
71
+ name: "ttd";
72
+ tab: "mermaid" | "text-to-diagram";
73
+ } | {
74
+ name: "commandPalette";
75
+ } | {
76
+ name: "elementLinkSelector";
77
+ sourceElementId: string;
78
+ } | null;
79
+ editingGroupId: string | null;
80
+ selectedElementIds: Readonly<{
81
+ [id: string]: true;
82
+ }>;
83
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
84
+ activeEmbeddable: {
85
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
86
+ state: "active" | "hover";
87
+ } | null;
88
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
89
+ selectedGroupIds: {
90
+ [groupId: string]: boolean;
91
+ };
92
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
93
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
94
+ isBindingEnabled: boolean;
95
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
96
+ isRotating: boolean;
97
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
98
+ collaborators: Map<import("../types").SocketId, Readonly<{
99
+ pointer?: import("../types").CollaboratorPointer | undefined;
100
+ button?: "up" | "down" | undefined;
101
+ selectedElementIds?: Readonly<{
102
+ [id: string]: true;
103
+ }> | undefined;
104
+ username?: string | null | undefined;
105
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
106
+ color?: {
107
+ background: string;
108
+ stroke: string;
109
+ } | undefined;
110
+ avatarUrl?: string | undefined;
111
+ id?: string | undefined;
112
+ socketId?: import("../types").SocketId | undefined;
113
+ isCurrentUser?: boolean | undefined;
114
+ isInCall?: boolean | undefined;
115
+ isSpeaking?: boolean | undefined;
116
+ isMuted?: boolean | undefined;
117
+ }>>;
118
+ snapLines: readonly import("../snapping").SnapLine[];
119
+ zenModeEnabled: boolean;
120
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
121
+ isCropping: boolean;
122
+ croppingElementId: string | null;
123
+ searchMatches: Readonly<{
124
+ focusedId: string | null;
125
+ matches: readonly import("../types").SearchMatch[];
126
+ }> | null;
127
+ activeLockedId: string | null;
54
128
  contextMenu: {
55
129
  items: import("../components/ContextMenu").ContextMenuItems;
56
130
  top: number;
57
131
  left: number;
58
132
  } | null;
59
- exportWithDarkMode: boolean;
60
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
61
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
62
- cursorButton: "up" | "down";
63
- scrollX: number;
64
- scrollY: number;
65
133
  showWelcomeScreen: boolean;
66
134
  isLoading: boolean;
67
135
  errorMessage: import("react").ReactNode;
68
- activeEmbeddable: {
69
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
70
- state: "hover" | "active";
71
- } | null;
72
136
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
73
137
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
74
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
75
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
76
- isBindingEnabled: boolean;
77
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
78
- frameRendering: {
79
- enabled: boolean;
80
- name: boolean;
81
- outline: boolean;
82
- clip: boolean;
83
- };
138
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
84
139
  editingFrame: string | null;
85
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
86
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
87
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
140
+ exportWithDarkMode: boolean;
88
141
  exportScale: number;
89
142
  currentItemStrokeColor: string;
90
143
  currentItemBackgroundColor: string;
@@ -101,36 +154,17 @@ export declare const actionClearCanvas: {
101
154
  currentHoveredFontFamily: number | null;
102
155
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
103
156
  currentItemArrowType: "round" | "sharp" | "elbow";
104
- viewBackgroundColor: string;
157
+ cursorButton: "up" | "down";
105
158
  scrolledOutside: boolean;
106
- name: string | null;
107
159
  isResizing: boolean;
108
- isRotating: boolean;
109
- zoom: Readonly<{
110
- value: import("../types").NormalizedZoomValue;
111
- }>;
112
160
  openMenu: "canvas" | "shape" | null;
113
161
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
114
162
  openSidebar: {
115
163
  name: string;
116
164
  tab?: string | undefined;
117
165
  } | null;
118
- openDialog: {
119
- name: "imageExport" | "help" | "jsonExport";
120
- } | {
121
- name: "ttd";
122
- tab: "text-to-diagram" | "mermaid";
123
- } | {
124
- name: "commandPalette";
125
- } | {
126
- name: "elementLinkSelector";
127
- sourceElementId: string;
128
- } | null;
129
166
  defaultSidebarDockedPreference: boolean;
130
167
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
131
- selectedElementIds: Readonly<{
132
- [id: string]: true;
133
- }>;
134
168
  hoveredElementIds: Readonly<{
135
169
  [id: string]: true;
136
170
  }>;
@@ -144,38 +178,9 @@ export declare const actionClearCanvas: {
144
178
  closable?: boolean | undefined;
145
179
  duration?: number | undefined;
146
180
  } | null;
147
- zenModeEnabled: boolean;
148
- viewModeEnabled: boolean;
149
- selectedGroupIds: {
150
- [groupId: string]: boolean;
151
- };
152
- editingGroupId: string | null;
153
181
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
154
- collaborators: Map<import("../types").SocketId, Readonly<{
155
- pointer?: import("../types").CollaboratorPointer | undefined;
156
- button?: "up" | "down" | undefined;
157
- selectedElementIds?: Readonly<{
158
- [id: string]: true;
159
- }> | undefined;
160
- username?: string | null | undefined;
161
- userState?: import("@excalidraw/common").UserIdleState | undefined;
162
- color?: {
163
- background: string;
164
- stroke: string;
165
- } | undefined;
166
- avatarUrl?: string | undefined;
167
- id?: string | undefined;
168
- socketId?: import("../types").SocketId | undefined;
169
- isCurrentUser?: boolean | undefined;
170
- isInCall?: boolean | undefined;
171
- isSpeaking?: boolean | undefined;
172
- isMuted?: boolean | undefined;
173
- }>>;
174
182
  currentChartType: import("@excalidraw/element/types").ChartType;
175
- pendingImageElementId: string | null;
176
- showHyperlinkPopup: false | "info" | "editor";
177
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
178
- snapLines: readonly import("../snapping").SnapLine[];
183
+ showHyperlinkPopup: false | "editor" | "info";
179
184
  originSnapOffset: {
180
185
  x: number;
181
186
  y: number;
@@ -183,12 +188,9 @@ export declare const actionClearCanvas: {
183
188
  objectsSnapModeEnabled: boolean;
184
189
  userToFollow: import("../types").UserToFollow | null;
185
190
  followedBy: Set<import("../types").SocketId>;
186
- isCropping: boolean;
187
- croppingElementId: string | null;
188
- searchMatches: Readonly<{
189
- focusedId: string | null;
190
- matches: readonly import("../types").SearchMatch[];
191
- }> | null;
191
+ lockedMultiSelections: {
192
+ [groupId: string]: true;
193
+ };
192
194
  };
193
195
  captureUpdate: "IMMEDIATELY";
194
196
  };
@@ -221,7 +223,7 @@ export declare const actionZoomIn: {
221
223
  errorMessage: import("react").ReactNode;
222
224
  activeEmbeddable: {
223
225
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
224
- state: "hover" | "active";
226
+ state: "active" | "hover";
225
227
  } | null;
226
228
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
227
229
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -240,7 +242,6 @@ export declare const actionZoomIn: {
240
242
  editingFrame: string | null;
241
243
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
242
244
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
243
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
244
245
  activeTool: {
245
246
  lastActiveTool: import("../types").ActiveTool | null;
246
247
  locked: boolean;
@@ -283,7 +284,7 @@ export declare const actionZoomIn: {
283
284
  name: "imageExport" | "help" | "jsonExport";
284
285
  } | {
285
286
  name: "ttd";
286
- tab: "text-to-diagram" | "mermaid";
287
+ tab: "mermaid" | "text-to-diagram";
287
288
  } | {
288
289
  name: "commandPalette";
289
290
  } | {
@@ -355,8 +356,7 @@ export declare const actionZoomIn: {
355
356
  shown: true;
356
357
  data: import("../charts").Spreadsheet;
357
358
  };
358
- pendingImageElementId: string | null;
359
- showHyperlinkPopup: false | "info" | "editor";
359
+ showHyperlinkPopup: false | "editor" | "info";
360
360
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
361
361
  snapLines: readonly import("../snapping").SnapLine[];
362
362
  originSnapOffset: {
@@ -371,13 +371,17 @@ export declare const actionZoomIn: {
371
371
  focusedId: string | null;
372
372
  matches: readonly import("../types").SearchMatch[];
373
373
  }> | null;
374
+ activeLockedId: string | null;
375
+ lockedMultiSelections: {
376
+ [groupId: string]: true;
377
+ };
374
378
  };
375
379
  captureUpdate: "EVENTUALLY";
376
380
  };
377
381
  PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
378
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
382
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
379
383
  } & {
380
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
384
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
381
385
  };
382
386
  export declare const actionZoomOut: {
383
387
  name: "zoomOut";
@@ -405,7 +409,7 @@ export declare const actionZoomOut: {
405
409
  errorMessage: import("react").ReactNode;
406
410
  activeEmbeddable: {
407
411
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
408
- state: "hover" | "active";
412
+ state: "active" | "hover";
409
413
  } | null;
410
414
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
411
415
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -424,7 +428,6 @@ export declare const actionZoomOut: {
424
428
  editingFrame: string | null;
425
429
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
426
430
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
427
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
428
431
  activeTool: {
429
432
  lastActiveTool: import("../types").ActiveTool | null;
430
433
  locked: boolean;
@@ -467,7 +470,7 @@ export declare const actionZoomOut: {
467
470
  name: "imageExport" | "help" | "jsonExport";
468
471
  } | {
469
472
  name: "ttd";
470
- tab: "text-to-diagram" | "mermaid";
473
+ tab: "mermaid" | "text-to-diagram";
471
474
  } | {
472
475
  name: "commandPalette";
473
476
  } | {
@@ -539,8 +542,7 @@ export declare const actionZoomOut: {
539
542
  shown: true;
540
543
  data: import("../charts").Spreadsheet;
541
544
  };
542
- pendingImageElementId: string | null;
543
- showHyperlinkPopup: false | "info" | "editor";
545
+ showHyperlinkPopup: false | "editor" | "info";
544
546
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
545
547
  snapLines: readonly import("../snapping").SnapLine[];
546
548
  originSnapOffset: {
@@ -555,13 +557,17 @@ export declare const actionZoomOut: {
555
557
  focusedId: string | null;
556
558
  matches: readonly import("../types").SearchMatch[];
557
559
  }> | null;
560
+ activeLockedId: string | null;
561
+ lockedMultiSelections: {
562
+ [groupId: string]: true;
563
+ };
558
564
  };
559
565
  captureUpdate: "EVENTUALLY";
560
566
  };
561
567
  PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
562
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
568
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
563
569
  } & {
564
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
570
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
565
571
  };
566
572
  export declare const actionResetZoom: {
567
573
  name: "resetZoom";
@@ -589,7 +595,7 @@ export declare const actionResetZoom: {
589
595
  errorMessage: import("react").ReactNode;
590
596
  activeEmbeddable: {
591
597
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
592
- state: "hover" | "active";
598
+ state: "active" | "hover";
593
599
  } | null;
594
600
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
595
601
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -608,7 +614,6 @@ export declare const actionResetZoom: {
608
614
  editingFrame: string | null;
609
615
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
610
616
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
611
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
612
617
  activeTool: {
613
618
  lastActiveTool: import("../types").ActiveTool | null;
614
619
  locked: boolean;
@@ -651,7 +656,7 @@ export declare const actionResetZoom: {
651
656
  name: "imageExport" | "help" | "jsonExport";
652
657
  } | {
653
658
  name: "ttd";
654
- tab: "text-to-diagram" | "mermaid";
659
+ tab: "mermaid" | "text-to-diagram";
655
660
  } | {
656
661
  name: "commandPalette";
657
662
  } | {
@@ -723,8 +728,7 @@ export declare const actionResetZoom: {
723
728
  shown: true;
724
729
  data: import("../charts").Spreadsheet;
725
730
  };
726
- pendingImageElementId: string | null;
727
- showHyperlinkPopup: false | "info" | "editor";
731
+ showHyperlinkPopup: false | "editor" | "info";
728
732
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
729
733
  snapLines: readonly import("../snapping").SnapLine[];
730
734
  originSnapOffset: {
@@ -739,13 +743,17 @@ export declare const actionResetZoom: {
739
743
  focusedId: string | null;
740
744
  matches: readonly import("../types").SearchMatch[];
741
745
  }> | null;
746
+ activeLockedId: string | null;
747
+ lockedMultiSelections: {
748
+ [groupId: string]: true;
749
+ };
742
750
  };
743
751
  captureUpdate: "EVENTUALLY";
744
752
  };
745
753
  PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
746
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
754
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
747
755
  } & {
748
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
756
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
749
757
  };
750
758
  export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
751
759
  bounds: SceneBounds;
@@ -779,7 +787,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
779
787
  errorMessage: import("react").ReactNode;
780
788
  activeEmbeddable: {
781
789
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
782
- state: "hover" | "active";
790
+ state: "active" | "hover";
783
791
  } | null;
784
792
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
785
793
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -798,7 +806,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
798
806
  editingFrame: string | null;
799
807
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
800
808
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
801
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
802
809
  activeTool: {
803
810
  lastActiveTool: import("../types").ActiveTool | null;
804
811
  locked: boolean;
@@ -841,7 +848,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
841
848
  name: "imageExport" | "help" | "jsonExport";
842
849
  } | {
843
850
  name: "ttd";
844
- tab: "text-to-diagram" | "mermaid";
851
+ tab: "mermaid" | "text-to-diagram";
845
852
  } | {
846
853
  name: "commandPalette";
847
854
  } | {
@@ -913,8 +920,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
913
920
  shown: true;
914
921
  data: import("../charts").Spreadsheet;
915
922
  };
916
- pendingImageElementId: string | null;
917
- showHyperlinkPopup: false | "info" | "editor";
923
+ showHyperlinkPopup: false | "editor" | "info";
918
924
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
919
925
  snapLines: readonly import("../snapping").SnapLine[];
920
926
  originSnapOffset: {
@@ -930,6 +936,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
930
936
  focusedId: string | null;
931
937
  matches: readonly import("../types").SearchMatch[];
932
938
  }> | null;
939
+ activeLockedId: string | null;
940
+ lockedMultiSelections: {
941
+ [groupId: string]: true;
942
+ };
933
943
  };
934
944
  captureUpdate: "EVENTUALLY";
935
945
  };
@@ -965,7 +975,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
965
975
  errorMessage: import("react").ReactNode;
966
976
  activeEmbeddable: {
967
977
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
968
- state: "hover" | "active";
978
+ state: "active" | "hover";
969
979
  } | null;
970
980
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
971
981
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -984,7 +994,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
984
994
  editingFrame: string | null;
985
995
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
986
996
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
987
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
988
997
  activeTool: {
989
998
  lastActiveTool: import("../types").ActiveTool | null;
990
999
  locked: boolean;
@@ -1027,7 +1036,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1027
1036
  name: "imageExport" | "help" | "jsonExport";
1028
1037
  } | {
1029
1038
  name: "ttd";
1030
- tab: "text-to-diagram" | "mermaid";
1039
+ tab: "mermaid" | "text-to-diagram";
1031
1040
  } | {
1032
1041
  name: "commandPalette";
1033
1042
  } | {
@@ -1099,8 +1108,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1099
1108
  shown: true;
1100
1109
  data: import("../charts").Spreadsheet;
1101
1110
  };
1102
- pendingImageElementId: string | null;
1103
- showHyperlinkPopup: false | "info" | "editor";
1111
+ showHyperlinkPopup: false | "editor" | "info";
1104
1112
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1105
1113
  snapLines: readonly import("../snapping").SnapLine[];
1106
1114
  originSnapOffset: {
@@ -1116,6 +1124,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1116
1124
  focusedId: string | null;
1117
1125
  matches: readonly import("../types").SearchMatch[];
1118
1126
  }> | null;
1127
+ activeLockedId: string | null;
1128
+ lockedMultiSelections: {
1129
+ [groupId: string]: true;
1130
+ };
1119
1131
  };
1120
1132
  captureUpdate: "EVENTUALLY";
1121
1133
  };
@@ -1143,7 +1155,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1143
1155
  errorMessage: import("react").ReactNode;
1144
1156
  activeEmbeddable: {
1145
1157
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1146
- state: "hover" | "active";
1158
+ state: "active" | "hover";
1147
1159
  } | null;
1148
1160
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1149
1161
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1162,7 +1174,6 @@ export declare const actionZoomToFitSelectionInViewport: {
1162
1174
  editingFrame: string | null;
1163
1175
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1164
1176
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1165
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1166
1177
  activeTool: {
1167
1178
  lastActiveTool: import("../types").ActiveTool | null;
1168
1179
  locked: boolean;
@@ -1205,7 +1216,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1205
1216
  name: "imageExport" | "help" | "jsonExport";
1206
1217
  } | {
1207
1218
  name: "ttd";
1208
- tab: "text-to-diagram" | "mermaid";
1219
+ tab: "mermaid" | "text-to-diagram";
1209
1220
  } | {
1210
1221
  name: "commandPalette";
1211
1222
  } | {
@@ -1277,8 +1288,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1277
1288
  shown: true;
1278
1289
  data: import("../charts").Spreadsheet;
1279
1290
  };
1280
- pendingImageElementId: string | null;
1281
- showHyperlinkPopup: false | "info" | "editor";
1291
+ showHyperlinkPopup: false | "editor" | "info";
1282
1292
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1283
1293
  snapLines: readonly import("../snapping").SnapLine[];
1284
1294
  originSnapOffset: {
@@ -1294,12 +1304,16 @@ export declare const actionZoomToFitSelectionInViewport: {
1294
1304
  focusedId: string | null;
1295
1305
  matches: readonly import("../types").SearchMatch[];
1296
1306
  }> | null;
1307
+ activeLockedId: string | null;
1308
+ lockedMultiSelections: {
1309
+ [groupId: string]: true;
1310
+ };
1297
1311
  };
1298
1312
  captureUpdate: "EVENTUALLY";
1299
1313
  };
1300
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1314
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1301
1315
  } & {
1302
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1316
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1303
1317
  };
1304
1318
  export declare const actionZoomToFitSelection: {
1305
1319
  name: "zoomToFitSelection";
@@ -1325,7 +1339,7 @@ export declare const actionZoomToFitSelection: {
1325
1339
  errorMessage: import("react").ReactNode;
1326
1340
  activeEmbeddable: {
1327
1341
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1328
- state: "hover" | "active";
1342
+ state: "active" | "hover";
1329
1343
  } | null;
1330
1344
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1331
1345
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1344,7 +1358,6 @@ export declare const actionZoomToFitSelection: {
1344
1358
  editingFrame: string | null;
1345
1359
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1346
1360
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1347
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1348
1361
  activeTool: {
1349
1362
  lastActiveTool: import("../types").ActiveTool | null;
1350
1363
  locked: boolean;
@@ -1387,7 +1400,7 @@ export declare const actionZoomToFitSelection: {
1387
1400
  name: "imageExport" | "help" | "jsonExport";
1388
1401
  } | {
1389
1402
  name: "ttd";
1390
- tab: "text-to-diagram" | "mermaid";
1403
+ tab: "mermaid" | "text-to-diagram";
1391
1404
  } | {
1392
1405
  name: "commandPalette";
1393
1406
  } | {
@@ -1459,8 +1472,7 @@ export declare const actionZoomToFitSelection: {
1459
1472
  shown: true;
1460
1473
  data: import("../charts").Spreadsheet;
1461
1474
  };
1462
- pendingImageElementId: string | null;
1463
- showHyperlinkPopup: false | "info" | "editor";
1475
+ showHyperlinkPopup: false | "editor" | "info";
1464
1476
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1465
1477
  snapLines: readonly import("../snapping").SnapLine[];
1466
1478
  originSnapOffset: {
@@ -1476,12 +1488,16 @@ export declare const actionZoomToFitSelection: {
1476
1488
  focusedId: string | null;
1477
1489
  matches: readonly import("../types").SearchMatch[];
1478
1490
  }> | null;
1491
+ activeLockedId: string | null;
1492
+ lockedMultiSelections: {
1493
+ [groupId: string]: true;
1494
+ };
1479
1495
  };
1480
1496
  captureUpdate: "EVENTUALLY";
1481
1497
  };
1482
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1498
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1483
1499
  } & {
1484
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1500
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1485
1501
  };
1486
1502
  export declare const actionZoomToFit: {
1487
1503
  name: "zoomToFit";
@@ -1508,7 +1524,7 @@ export declare const actionZoomToFit: {
1508
1524
  errorMessage: import("react").ReactNode;
1509
1525
  activeEmbeddable: {
1510
1526
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1511
- state: "hover" | "active";
1527
+ state: "active" | "hover";
1512
1528
  } | null;
1513
1529
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1514
1530
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1527,7 +1543,6 @@ export declare const actionZoomToFit: {
1527
1543
  editingFrame: string | null;
1528
1544
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1529
1545
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1530
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1531
1546
  activeTool: {
1532
1547
  lastActiveTool: import("../types").ActiveTool | null;
1533
1548
  locked: boolean;
@@ -1570,7 +1585,7 @@ export declare const actionZoomToFit: {
1570
1585
  name: "imageExport" | "help" | "jsonExport";
1571
1586
  } | {
1572
1587
  name: "ttd";
1573
- tab: "text-to-diagram" | "mermaid";
1588
+ tab: "mermaid" | "text-to-diagram";
1574
1589
  } | {
1575
1590
  name: "commandPalette";
1576
1591
  } | {
@@ -1642,8 +1657,7 @@ export declare const actionZoomToFit: {
1642
1657
  shown: true;
1643
1658
  data: import("../charts").Spreadsheet;
1644
1659
  };
1645
- pendingImageElementId: string | null;
1646
- showHyperlinkPopup: false | "info" | "editor";
1660
+ showHyperlinkPopup: false | "editor" | "info";
1647
1661
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1648
1662
  snapLines: readonly import("../snapping").SnapLine[];
1649
1663
  originSnapOffset: {
@@ -1659,12 +1673,16 @@ export declare const actionZoomToFit: {
1659
1673
  focusedId: string | null;
1660
1674
  matches: readonly import("../types").SearchMatch[];
1661
1675
  }> | null;
1676
+ activeLockedId: string | null;
1677
+ lockedMultiSelections: {
1678
+ [groupId: string]: true;
1679
+ };
1662
1680
  };
1663
1681
  captureUpdate: "EVENTUALLY";
1664
1682
  };
1665
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1683
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1666
1684
  } & {
1667
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1685
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1668
1686
  };
1669
1687
  export declare const actionToggleTheme: {
1670
1688
  name: "toggleTheme";
@@ -1688,7 +1706,7 @@ export declare const actionToggleTheme: {
1688
1706
  errorMessage: import("react").ReactNode;
1689
1707
  activeEmbeddable: {
1690
1708
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1691
- state: "hover" | "active";
1709
+ state: "active" | "hover";
1692
1710
  } | null;
1693
1711
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1694
1712
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1707,7 +1725,6 @@ export declare const actionToggleTheme: {
1707
1725
  editingFrame: string | null;
1708
1726
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1709
1727
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1710
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1711
1728
  activeTool: {
1712
1729
  lastActiveTool: import("../types").ActiveTool | null;
1713
1730
  locked: boolean;
@@ -1755,7 +1772,7 @@ export declare const actionToggleTheme: {
1755
1772
  name: "imageExport" | "help" | "jsonExport";
1756
1773
  } | {
1757
1774
  name: "ttd";
1758
- tab: "text-to-diagram" | "mermaid";
1775
+ tab: "mermaid" | "text-to-diagram";
1759
1776
  } | {
1760
1777
  name: "commandPalette";
1761
1778
  } | {
@@ -1826,8 +1843,7 @@ export declare const actionToggleTheme: {
1826
1843
  shown: true;
1827
1844
  data: import("../charts").Spreadsheet;
1828
1845
  };
1829
- pendingImageElementId: string | null;
1830
- showHyperlinkPopup: false | "info" | "editor";
1846
+ showHyperlinkPopup: false | "editor" | "info";
1831
1847
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1832
1848
  snapLines: readonly import("../snapping").SnapLine[];
1833
1849
  originSnapOffset: {
@@ -1843,13 +1859,17 @@ export declare const actionToggleTheme: {
1843
1859
  focusedId: string | null;
1844
1860
  matches: readonly import("../types").SearchMatch[];
1845
1861
  }> | null;
1862
+ activeLockedId: string | null;
1863
+ lockedMultiSelections: {
1864
+ [groupId: string]: true;
1865
+ };
1846
1866
  };
1847
1867
  captureUpdate: "EVENTUALLY";
1848
1868
  };
1849
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1869
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1850
1870
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1851
1871
  } & {
1852
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1872
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1853
1873
  };
1854
1874
  export declare const actionToggleEraserTool: {
1855
1875
  name: "toggleEraserTool";
@@ -1892,7 +1912,6 @@ export declare const actionToggleEraserTool: {
1892
1912
  editingFrame: string | null;
1893
1913
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1894
1914
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1895
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1896
1915
  penMode: boolean;
1897
1916
  penDetected: boolean;
1898
1917
  exportBackground: boolean;
@@ -1935,7 +1954,7 @@ export declare const actionToggleEraserTool: {
1935
1954
  name: "imageExport" | "help" | "jsonExport";
1936
1955
  } | {
1937
1956
  name: "ttd";
1938
- tab: "text-to-diagram" | "mermaid";
1957
+ tab: "mermaid" | "text-to-diagram";
1939
1958
  } | {
1940
1959
  name: "commandPalette";
1941
1960
  } | {
@@ -2001,8 +2020,7 @@ export declare const actionToggleEraserTool: {
2001
2020
  shown: true;
2002
2021
  data: import("../charts").Spreadsheet;
2003
2022
  };
2004
- pendingImageElementId: string | null;
2005
- showHyperlinkPopup: false | "info" | "editor";
2023
+ showHyperlinkPopup: false | "editor" | "info";
2006
2024
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2007
2025
  snapLines: readonly import("../snapping").SnapLine[];
2008
2026
  originSnapOffset: {
@@ -2018,12 +2036,16 @@ export declare const actionToggleEraserTool: {
2018
2036
  focusedId: string | null;
2019
2037
  matches: readonly import("../types").SearchMatch[];
2020
2038
  }> | null;
2039
+ activeLockedId: string | null;
2040
+ lockedMultiSelections: {
2041
+ [groupId: string]: true;
2042
+ };
2021
2043
  };
2022
2044
  captureUpdate: "IMMEDIATELY";
2023
2045
  };
2024
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
2046
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2025
2047
  } & {
2026
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
2048
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2027
2049
  };
2028
2050
  export declare const actionToggleLassoTool: {
2029
2051
  name: "toggleLassoTool";
@@ -2067,7 +2089,6 @@ export declare const actionToggleLassoTool: {
2067
2089
  editingFrame: string | null;
2068
2090
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2069
2091
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2070
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2071
2092
  penMode: boolean;
2072
2093
  penDetected: boolean;
2073
2094
  exportBackground: boolean;
@@ -2110,7 +2131,7 @@ export declare const actionToggleLassoTool: {
2110
2131
  name: "imageExport" | "help" | "jsonExport";
2111
2132
  } | {
2112
2133
  name: "ttd";
2113
- tab: "text-to-diagram" | "mermaid";
2134
+ tab: "mermaid" | "text-to-diagram";
2114
2135
  } | {
2115
2136
  name: "commandPalette";
2116
2137
  } | {
@@ -2176,8 +2197,7 @@ export declare const actionToggleLassoTool: {
2176
2197
  shown: true;
2177
2198
  data: import("../charts").Spreadsheet;
2178
2199
  };
2179
- pendingImageElementId: string | null;
2180
- showHyperlinkPopup: false | "info" | "editor";
2200
+ showHyperlinkPopup: false | "editor" | "info";
2181
2201
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2182
2202
  snapLines: readonly import("../snapping").SnapLine[];
2183
2203
  originSnapOffset: {
@@ -2193,6 +2213,10 @@ export declare const actionToggleLassoTool: {
2193
2213
  focusedId: string | null;
2194
2214
  matches: readonly import("../types").SearchMatch[];
2195
2215
  }> | null;
2216
+ activeLockedId: string | null;
2217
+ lockedMultiSelections: {
2218
+ [groupId: string]: true;
2219
+ };
2196
2220
  };
2197
2221
  captureUpdate: "NEVER";
2198
2222
  };
@@ -2242,7 +2266,6 @@ export declare const actionToggleHandTool: {
2242
2266
  editingFrame: string | null;
2243
2267
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2244
2268
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2245
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2246
2269
  penMode: boolean;
2247
2270
  penDetected: boolean;
2248
2271
  exportBackground: boolean;
@@ -2285,7 +2308,7 @@ export declare const actionToggleHandTool: {
2285
2308
  name: "imageExport" | "help" | "jsonExport";
2286
2309
  } | {
2287
2310
  name: "ttd";
2288
- tab: "text-to-diagram" | "mermaid";
2311
+ tab: "mermaid" | "text-to-diagram";
2289
2312
  } | {
2290
2313
  name: "commandPalette";
2291
2314
  } | {
@@ -2351,8 +2374,7 @@ export declare const actionToggleHandTool: {
2351
2374
  shown: true;
2352
2375
  data: import("../charts").Spreadsheet;
2353
2376
  };
2354
- pendingImageElementId: string | null;
2355
- showHyperlinkPopup: false | "info" | "editor";
2377
+ showHyperlinkPopup: false | "editor" | "info";
2356
2378
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2357
2379
  snapLines: readonly import("../snapping").SnapLine[];
2358
2380
  originSnapOffset: {
@@ -2368,10 +2390,14 @@ export declare const actionToggleHandTool: {
2368
2390
  focusedId: string | null;
2369
2391
  matches: readonly import("../types").SearchMatch[];
2370
2392
  }> | null;
2393
+ activeLockedId: string | null;
2394
+ lockedMultiSelections: {
2395
+ [groupId: string]: true;
2396
+ };
2371
2397
  };
2372
2398
  captureUpdate: "IMMEDIATELY";
2373
2399
  };
2374
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
2400
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2375
2401
  } & {
2376
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
2402
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2377
2403
  };