@excalidraw/element 0.18.0-063e025 → 0.18.0-1118751

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 (154) hide show
  1. package/dist/dev/index.js +13047 -9808
  2. package/dist/dev/index.js.map +4 -4
  3. package/dist/prod/index.js +19 -19
  4. package/dist/types/common/src/colors.d.ts +22 -0
  5. package/dist/types/common/src/constants.d.ts +54 -0
  6. package/dist/types/common/src/keys.d.ts +4 -0
  7. package/dist/types/common/src/points.d.ts +1 -1
  8. package/dist/types/common/src/random.d.ts +7 -0
  9. package/dist/types/common/src/utils.d.ts +1 -1
  10. package/dist/types/element/src/Scene.d.ts +1 -1
  11. package/dist/types/element/src/arrowEndpointText.d.ts +49 -0
  12. package/dist/types/element/src/arrows/focus.d.ts +5 -2
  13. package/dist/types/element/src/binding.d.ts +15 -8
  14. package/dist/types/element/src/bucketFill.d.ts +110 -0
  15. package/dist/types/element/src/collision.d.ts +8 -5
  16. package/dist/types/element/src/comparisons.d.ts +7 -5
  17. package/dist/types/element/src/convertToShape.d.ts +23 -0
  18. package/dist/types/element/src/delta.d.ts +23 -1
  19. package/dist/types/element/src/dragElements.d.ts +27 -0
  20. package/dist/types/element/src/duplicate.d.ts +60 -0
  21. package/dist/types/element/src/flowchart.d.ts +10 -6
  22. package/dist/types/element/src/frame.d.ts +2 -2
  23. package/dist/types/element/src/groups.d.ts +1 -1
  24. package/dist/types/element/src/index.d.ts +4 -0
  25. package/dist/types/element/src/linearElementEditor.d.ts +17 -0
  26. package/dist/types/element/src/mutateElement.d.ts +1 -1
  27. package/dist/types/element/src/newElement.d.ts +37 -2
  28. package/dist/types/element/src/renderElement.d.ts +21 -4
  29. package/dist/types/element/src/selection.d.ts +1 -1
  30. package/dist/types/element/src/shape.d.ts +27 -1
  31. package/dist/types/element/src/sizeHelpers.d.ts +6 -0
  32. package/dist/types/element/src/sortElements.d.ts +10 -0
  33. package/dist/types/element/src/stickyNote.d.ts +183 -0
  34. package/dist/types/element/src/textElement.d.ts +7 -3
  35. package/dist/types/element/src/transform.d.ts +25 -6
  36. package/dist/types/element/src/typeChecks.d.ts +3 -2
  37. package/dist/types/element/src/types.d.ts +35 -6
  38. package/dist/types/element/src/utils.d.ts +15 -4
  39. package/dist/types/element/src/zindex.d.ts +1 -1
  40. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +48 -9
  41. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
  42. package/dist/types/excalidraw/actions/actionBoundText.d.ts +32 -6
  43. package/dist/types/excalidraw/actions/actionCanvas.d.ts +173 -576
  44. package/dist/types/excalidraw/actions/actionClipboard.d.ts +32 -6
  45. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +16 -3
  46. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +50 -10
  47. package/dist/types/excalidraw/actions/actionDeselect.d.ts +13 -3
  48. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  49. package/dist/types/excalidraw/actions/actionElementLink.d.ts +16 -3
  50. package/dist/types/excalidraw/actions/actionElementLock.d.ts +32 -6
  51. package/dist/types/excalidraw/actions/actionExport.d.ts +34 -8
  52. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
  53. package/dist/types/excalidraw/actions/actionFrame.d.ts +99 -185
  54. package/dist/types/excalidraw/actions/actionGroup.d.ts +33 -7
  55. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +68 -4
  56. package/dist/types/excalidraw/actions/actionLink.d.ts +16 -3
  57. package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -3
  58. package/dist/types/excalidraw/actions/actionProperties.d.ts +45 -12
  59. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -3
  60. package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -4
  61. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  62. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +16 -3
  63. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -3
  64. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +16 -3
  65. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -3
  66. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -3
  67. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -3
  68. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +17 -4
  69. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -3
  70. package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
  71. package/dist/types/excalidraw/actions/index.d.ts +1 -2
  72. package/dist/types/excalidraw/actions/manager.d.ts +1 -0
  73. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  74. package/dist/types/excalidraw/actions/types.d.ts +5 -1
  75. package/dist/types/excalidraw/appState.d.ts +26 -5
  76. package/dist/types/excalidraw/components/Actions.d.ts +16 -10
  77. package/dist/types/excalidraw/components/App.arrowText.d.ts +104 -0
  78. package/dist/types/excalidraw/components/App.bucketFill.d.ts +48 -0
  79. package/dist/types/excalidraw/components/App.cursor.d.ts +38 -0
  80. package/dist/types/excalidraw/components/App.d.ts +468 -99
  81. package/dist/types/excalidraw/components/App.drawshape.d.ts +55 -0
  82. package/dist/types/excalidraw/components/App.duplicate.d.ts +51 -0
  83. package/dist/types/excalidraw/components/App.flowchart.d.ts +21 -0
  84. package/dist/types/excalidraw/components/App.pan.d.ts +54 -0
  85. package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
  86. package/dist/types/excalidraw/components/App.viewport.d.ts +73 -0
  87. package/dist/types/excalidraw/components/App.wheel.d.ts +26 -0
  88. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +8 -2
  89. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
  90. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +5 -1
  91. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -2
  92. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
  93. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
  94. package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
  95. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -1
  96. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
  97. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
  98. package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
  99. package/dist/types/excalidraw/components/IconButton.d.ts +48 -0
  100. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +2 -4
  101. package/dist/types/excalidraw/components/LayerUI.d.ts +5 -2
  102. package/dist/types/excalidraw/components/LockButton.d.ts +3 -4
  103. package/dist/types/excalidraw/components/MagicButton.d.ts +0 -2
  104. package/dist/types/excalidraw/components/MobileMenu.d.ts +4 -4
  105. package/dist/types/excalidraw/components/MobileToolbar.d.ts +9 -0
  106. package/dist/types/excalidraw/components/PenModeButton.d.ts +2 -5
  107. package/dist/types/excalidraw/components/Popover.d.ts +1 -3
  108. package/dist/types/excalidraw/components/{ButtonIcon.d.ts → RadioButton.d.ts} +2 -5
  109. package/dist/types/excalidraw/components/ToolPopover.d.ts +3 -6
  110. package/dist/types/excalidraw/components/Toolbar.d.ts +11 -0
  111. package/dist/types/excalidraw/components/Tools.d.ts +151 -0
  112. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
  113. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
  114. package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
  115. package/dist/types/excalidraw/components/UserList.d.ts +3 -2
  116. package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
  117. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -0
  118. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -0
  119. package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
  120. package/dist/types/excalidraw/components/icons.d.ts +5 -1
  121. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -1
  122. package/dist/types/excalidraw/components/positionElementBesideCursor.d.ts +26 -0
  123. package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +39 -0
  124. package/dist/types/excalidraw/data/blob.d.ts +36 -10
  125. package/dist/types/excalidraw/data/json.d.ts +18 -5
  126. package/dist/types/excalidraw/drawShapeTrail.d.ts +16 -0
  127. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -2
  128. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
  129. package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
  130. package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
  131. package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
  132. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  133. package/dist/types/excalidraw/scene/Renderer.d.ts +64 -2
  134. package/dist/types/excalidraw/scene/index.d.ts +1 -1
  135. package/dist/types/excalidraw/scene/types.d.ts +6 -1
  136. package/dist/types/excalidraw/types.d.ts +341 -21
  137. package/dist/types/excalidraw/viewport.d.ts +31 -66
  138. package/dist/types/laser-pointer/src/state.d.ts +1 -0
  139. package/dist/types/math/src/curve.d.ts +19 -12
  140. package/dist/types/math/src/index.d.ts +1 -0
  141. package/dist/types/math/src/pca.d.ts +79 -0
  142. package/dist/types/math/src/polygon.d.ts +25 -1
  143. package/dist/types/math/src/segment.d.ts +6 -0
  144. package/dist/types/utils/src/export.d.ts +1 -0
  145. package/dist/types/utils/src/shape.d.ts +2 -2
  146. package/package.json +4 -4
  147. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +0 -173
  148. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
  149. package/dist/types/excalidraw/components/HandButton.d.ts +0 -10
  150. package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -10
  151. package/dist/types/excalidraw/components/ToolButton.d.ts +0 -49
  152. package/dist/types/excalidraw/components/shapes.d.ts +0 -270
  153. package/dist/types/excalidraw/cursor.d.ts +0 -5
  154. package/dist/types/excalidraw/scene/zoom.d.ts +0 -12
@@ -30,10 +30,15 @@ export declare const actionPaste: {
30
30
  boxSelectionMode: import("../types").BoxSelectionMode;
31
31
  bindingPreference: "enabled" | "disabled";
32
32
  isMidpointSnappingEnabled: boolean;
33
+ inputDevice: import("../types").InputDevice;
33
34
  suggestedBinding: {
34
35
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
35
36
  midPoint?: import("@excalidraw/math").GlobalPoint;
36
37
  } | null;
38
+ hoveredArrowTextAnchor: {
39
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
40
+ anchor: "start" | "end" | "label";
41
+ } | null;
37
42
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
38
43
  frameRendering: {
39
44
  enabled: boolean;
@@ -41,7 +46,7 @@ export declare const actionPaste: {
41
46
  outline: boolean;
42
47
  clip: boolean;
43
48
  };
44
- editingFrame: string | null;
49
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
45
50
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
46
51
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
47
52
  activeTool: {
@@ -60,6 +65,8 @@ export declare const actionPaste: {
60
65
  exportWithDarkMode: boolean;
61
66
  exportScale: number;
62
67
  currentItemStrokeColor: string;
68
+ currentItemStickynoteStrokeColor: string;
69
+ currentItemStickynoteBackgroundColor: string;
63
70
  currentItemBackgroundColor: string;
64
71
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
65
72
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -154,8 +161,6 @@ export declare const actionPaste: {
154
161
  y: number;
155
162
  } | null;
156
163
  objectsSnapModeEnabled: boolean;
157
- userToFollow: import("../types").UserToFollow | null;
158
- followedBy: Set<import("../types").SocketId>;
159
164
  isCropping: boolean;
160
165
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
161
166
  searchMatches: Readonly<{
@@ -167,6 +172,14 @@ export declare const actionPaste: {
167
172
  [groupId: string]: true;
168
173
  };
169
174
  bindMode: import("@excalidraw/element/types").BindMode;
175
+ colorTopPicks: {
176
+ elementStroke: readonly string[] | null;
177
+ elementBackground: readonly string[] | null;
178
+ bucketFill: readonly string[] | null;
179
+ stickyNoteStroke: readonly string[] | null;
180
+ stickyNoteBackground: readonly string[] | null;
181
+ };
182
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
170
183
  };
171
184
  } | {
172
185
  captureUpdate: "EVENTUALLY";
@@ -241,10 +254,15 @@ export declare const actionCopyAsPng: {
241
254
  boxSelectionMode: import("../types").BoxSelectionMode;
242
255
  bindingPreference: "enabled" | "disabled";
243
256
  isMidpointSnappingEnabled: boolean;
257
+ inputDevice: import("../types").InputDevice;
244
258
  suggestedBinding: {
245
259
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
246
260
  midPoint?: import("@excalidraw/math").GlobalPoint;
247
261
  } | null;
262
+ hoveredArrowTextAnchor: {
263
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
264
+ anchor: "start" | "end" | "label";
265
+ } | null;
248
266
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
249
267
  frameRendering: {
250
268
  enabled: boolean;
@@ -252,7 +270,7 @@ export declare const actionCopyAsPng: {
252
270
  outline: boolean;
253
271
  clip: boolean;
254
272
  };
255
- editingFrame: string | null;
273
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
256
274
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
257
275
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
258
276
  activeTool: {
@@ -271,6 +289,8 @@ export declare const actionCopyAsPng: {
271
289
  exportWithDarkMode: boolean;
272
290
  exportScale: number;
273
291
  currentItemStrokeColor: string;
292
+ currentItemStickynoteStrokeColor: string;
293
+ currentItemStickynoteBackgroundColor: string;
274
294
  currentItemBackgroundColor: string;
275
295
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
276
296
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -365,8 +385,6 @@ export declare const actionCopyAsPng: {
365
385
  y: number;
366
386
  } | null;
367
387
  objectsSnapModeEnabled: boolean;
368
- userToFollow: import("../types").UserToFollow | null;
369
- followedBy: Set<import("../types").SocketId>;
370
388
  isCropping: boolean;
371
389
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
372
390
  searchMatches: Readonly<{
@@ -378,6 +396,14 @@ export declare const actionCopyAsPng: {
378
396
  [groupId: string]: true;
379
397
  };
380
398
  bindMode: import("@excalidraw/element/types").BindMode;
399
+ colorTopPicks: {
400
+ elementStroke: readonly string[] | null;
401
+ elementBackground: readonly string[] | null;
402
+ bucketFill: readonly string[] | null;
403
+ stickyNoteStroke: readonly string[] | null;
404
+ stickyNoteBackground: readonly string[] | null;
405
+ };
406
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
381
407
  };
382
408
  captureUpdate: "EVENTUALLY";
383
409
  }>;
@@ -31,10 +31,15 @@ export declare const actionToggleCropEditor: {
31
31
  boxSelectionMode: import("../types").BoxSelectionMode;
32
32
  bindingPreference: "enabled" | "disabled";
33
33
  isMidpointSnappingEnabled: boolean;
34
+ inputDevice: import("../types").InputDevice;
34
35
  suggestedBinding: {
35
36
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
36
37
  midPoint?: import("@excalidraw/math").GlobalPoint;
37
38
  } | null;
39
+ hoveredArrowTextAnchor: {
40
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
41
+ anchor: "start" | "end" | "label";
42
+ } | null;
38
43
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
39
44
  frameRendering: {
40
45
  enabled: boolean;
@@ -42,7 +47,7 @@ export declare const actionToggleCropEditor: {
42
47
  outline: boolean;
43
48
  clip: boolean;
44
49
  };
45
- editingFrame: string | null;
50
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
46
51
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
47
52
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
48
53
  activeTool: {
@@ -61,6 +66,8 @@ export declare const actionToggleCropEditor: {
61
66
  exportWithDarkMode: boolean;
62
67
  exportScale: number;
63
68
  currentItemStrokeColor: string;
69
+ currentItemStickynoteStrokeColor: string;
70
+ currentItemStickynoteBackgroundColor: string;
64
71
  currentItemBackgroundColor: string;
65
72
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
66
73
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -155,8 +162,6 @@ export declare const actionToggleCropEditor: {
155
162
  y: number;
156
163
  } | null;
157
164
  objectsSnapModeEnabled: boolean;
158
- userToFollow: import("../types").UserToFollow | null;
159
- followedBy: Set<import("../types").SocketId>;
160
165
  searchMatches: Readonly<{
161
166
  focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
162
167
  matches: readonly import("../types").SearchMatch[];
@@ -166,6 +171,14 @@ export declare const actionToggleCropEditor: {
166
171
  [groupId: string]: true;
167
172
  };
168
173
  bindMode: import("@excalidraw/element/types").BindMode;
174
+ colorTopPicks: {
175
+ elementStroke: readonly string[] | null;
176
+ elementBackground: readonly string[] | null;
177
+ bucketFill: readonly string[] | null;
178
+ stickyNoteStroke: readonly string[] | null;
179
+ stickyNoteBackground: readonly string[] | null;
180
+ };
181
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
169
182
  };
170
183
  captureUpdate: "IMMEDIATELY";
171
184
  };
@@ -32,10 +32,15 @@ export declare const actionDeleteSelected: {
32
32
  boxSelectionMode: import("../types").BoxSelectionMode;
33
33
  bindingPreference: "enabled" | "disabled";
34
34
  isMidpointSnappingEnabled: boolean;
35
+ inputDevice: import("../types").InputDevice;
35
36
  suggestedBinding: {
36
37
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
37
38
  midPoint?: import("@excalidraw/math").GlobalPoint;
38
39
  } | null;
40
+ hoveredArrowTextAnchor: {
41
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
42
+ anchor: "start" | "end" | "label";
43
+ } | null;
39
44
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
40
45
  frameRendering: {
41
46
  enabled: boolean;
@@ -43,7 +48,7 @@ export declare const actionDeleteSelected: {
43
48
  outline: boolean;
44
49
  clip: boolean;
45
50
  };
46
- editingFrame: string | null;
51
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
47
52
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
48
53
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
49
54
  activeTool: {
@@ -62,6 +67,8 @@ export declare const actionDeleteSelected: {
62
67
  exportWithDarkMode: boolean;
63
68
  exportScale: number;
64
69
  currentItemStrokeColor: string;
70
+ currentItemStickynoteStrokeColor: string;
71
+ currentItemStickynoteBackgroundColor: string;
65
72
  currentItemBackgroundColor: string;
66
73
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
67
74
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -155,8 +162,6 @@ export declare const actionDeleteSelected: {
155
162
  y: number;
156
163
  } | null;
157
164
  objectsSnapModeEnabled: boolean;
158
- userToFollow: import("../types").UserToFollow | null;
159
- followedBy: Set<import("../types").SocketId>;
160
165
  isCropping: boolean;
161
166
  croppingElementId: ExcalidrawElement["id"] | null;
162
167
  searchMatches: Readonly<{
@@ -168,6 +173,14 @@ export declare const actionDeleteSelected: {
168
173
  [groupId: string]: true;
169
174
  };
170
175
  bindMode: import("@excalidraw/element/types").BindMode;
176
+ colorTopPicks: {
177
+ elementStroke: readonly string[] | null;
178
+ elementBackground: readonly string[] | null;
179
+ bucketFill: readonly string[] | null;
180
+ stickyNoteStroke: readonly string[] | null;
181
+ stickyNoteBackground: readonly string[] | null;
182
+ };
183
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
171
184
  };
172
185
  captureUpdate: "IMMEDIATELY";
173
186
  } | {
@@ -189,6 +202,7 @@ export declare const actionDeleteSelected: {
189
202
  };
190
203
  arrowStartIsInside: boolean;
191
204
  altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
205
+ arrowOtherEndpointInitialBinding: import("@excalidraw/element/types").FixedPointBinding | null;
192
206
  }>;
193
207
  isDragging: boolean;
194
208
  lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
@@ -226,10 +240,15 @@ export declare const actionDeleteSelected: {
226
240
  boxSelectionMode: import("../types").BoxSelectionMode;
227
241
  bindingPreference: "enabled" | "disabled";
228
242
  isMidpointSnappingEnabled: boolean;
243
+ inputDevice: import("../types").InputDevice;
229
244
  suggestedBinding: {
230
245
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
231
246
  midPoint?: import("@excalidraw/math").GlobalPoint;
232
247
  } | null;
248
+ hoveredArrowTextAnchor: {
249
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
250
+ anchor: "start" | "end" | "label";
251
+ } | null;
233
252
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
234
253
  frameRendering: {
235
254
  enabled: boolean;
@@ -237,7 +256,7 @@ export declare const actionDeleteSelected: {
237
256
  outline: boolean;
238
257
  clip: boolean;
239
258
  };
240
- editingFrame: string | null;
259
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
241
260
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
242
261
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
243
262
  activeTool: {
@@ -256,6 +275,8 @@ export declare const actionDeleteSelected: {
256
275
  exportWithDarkMode: boolean;
257
276
  exportScale: number;
258
277
  currentItemStrokeColor: string;
278
+ currentItemStickynoteStrokeColor: string;
279
+ currentItemStickynoteBackgroundColor: string;
259
280
  currentItemBackgroundColor: string;
260
281
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
261
282
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -349,8 +370,6 @@ export declare const actionDeleteSelected: {
349
370
  y: number;
350
371
  } | null;
351
372
  objectsSnapModeEnabled: boolean;
352
- userToFollow: import("../types").UserToFollow | null;
353
- followedBy: Set<import("../types").SocketId>;
354
373
  isCropping: boolean;
355
374
  croppingElementId: ExcalidrawElement["id"] | null;
356
375
  searchMatches: Readonly<{
@@ -362,10 +381,18 @@ export declare const actionDeleteSelected: {
362
381
  [groupId: string]: true;
363
382
  };
364
383
  bindMode: import("@excalidraw/element/types").BindMode;
384
+ colorTopPicks: {
385
+ elementStroke: readonly string[] | null;
386
+ elementBackground: readonly string[] | null;
387
+ bucketFill: readonly string[] | null;
388
+ stickyNoteStroke: readonly string[] | null;
389
+ stickyNoteBackground: readonly string[] | null;
390
+ };
391
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
365
392
  };
366
393
  captureUpdate: "IMMEDIATELY";
367
394
  } | {
368
- elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
395
+ elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
369
396
  appState: {
370
397
  activeTool: {
371
398
  lastActiveTool: import("../types").ActiveTool | null;
@@ -393,10 +420,15 @@ export declare const actionDeleteSelected: {
393
420
  boxSelectionMode: import("../types").BoxSelectionMode;
394
421
  bindingPreference: "enabled" | "disabled";
395
422
  isMidpointSnappingEnabled: boolean;
423
+ inputDevice: import("../types").InputDevice;
396
424
  suggestedBinding: {
397
425
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
398
426
  midPoint?: import("@excalidraw/math").GlobalPoint;
399
427
  } | null;
428
+ hoveredArrowTextAnchor: {
429
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
430
+ anchor: "start" | "end" | "label";
431
+ } | null;
400
432
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
401
433
  frameRendering: {
402
434
  enabled: boolean;
@@ -404,7 +436,7 @@ export declare const actionDeleteSelected: {
404
436
  outline: boolean;
405
437
  clip: boolean;
406
438
  };
407
- editingFrame: string | null;
439
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
408
440
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
409
441
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
410
442
  preferredSelectionTool: {
@@ -418,6 +450,8 @@ export declare const actionDeleteSelected: {
418
450
  exportWithDarkMode: boolean;
419
451
  exportScale: number;
420
452
  currentItemStrokeColor: string;
453
+ currentItemStickynoteStrokeColor: string;
454
+ currentItemStickynoteBackgroundColor: string;
421
455
  currentItemBackgroundColor: string;
422
456
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
423
457
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -504,8 +538,6 @@ export declare const actionDeleteSelected: {
504
538
  y: number;
505
539
  } | null;
506
540
  objectsSnapModeEnabled: boolean;
507
- userToFollow: import("../types").UserToFollow | null;
508
- followedBy: Set<import("../types").SocketId>;
509
541
  isCropping: boolean;
510
542
  croppingElementId: ExcalidrawElement["id"] | null;
511
543
  searchMatches: Readonly<{
@@ -517,6 +549,14 @@ export declare const actionDeleteSelected: {
517
549
  [groupId: string]: true;
518
550
  };
519
551
  bindMode: import("@excalidraw/element/types").BindMode;
552
+ colorTopPicks: {
553
+ elementStroke: readonly string[] | null;
554
+ elementBackground: readonly string[] | null;
555
+ bucketFill: readonly string[] | null;
556
+ stickyNoteStroke: readonly string[] | null;
557
+ stickyNoteBackground: readonly string[] | null;
558
+ };
559
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
520
560
  };
521
561
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
522
562
  };
@@ -15,6 +15,7 @@ export declare const actionDeselect: {
15
15
  selectionElement: null;
16
16
  showHyperlinkPopup: false;
17
17
  suggestedBinding: null;
18
+ hoveredArrowTextAnchor: null;
18
19
  frameToHighlight: null;
19
20
  editingGroupId: AppState["editingGroupId"];
20
21
  selectedElementIds: AppState["selectedElementIds"];
@@ -34,13 +35,14 @@ export declare const actionDeselect: {
34
35
  boxSelectionMode: import("../types").BoxSelectionMode;
35
36
  bindingPreference: "enabled" | "disabled";
36
37
  isMidpointSnappingEnabled: boolean;
38
+ inputDevice: import("../types").InputDevice;
37
39
  frameRendering: {
38
40
  enabled: boolean;
39
41
  name: boolean;
40
42
  outline: boolean;
41
43
  clip: boolean;
42
44
  };
43
- editingFrame: string | null;
45
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
44
46
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
45
47
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
46
48
  preferredSelectionTool: {
@@ -54,6 +56,8 @@ export declare const actionDeselect: {
54
56
  exportWithDarkMode: boolean;
55
57
  exportScale: number;
56
58
  currentItemStrokeColor: string;
59
+ currentItemStickynoteStrokeColor: string;
60
+ currentItemStickynoteBackgroundColor: string;
57
61
  currentItemBackgroundColor: string;
58
62
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
59
63
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -139,8 +143,6 @@ export declare const actionDeselect: {
139
143
  y: number;
140
144
  } | null;
141
145
  objectsSnapModeEnabled: boolean;
142
- userToFollow: import("../types").UserToFollow | null;
143
- followedBy: Set<import("../types").SocketId>;
144
146
  isCropping: boolean;
145
147
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
146
148
  searchMatches: Readonly<{
@@ -152,6 +154,14 @@ export declare const actionDeselect: {
152
154
  [groupId: string]: true;
153
155
  };
154
156
  bindMode: import("@excalidraw/element/types").BindMode;
157
+ colorTopPicks: {
158
+ elementStroke: readonly string[] | null;
159
+ elementBackground: readonly string[] | null;
160
+ bucketFill: readonly string[] | null;
161
+ stickyNoteStroke: readonly string[] | null;
162
+ stickyNoteBackground: readonly string[] | null;
163
+ };
164
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
155
165
  };
156
166
  captureUpdate: "IMMEDIATELY";
157
167
  };
@@ -7,7 +7,7 @@ export declare const distributeHorizontally: {
7
7
  };
8
8
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
9
9
  appState: Readonly<AppState>;
10
- elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
10
+ elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
11
11
  captureUpdate: "IMMEDIATELY";
12
12
  };
13
13
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
@@ -23,7 +23,7 @@ export declare const distributeVertically: {
23
23
  };
24
24
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
25
25
  appState: Readonly<AppState>;
26
- elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
26
+ elements: (import("@excalidraw/element/types").ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | import("@excalidraw/element/types").ExcalidrawTextElement | import("@excalidraw/element/types").ExcalidrawFreeDrawElement)[];
27
27
  captureUpdate: "IMMEDIATELY";
28
28
  };
29
29
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
@@ -60,10 +60,15 @@ export declare const actionLinkToElement: {
60
60
  boxSelectionMode: import("../types").BoxSelectionMode;
61
61
  bindingPreference: "enabled" | "disabled";
62
62
  isMidpointSnappingEnabled: boolean;
63
+ inputDevice: import("../types").InputDevice;
63
64
  suggestedBinding: {
64
65
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
65
66
  midPoint?: import("@excalidraw/math").GlobalPoint;
66
67
  } | null;
68
+ hoveredArrowTextAnchor: {
69
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
70
+ anchor: "start" | "end" | "label";
71
+ } | null;
67
72
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
68
73
  frameRendering: {
69
74
  enabled: boolean;
@@ -71,7 +76,7 @@ export declare const actionLinkToElement: {
71
76
  outline: boolean;
72
77
  clip: boolean;
73
78
  };
74
- editingFrame: string | null;
79
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
75
80
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
76
81
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
77
82
  activeTool: {
@@ -90,6 +95,8 @@ export declare const actionLinkToElement: {
90
95
  exportWithDarkMode: boolean;
91
96
  exportScale: number;
92
97
  currentItemStrokeColor: string;
98
+ currentItemStickynoteStrokeColor: string;
99
+ currentItemStickynoteBackgroundColor: string;
93
100
  currentItemBackgroundColor: string;
94
101
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
95
102
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -167,8 +174,6 @@ export declare const actionLinkToElement: {
167
174
  y: number;
168
175
  } | null;
169
176
  objectsSnapModeEnabled: boolean;
170
- userToFollow: import("../types").UserToFollow | null;
171
- followedBy: Set<import("../types").SocketId>;
172
177
  isCropping: boolean;
173
178
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
174
179
  searchMatches: Readonly<{
@@ -180,6 +185,14 @@ export declare const actionLinkToElement: {
180
185
  [groupId: string]: true;
181
186
  };
182
187
  bindMode: import("@excalidraw/element/types").BindMode;
188
+ colorTopPicks: {
189
+ elementStroke: readonly string[] | null;
190
+ elementBackground: readonly string[] | null;
191
+ bucketFill: readonly string[] | null;
192
+ stickyNoteStroke: readonly string[] | null;
193
+ stickyNoteBackground: readonly string[] | null;
194
+ };
195
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
183
196
  };
184
197
  captureUpdate: "IMMEDIATELY";
185
198
  elements?: undefined;
@@ -42,10 +42,15 @@ export declare const actionToggleElementLock: {
42
42
  boxSelectionMode: import("../types").BoxSelectionMode;
43
43
  bindingPreference: "enabled" | "disabled";
44
44
  isMidpointSnappingEnabled: boolean;
45
+ inputDevice: import("../types").InputDevice;
45
46
  suggestedBinding: {
46
47
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
47
48
  midPoint?: import("@excalidraw/math").GlobalPoint;
48
49
  } | null;
50
+ hoveredArrowTextAnchor: {
51
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
52
+ anchor: "start" | "end" | "label";
53
+ } | null;
49
54
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
50
55
  frameRendering: {
51
56
  enabled: boolean;
@@ -53,7 +58,7 @@ export declare const actionToggleElementLock: {
53
58
  outline: boolean;
54
59
  clip: boolean;
55
60
  };
56
- editingFrame: string | null;
61
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
57
62
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
58
63
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
59
64
  activeTool: {
@@ -72,6 +77,8 @@ export declare const actionToggleElementLock: {
72
77
  exportWithDarkMode: boolean;
73
78
  exportScale: number;
74
79
  currentItemStrokeColor: string;
80
+ currentItemStickynoteStrokeColor: string;
81
+ currentItemStickynoteBackgroundColor: string;
75
82
  currentItemBackgroundColor: string;
76
83
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
77
84
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -159,8 +166,6 @@ export declare const actionToggleElementLock: {
159
166
  y: number;
160
167
  } | null;
161
168
  objectsSnapModeEnabled: boolean;
162
- userToFollow: import("../types").UserToFollow | null;
163
- followedBy: Set<import("../types").SocketId>;
164
169
  isCropping: boolean;
165
170
  croppingElementId: ExcalidrawElement["id"] | null;
166
171
  searchMatches: Readonly<{
@@ -168,6 +173,14 @@ export declare const actionToggleElementLock: {
168
173
  matches: readonly import("../types").SearchMatch[];
169
174
  }> | null;
170
175
  bindMode: import("@excalidraw/element/types").BindMode;
176
+ colorTopPicks: {
177
+ elementStroke: readonly string[] | null;
178
+ elementBackground: readonly string[] | null;
179
+ bucketFill: readonly string[] | null;
180
+ stickyNoteStroke: readonly string[] | null;
181
+ stickyNoteBackground: readonly string[] | null;
182
+ };
183
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
171
184
  };
172
185
  captureUpdate: "IMMEDIATELY";
173
186
  };
@@ -214,10 +227,15 @@ export declare const actionUnlockAllElements: {
214
227
  boxSelectionMode: import("../types").BoxSelectionMode;
215
228
  bindingPreference: "enabled" | "disabled";
216
229
  isMidpointSnappingEnabled: boolean;
230
+ inputDevice: import("../types").InputDevice;
217
231
  suggestedBinding: {
218
232
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
219
233
  midPoint?: import("@excalidraw/math").GlobalPoint;
220
234
  } | null;
235
+ hoveredArrowTextAnchor: {
236
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
237
+ anchor: "start" | "end" | "label";
238
+ } | null;
221
239
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
222
240
  frameRendering: {
223
241
  enabled: boolean;
@@ -225,7 +243,7 @@ export declare const actionUnlockAllElements: {
225
243
  outline: boolean;
226
244
  clip: boolean;
227
245
  };
228
- editingFrame: string | null;
246
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
229
247
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
230
248
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
231
249
  activeTool: {
@@ -244,6 +262,8 @@ export declare const actionUnlockAllElements: {
244
262
  exportWithDarkMode: boolean;
245
263
  exportScale: number;
246
264
  currentItemStrokeColor: string;
265
+ currentItemStickynoteStrokeColor: string;
266
+ currentItemStickynoteBackgroundColor: string;
247
267
  currentItemBackgroundColor: string;
248
268
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
249
269
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -332,8 +352,6 @@ export declare const actionUnlockAllElements: {
332
352
  y: number;
333
353
  } | null;
334
354
  objectsSnapModeEnabled: boolean;
335
- userToFollow: import("../types").UserToFollow | null;
336
- followedBy: Set<import("../types").SocketId>;
337
355
  isCropping: boolean;
338
356
  croppingElementId: ExcalidrawElement["id"] | null;
339
357
  searchMatches: Readonly<{
@@ -341,6 +359,14 @@ export declare const actionUnlockAllElements: {
341
359
  matches: readonly import("../types").SearchMatch[];
342
360
  }> | null;
343
361
  bindMode: import("@excalidraw/element/types").BindMode;
362
+ colorTopPicks: {
363
+ elementStroke: readonly string[] | null;
364
+ elementBackground: readonly string[] | null;
365
+ bucketFill: readonly string[] | null;
366
+ stickyNoteStroke: readonly string[] | null;
367
+ stickyNoteBackground: readonly string[] | null;
368
+ };
369
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
344
370
  };
345
371
  captureUpdate: "IMMEDIATELY";
346
372
  };