@excalidraw/common 0.18.0-d9e8a33 → 0.18.0-dabd83c

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 (253) hide show
  1. package/dist/dev/index.js +237 -104
  2. package/dist/dev/index.js.map +3 -3
  3. package/dist/prod/index.js +3 -3
  4. package/dist/types/common/src/colors.d.ts +23 -1
  5. package/dist/types/common/src/constants.d.ts +68 -7
  6. package/dist/types/common/src/keys.d.ts +6 -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 +13 -44
  10. package/dist/types/element/src/Scene.d.ts +7 -5
  11. package/dist/types/element/src/align.d.ts +5 -2
  12. package/dist/types/element/src/arrowEndpointText.d.ts +49 -0
  13. package/dist/types/element/src/arrows/focus.d.ts +5 -2
  14. package/dist/types/element/src/binding.d.ts +90 -13
  15. package/dist/types/element/src/bounds.d.ts +28 -7
  16. package/dist/types/element/src/bucketFill.d.ts +110 -0
  17. package/dist/types/element/src/collision.d.ts +21 -5
  18. package/dist/types/element/src/comparisons.d.ts +8 -5
  19. package/dist/types/element/src/convertToShape.d.ts +23 -0
  20. package/dist/types/element/src/cropElement.d.ts +36 -4
  21. package/dist/types/element/src/delta.d.ts +30 -2
  22. package/dist/types/element/src/distribute.d.ts +5 -2
  23. package/dist/types/element/src/dragElements.d.ts +34 -2
  24. package/dist/types/element/src/duplicate.d.ts +64 -3
  25. package/dist/types/element/src/elbowArrow.d.ts +5 -0
  26. package/dist/types/element/src/embeddable.d.ts +3 -2
  27. package/dist/types/element/src/flowchart.d.ts +9 -11
  28. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  29. package/dist/types/element/src/frame.d.ts +30 -11
  30. package/dist/types/element/src/groups.d.ts +10 -15
  31. package/dist/types/element/src/image.d.ts +5 -2
  32. package/dist/types/element/src/index.d.ts +7 -1
  33. package/dist/types/element/src/linearElementEditor.d.ts +31 -11
  34. package/dist/types/element/src/listMarker.d.ts +39 -0
  35. package/dist/types/element/src/mutateElement.d.ts +1 -1
  36. package/dist/types/element/src/newElement.d.ts +55 -3
  37. package/dist/types/element/src/renderElement.d.ts +31 -7
  38. package/dist/types/element/src/renderEnvironment.d.ts +66 -0
  39. package/dist/types/element/src/resizeElements.d.ts +14 -4
  40. package/dist/types/element/src/selection.d.ts +7 -13
  41. package/dist/types/element/src/shape.d.ts +29 -1
  42. package/dist/types/element/src/sizeHelpers.d.ts +6 -0
  43. package/dist/types/element/src/sortElements.d.ts +10 -0
  44. package/dist/types/element/src/stickyNote.d.ts +191 -0
  45. package/dist/types/element/src/textElement.d.ts +22 -10
  46. package/dist/types/element/src/textMeasurements.d.ts +15 -11
  47. package/dist/types/element/src/textWrapping.d.ts +3 -2
  48. package/dist/types/element/src/transform.d.ts +31 -8
  49. package/dist/types/element/src/typeChecks.d.ts +29 -27
  50. package/dist/types/element/src/types.d.ts +43 -7
  51. package/dist/types/element/src/utils.d.ts +15 -4
  52. package/dist/types/element/src/zindex.d.ts +2 -2
  53. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +98 -18
  54. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
  55. package/dist/types/excalidraw/actions/actionBoundText.d.ts +79 -204
  56. package/dist/types/excalidraw/actions/actionCanvas.d.ts +306 -951
  57. package/dist/types/excalidraw/actions/actionClipboard.d.ts +68 -12
  58. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +34 -6
  59. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +4 -521
  60. package/dist/types/excalidraw/actions/actionDeselect.d.ts +35 -7
  61. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
  62. package/dist/types/excalidraw/actions/actionElementLink.d.ts +34 -6
  63. package/dist/types/excalidraw/actions/actionElementLock.d.ts +69 -13
  64. package/dist/types/excalidraw/actions/actionExport.d.ts +76 -20
  65. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
  66. package/dist/types/excalidraw/actions/actionFrame.d.ts +132 -652
  67. package/dist/types/excalidraw/actions/actionGroup.d.ts +83 -27
  68. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +89 -9
  69. package/dist/types/excalidraw/actions/actionLink.d.ts +35 -7
  70. package/dist/types/excalidraw/actions/actionMenu.d.ts +34 -6
  71. package/dist/types/excalidraw/actions/actionProperties.d.ts +106 -34
  72. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +39 -11
  73. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -7
  74. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +452 -6
  75. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +35 -7
  76. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +38 -11
  77. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +35 -7
  78. package/dist/types/excalidraw/actions/actionToggleMinimap.d.ts +206 -0
  79. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +35 -7
  80. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +38 -11
  81. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  82. package/dist/types/excalidraw/actions/{actionEmbeddable.d.ts → actionToggleShowHints.d.ts} +50 -19
  83. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +35 -7
  84. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +36 -8
  85. package/dist/types/excalidraw/actions/actionToggleWrap.d.ts +12 -0
  86. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +35 -7
  87. package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
  88. package/dist/types/excalidraw/actions/index.d.ts +4 -2
  89. package/dist/types/excalidraw/actions/manager.d.ts +1 -0
  90. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  91. package/dist/types/excalidraw/actions/types.d.ts +8 -4
  92. package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
  93. package/dist/types/excalidraw/appState.d.ts +37 -12
  94. package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -1
  95. package/dist/types/excalidraw/charts/charts.helpers.d.ts +6 -5
  96. package/dist/types/excalidraw/charts/charts.line.d.ts +2 -1
  97. package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -1
  98. package/dist/types/excalidraw/charts/index.d.ts +2 -1
  99. package/dist/types/excalidraw/components/Actions.d.ts +26 -13
  100. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
  101. package/dist/types/excalidraw/components/App.arrowText.d.ts +70 -0
  102. package/dist/types/excalidraw/components/App.bucketFill.d.ts +48 -0
  103. package/dist/types/excalidraw/components/App.clipboard.d.ts +59 -0
  104. package/dist/types/excalidraw/components/App.cursor.d.ts +38 -0
  105. package/dist/types/excalidraw/components/App.d.ts +335 -111
  106. package/dist/types/excalidraw/components/App.drawshape.d.ts +55 -0
  107. package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
  108. package/dist/types/excalidraw/components/App.flowchart.d.ts +21 -0
  109. package/dist/types/excalidraw/components/App.host.d.ts +102 -0
  110. package/dist/types/excalidraw/components/App.modifiers.d.ts +38 -0
  111. package/dist/types/excalidraw/components/App.pan.d.ts +62 -0
  112. package/dist/types/excalidraw/components/App.selection.d.ts +265 -0
  113. package/dist/types/excalidraw/components/App.selectionTool.d.ts +94 -0
  114. package/dist/types/excalidraw/components/App.text.d.ts +194 -0
  115. package/dist/types/excalidraw/components/App.textTool.d.ts +140 -0
  116. package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
  117. package/dist/types/excalidraw/components/App.viewport.d.ts +133 -0
  118. package/dist/types/excalidraw/components/App.wheel.d.ts +30 -0
  119. package/dist/types/excalidraw/components/App.wrap.d.ts +39 -0
  120. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +9 -3
  121. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
  122. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +5 -1
  123. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -2
  124. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
  125. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
  126. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  127. package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
  128. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -1
  129. package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
  130. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +4 -3
  131. package/dist/types/excalidraw/components/CursorHint.d.ts +46 -0
  132. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  133. package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -0
  134. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
  135. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
  136. package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
  137. package/dist/types/excalidraw/components/IconButton.d.ts +48 -0
  138. package/dist/types/excalidraw/components/Island.d.ts +7 -0
  139. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +2 -4
  140. package/dist/types/excalidraw/components/LayerUI.d.ts +5 -2
  141. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  142. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +6 -2
  143. package/dist/types/excalidraw/components/LibraryUnit.d.ts +7 -2
  144. package/dist/types/excalidraw/components/LockButton.d.ts +3 -4
  145. package/dist/types/excalidraw/components/MagicButton.d.ts +0 -2
  146. package/dist/types/excalidraw/components/Minimap/Minimap.d.ts +15 -0
  147. package/dist/types/excalidraw/components/Minimap/MinimapAnnouncementDot.d.ts +10 -0
  148. package/dist/types/excalidraw/components/Minimap/minimap-controller.chunk.d.ts +90 -0
  149. package/dist/types/excalidraw/components/Minimap/minimap-shared.chunk.d.ts +122 -0
  150. package/dist/types/excalidraw/components/Minimap/minimap-worker.chunk.d.ts +12 -0
  151. package/dist/types/excalidraw/components/MobileMenu.d.ts +4 -4
  152. package/dist/types/excalidraw/components/MobileToolbar.d.ts +9 -0
  153. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
  154. package/dist/types/excalidraw/components/PenModeButton.d.ts +2 -5
  155. package/dist/types/excalidraw/components/Popover.d.ts +1 -3
  156. package/dist/types/excalidraw/components/{ButtonIcon.d.ts → RadioButton.d.ts} +2 -5
  157. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
  158. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
  159. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
  160. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  161. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  162. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  163. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  164. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  165. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  166. package/dist/types/excalidraw/components/Stats/Position.d.ts +3 -3
  167. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -2
  168. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +2 -1
  169. package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +4 -4
  170. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
  171. package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +5 -2
  172. package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +2 -1
  173. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +4 -1
  174. package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +3 -2
  175. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +14 -1
  176. package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +3 -3
  177. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +16 -0
  178. package/dist/types/excalidraw/components/Toast.d.ts +12 -1
  179. package/dist/types/excalidraw/components/ToolPopover.d.ts +3 -6
  180. package/dist/types/excalidraw/components/Toolbar.d.ts +11 -0
  181. package/dist/types/excalidraw/components/Tools.d.ts +151 -0
  182. package/dist/types/excalidraw/components/Tooltip.d.ts +26 -2
  183. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
  184. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
  185. package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
  186. package/dist/types/excalidraw/components/UserList.d.ts +3 -2
  187. package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
  188. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -2
  189. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +3 -0
  190. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  191. package/dist/types/excalidraw/components/footer/Footer.d.ts +5 -1
  192. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  193. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +15 -4
  194. package/dist/types/excalidraw/components/icons.d.ts +8 -1
  195. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +10 -4
  196. package/dist/types/excalidraw/components/positionElementBesideCursor.d.ts +26 -0
  197. package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +39 -0
  198. package/dist/types/excalidraw/data/blob.d.ts +84 -28
  199. package/dist/types/excalidraw/data/index.d.ts +7 -7
  200. package/dist/types/excalidraw/data/json.d.ts +48 -20
  201. package/dist/types/excalidraw/data/library.d.ts +1 -1
  202. package/dist/types/excalidraw/drawShapeTrail.d.ts +16 -0
  203. package/dist/types/excalidraw/eraser/index.d.ts +2 -3
  204. package/dist/types/excalidraw/fonts/Fonts.d.ts +12 -8
  205. package/dist/types/excalidraw/history.d.ts +10 -4
  206. package/dist/types/excalidraw/hooks/useAppStateValue.d.ts +29 -0
  207. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  208. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
  209. package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
  210. package/dist/types/excalidraw/lasso/index.d.ts +2 -3
  211. package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
  212. package/dist/types/excalidraw/mermaid.d.ts +7 -0
  213. package/dist/types/excalidraw/reactUtils.d.ts +1 -1
  214. package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
  215. package/dist/types/excalidraw/renderer/animation.d.ts +15 -4
  216. package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
  217. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +2 -4
  218. package/dist/types/excalidraw/renderer/staticScene.d.ts +11 -6
  219. package/dist/types/excalidraw/scene/Renderer.d.ts +490 -21
  220. package/dist/types/excalidraw/scene/export.d.ts +344 -21
  221. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  222. package/dist/types/excalidraw/scene/types.d.ts +30 -5
  223. package/dist/types/excalidraw/snapping.d.ts +7 -7
  224. package/dist/types/excalidraw/types.d.ts +617 -29
  225. package/dist/types/excalidraw/viewport.d.ts +308 -0
  226. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +13 -3
  227. package/dist/types/fractional-indexing/src/index.d.ts +29 -0
  228. package/dist/types/laser-pointer/src/index.d.ts +2 -0
  229. package/dist/types/laser-pointer/src/math.d.ts +16 -0
  230. package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
  231. package/dist/types/laser-pointer/src/state.d.ts +36 -0
  232. package/dist/types/math/src/constants.d.ts +0 -1
  233. package/dist/types/math/src/curve.d.ts +19 -12
  234. package/dist/types/math/src/index.d.ts +1 -0
  235. package/dist/types/math/src/pca.d.ts +79 -0
  236. package/dist/types/math/src/point.d.ts +1 -0
  237. package/dist/types/math/src/polygon.d.ts +25 -1
  238. package/dist/types/math/src/segment.d.ts +6 -0
  239. package/dist/types/utils/src/index.d.ts +4 -3
  240. package/dist/types/utils/src/shape.d.ts +2 -2
  241. package/package.json +1 -1
  242. package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
  243. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
  244. package/dist/types/excalidraw/components/HandButton.d.ts +0 -10
  245. package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -10
  246. package/dist/types/excalidraw/components/ToolButton.d.ts +0 -49
  247. package/dist/types/excalidraw/components/shapes.d.ts +0 -263
  248. package/dist/types/excalidraw/cursor.d.ts +0 -5
  249. package/dist/types/excalidraw/scene/scroll.d.ts +0 -18
  250. package/dist/types/excalidraw/scene/zoom.d.ts +0 -12
  251. package/dist/types/utils/src/bbox.d.ts +0 -9
  252. package/dist/types/utils/src/export.d.ts +0 -35
  253. package/dist/types/utils/src/withinBounds.d.ts +0 -19
@@ -60,11 +60,24 @@ export declare const actionLinkToElement: {
60
60
  boxSelectionMode: import("../types").BoxSelectionMode;
61
61
  bindingPreference: "enabled" | "disabled";
62
62
  isMidpointSnappingEnabled: boolean;
63
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
63
+ showHints: boolean;
64
+ splitOnPaste: boolean;
65
+ inputDevice: import("../types").InputDevice;
64
66
  suggestedBinding: {
65
67
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
66
68
  midPoint?: import("@excalidraw/math").GlobalPoint;
67
69
  } | null;
70
+ textToolHover: {
71
+ type: "text";
72
+ elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
73
+ } | {
74
+ type: "container";
75
+ elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
76
+ } | {
77
+ type: "arrow";
78
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
79
+ anchor: "start" | "end" | "label";
80
+ } | null;
68
81
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
69
82
  frameRendering: {
70
83
  enabled: boolean;
@@ -72,8 +85,8 @@ export declare const actionLinkToElement: {
72
85
  outline: boolean;
73
86
  clip: boolean;
74
87
  };
75
- editingFrame: string | null;
76
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
88
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
89
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
77
90
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
78
91
  activeTool: {
79
92
  lastActiveTool: import("../types").ActiveTool | null;
@@ -91,11 +104,14 @@ export declare const actionLinkToElement: {
91
104
  exportWithDarkMode: boolean;
92
105
  exportScale: number;
93
106
  currentItemStrokeColor: string;
107
+ currentItemStickynoteStrokeColor: string;
108
+ currentItemStickynoteBackgroundColor: string;
94
109
  currentItemBackgroundColor: string;
95
110
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
96
- currentItemStrokeWidth: number;
111
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
97
112
  currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
98
113
  currentItemRoughness: number;
114
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
99
115
  currentItemOpacity: number;
100
116
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
101
117
  currentItemFontSize: number;
@@ -108,6 +124,7 @@ export declare const actionLinkToElement: {
108
124
  viewBackgroundColor: string;
109
125
  scrollX: number;
110
126
  scrollY: number;
127
+ scrollConstraints: import("../types").ScrollConstraints | null;
111
128
  cursorButton: "up" | "down";
112
129
  scrolledOutside: boolean;
113
130
  name: string | null;
@@ -137,8 +154,13 @@ export declare const actionLinkToElement: {
137
154
  message: React.ReactNode;
138
155
  closable?: boolean;
139
156
  duration?: number;
157
+ action?: {
158
+ label: string;
159
+ onClick: () => void;
160
+ };
140
161
  } | null;
141
162
  zenModeEnabled: boolean;
163
+ minimapEnabled: boolean;
142
164
  theme: import("@excalidraw/element/types").Theme;
143
165
  gridSize: number;
144
166
  gridStep: number;
@@ -166,8 +188,6 @@ export declare const actionLinkToElement: {
166
188
  y: number;
167
189
  } | null;
168
190
  objectsSnapModeEnabled: boolean;
169
- userToFollow: import("../types").UserToFollow | null;
170
- followedBy: Set<import("../types").SocketId>;
171
191
  isCropping: boolean;
172
192
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
173
193
  searchMatches: Readonly<{
@@ -179,6 +199,14 @@ export declare const actionLinkToElement: {
179
199
  [groupId: string]: true;
180
200
  };
181
201
  bindMode: import("@excalidraw/element/types").BindMode;
202
+ colorTopPicks: {
203
+ elementStroke: readonly string[] | null;
204
+ elementBackground: readonly string[] | null;
205
+ bucketFill: readonly string[] | null;
206
+ stickyNoteStroke: readonly string[] | null;
207
+ stickyNoteBackground: readonly string[] | null;
208
+ };
209
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
182
210
  };
183
211
  captureUpdate: "IMMEDIATELY";
184
212
  elements?: undefined;
@@ -2,7 +2,7 @@ import type { ExcalidrawElement } from "@excalidraw/element/types";
2
2
  import type { AppState } from "../types";
3
3
  export declare const actionToggleElementLock: {
4
4
  name: "toggleElementLock";
5
- label: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, app: import("../types").AppClassProperties) => "labels.elementLock.lock" | "labels.elementLock.unlock";
5
+ label: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").UIAppState>, app: import("../types").AppClassProperties) => "labels.elementLock.lock" | "labels.elementLock.unlock";
6
6
  icon: (appState: import("../types").UIAppState, elements: readonly ExcalidrawElement[]) => import("react/jsx-runtime").JSX.Element;
7
7
  trackEvent: {
8
8
  category: "element";
@@ -42,11 +42,24 @@ export declare const actionToggleElementLock: {
42
42
  boxSelectionMode: import("../types").BoxSelectionMode;
43
43
  bindingPreference: "enabled" | "disabled";
44
44
  isMidpointSnappingEnabled: boolean;
45
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
45
+ showHints: boolean;
46
+ splitOnPaste: boolean;
47
+ inputDevice: import("../types").InputDevice;
46
48
  suggestedBinding: {
47
49
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
48
50
  midPoint?: import("@excalidraw/math").GlobalPoint;
49
51
  } | null;
52
+ textToolHover: {
53
+ type: "text";
54
+ elementId: ExcalidrawElement["id"];
55
+ } | {
56
+ type: "container";
57
+ elementId: ExcalidrawElement["id"];
58
+ } | {
59
+ type: "arrow";
60
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
61
+ anchor: "start" | "end" | "label";
62
+ } | null;
50
63
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
51
64
  frameRendering: {
52
65
  enabled: boolean;
@@ -54,8 +67,8 @@ export declare const actionToggleElementLock: {
54
67
  outline: boolean;
55
68
  clip: boolean;
56
69
  };
57
- editingFrame: string | null;
58
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
70
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
71
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
59
72
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
60
73
  activeTool: {
61
74
  lastActiveTool: import("../types").ActiveTool | null;
@@ -73,11 +86,14 @@ export declare const actionToggleElementLock: {
73
86
  exportWithDarkMode: boolean;
74
87
  exportScale: number;
75
88
  currentItemStrokeColor: string;
89
+ currentItemStickynoteStrokeColor: string;
90
+ currentItemStickynoteBackgroundColor: string;
76
91
  currentItemBackgroundColor: string;
77
92
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
78
- currentItemStrokeWidth: number;
93
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
79
94
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
80
95
  currentItemRoughness: number;
96
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
81
97
  currentItemOpacity: number;
82
98
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
83
99
  currentItemFontSize: number;
@@ -90,6 +106,7 @@ export declare const actionToggleElementLock: {
90
106
  viewBackgroundColor: string;
91
107
  scrollX: number;
92
108
  scrollY: number;
109
+ scrollConstraints: import("../types").ScrollConstraints | null;
93
110
  cursorButton: "up" | "down";
94
111
  scrolledOutside: boolean;
95
112
  name: string | null;
@@ -133,8 +150,13 @@ export declare const actionToggleElementLock: {
133
150
  message: React.ReactNode;
134
151
  closable?: boolean;
135
152
  duration?: number;
153
+ action?: {
154
+ label: string;
155
+ onClick: () => void;
156
+ };
136
157
  } | null;
137
158
  zenModeEnabled: boolean;
159
+ minimapEnabled: boolean;
138
160
  theme: import("@excalidraw/element/types").Theme;
139
161
  gridSize: number;
140
162
  gridStep: number;
@@ -158,8 +180,6 @@ export declare const actionToggleElementLock: {
158
180
  y: number;
159
181
  } | null;
160
182
  objectsSnapModeEnabled: boolean;
161
- userToFollow: import("../types").UserToFollow | null;
162
- followedBy: Set<import("../types").SocketId>;
163
183
  isCropping: boolean;
164
184
  croppingElementId: ExcalidrawElement["id"] | null;
165
185
  searchMatches: Readonly<{
@@ -167,6 +187,14 @@ export declare const actionToggleElementLock: {
167
187
  matches: readonly import("../types").SearchMatch[];
168
188
  }> | null;
169
189
  bindMode: import("@excalidraw/element/types").BindMode;
190
+ colorTopPicks: {
191
+ elementStroke: readonly string[] | null;
192
+ elementBackground: readonly string[] | null;
193
+ bucketFill: readonly string[] | null;
194
+ stickyNoteStroke: readonly string[] | null;
195
+ stickyNoteBackground: readonly string[] | null;
196
+ };
197
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
170
198
  };
171
199
  captureUpdate: "IMMEDIATELY";
172
200
  };
@@ -213,11 +241,24 @@ export declare const actionUnlockAllElements: {
213
241
  boxSelectionMode: import("../types").BoxSelectionMode;
214
242
  bindingPreference: "enabled" | "disabled";
215
243
  isMidpointSnappingEnabled: boolean;
216
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
244
+ showHints: boolean;
245
+ splitOnPaste: boolean;
246
+ inputDevice: import("../types").InputDevice;
217
247
  suggestedBinding: {
218
248
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
219
249
  midPoint?: import("@excalidraw/math").GlobalPoint;
220
250
  } | null;
251
+ textToolHover: {
252
+ type: "text";
253
+ elementId: ExcalidrawElement["id"];
254
+ } | {
255
+ type: "container";
256
+ elementId: ExcalidrawElement["id"];
257
+ } | {
258
+ type: "arrow";
259
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
260
+ anchor: "start" | "end" | "label";
261
+ } | null;
221
262
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
222
263
  frameRendering: {
223
264
  enabled: boolean;
@@ -225,8 +266,8 @@ export declare const actionUnlockAllElements: {
225
266
  outline: boolean;
226
267
  clip: boolean;
227
268
  };
228
- editingFrame: string | null;
229
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
269
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
270
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
230
271
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
231
272
  activeTool: {
232
273
  lastActiveTool: import("../types").ActiveTool | null;
@@ -244,11 +285,14 @@ export declare const actionUnlockAllElements: {
244
285
  exportWithDarkMode: boolean;
245
286
  exportScale: number;
246
287
  currentItemStrokeColor: string;
288
+ currentItemStickynoteStrokeColor: string;
289
+ currentItemStickynoteBackgroundColor: string;
247
290
  currentItemBackgroundColor: string;
248
291
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
249
- currentItemStrokeWidth: number;
292
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
250
293
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
251
294
  currentItemRoughness: number;
295
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
252
296
  currentItemOpacity: number;
253
297
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
254
298
  currentItemFontSize: number;
@@ -261,6 +305,7 @@ export declare const actionUnlockAllElements: {
261
305
  viewBackgroundColor: string;
262
306
  scrollX: number;
263
307
  scrollY: number;
308
+ scrollConstraints: import("../types").ScrollConstraints | null;
264
309
  cursorButton: "up" | "down";
265
310
  scrolledOutside: boolean;
266
311
  name: string | null;
@@ -304,8 +349,13 @@ export declare const actionUnlockAllElements: {
304
349
  message: React.ReactNode;
305
350
  closable?: boolean;
306
351
  duration?: number;
352
+ action?: {
353
+ label: string;
354
+ onClick: () => void;
355
+ };
307
356
  } | null;
308
357
  zenModeEnabled: boolean;
358
+ minimapEnabled: boolean;
309
359
  theme: import("@excalidraw/element/types").Theme;
310
360
  gridSize: number;
311
361
  gridStep: number;
@@ -330,8 +380,6 @@ export declare const actionUnlockAllElements: {
330
380
  y: number;
331
381
  } | null;
332
382
  objectsSnapModeEnabled: boolean;
333
- userToFollow: import("../types").UserToFollow | null;
334
- followedBy: Set<import("../types").SocketId>;
335
383
  isCropping: boolean;
336
384
  croppingElementId: ExcalidrawElement["id"] | null;
337
385
  searchMatches: Readonly<{
@@ -339,6 +387,14 @@ export declare const actionUnlockAllElements: {
339
387
  matches: readonly import("../types").SearchMatch[];
340
388
  }> | null;
341
389
  bindMode: import("@excalidraw/element/types").BindMode;
390
+ colorTopPicks: {
391
+ elementStroke: readonly string[] | null;
392
+ elementBackground: readonly string[] | null;
393
+ bucketFill: readonly string[] | null;
394
+ stickyNoteStroke: readonly string[] | null;
395
+ stickyNoteBackground: readonly string[] | null;
396
+ };
397
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
342
398
  };
343
399
  captureUpdate: "IMMEDIATELY";
344
400
  };
@@ -82,7 +82,13 @@ export declare const actionLoadScene: {
82
82
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => Promise<false | {
83
83
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
84
84
  appState: {
85
+ zoom: import("../types").Zoom;
85
86
  viewModeEnabled: boolean;
87
+ activeTool: {
88
+ lastActiveTool: import("../types").ActiveTool | null;
89
+ locked: boolean;
90
+ fromSelection: boolean;
91
+ } & import("../types").ActiveTool;
86
92
  zenModeEnabled: boolean;
87
93
  gridModeEnabled: boolean;
88
94
  objectsSnapModeEnabled: boolean;
@@ -90,11 +96,8 @@ export declare const actionLoadScene: {
90
96
  name: string | null;
91
97
  currentItemArrowType: "sharp" | "round" | "elbow";
92
98
  gridSize: number;
93
- activeTool: {
94
- lastActiveTool: import("../types").ActiveTool | null;
95
- locked: boolean;
96
- fromSelection: boolean;
97
- } & import("../types").ActiveTool;
99
+ scrollX: number;
100
+ scrollY: number;
98
101
  contextMenu: {
99
102
  items: import("../components/ContextMenu").ContextMenuItems;
100
103
  top: number;
@@ -115,11 +118,24 @@ export declare const actionLoadScene: {
115
118
  boxSelectionMode: import("../types").BoxSelectionMode;
116
119
  bindingPreference: "enabled" | "disabled";
117
120
  isMidpointSnappingEnabled: boolean;
118
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
121
+ showHints: boolean;
122
+ splitOnPaste: boolean;
123
+ inputDevice: import("../types").InputDevice;
119
124
  suggestedBinding: {
120
125
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
121
126
  midPoint?: import("@excalidraw/math").GlobalPoint;
122
127
  } | null;
128
+ textToolHover: {
129
+ type: "text";
130
+ elementId: ExcalidrawElement["id"];
131
+ } | {
132
+ type: "container";
133
+ elementId: ExcalidrawElement["id"];
134
+ } | {
135
+ type: "arrow";
136
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
137
+ anchor: "start" | "end" | "label";
138
+ } | null;
123
139
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
124
140
  frameRendering: {
125
141
  enabled: boolean;
@@ -127,8 +143,8 @@ export declare const actionLoadScene: {
127
143
  outline: boolean;
128
144
  clip: boolean;
129
145
  };
130
- editingFrame: string | null;
131
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
146
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
147
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
132
148
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
133
149
  preferredSelectionTool: {
134
150
  type: "selection" | "lasso";
@@ -141,11 +157,14 @@ export declare const actionLoadScene: {
141
157
  exportWithDarkMode: boolean;
142
158
  exportScale: number;
143
159
  currentItemStrokeColor: string;
160
+ currentItemStickynoteStrokeColor: string;
161
+ currentItemStickynoteBackgroundColor: string;
144
162
  currentItemBackgroundColor: string;
145
163
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
146
- currentItemStrokeWidth: number;
164
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
147
165
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
148
166
  currentItemRoughness: number;
167
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
149
168
  currentItemOpacity: number;
150
169
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
151
170
  currentItemFontSize: number;
@@ -155,13 +174,11 @@ export declare const actionLoadScene: {
155
174
  currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
156
175
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
157
176
  viewBackgroundColor: string;
158
- scrollX: number;
159
- scrollY: number;
177
+ scrollConstraints: import("../types").ScrollConstraints | null;
160
178
  cursorButton: "up" | "down";
161
179
  scrolledOutside: boolean;
162
180
  isResizing: boolean;
163
181
  isRotating: boolean;
164
- zoom: import("../types").Zoom;
165
182
  openMenu: "canvas" | null;
166
183
  openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
167
184
  openSidebar: {
@@ -202,7 +219,12 @@ export declare const actionLoadScene: {
202
219
  message: React.ReactNode;
203
220
  closable?: boolean;
204
221
  duration?: number;
222
+ action?: {
223
+ label: string;
224
+ onClick: () => void;
225
+ };
205
226
  } | null;
227
+ minimapEnabled: boolean;
206
228
  gridStep: number;
207
229
  selectedGroupIds: {
208
230
  [groupId: string]: boolean;
@@ -221,8 +243,6 @@ export declare const actionLoadScene: {
221
243
  x: number;
222
244
  y: number;
223
245
  } | null;
224
- userToFollow: import("../types").UserToFollow | null;
225
- followedBy: Set<import("../types").SocketId>;
226
246
  isCropping: boolean;
227
247
  croppingElementId: ExcalidrawElement["id"] | null;
228
248
  searchMatches: Readonly<{
@@ -234,6 +254,14 @@ export declare const actionLoadScene: {
234
254
  [groupId: string]: true;
235
255
  };
236
256
  bindMode: import("@excalidraw/element/types").BindMode;
257
+ colorTopPicks: {
258
+ elementStroke: readonly string[] | null;
259
+ elementBackground: readonly string[] | null;
260
+ bucketFill: readonly string[] | null;
261
+ stickyNoteStroke: readonly string[] | null;
262
+ stickyNoteBackground: readonly string[] | null;
263
+ };
264
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
237
265
  };
238
266
  files: BinaryFiles;
239
267
  captureUpdate: "IMMEDIATELY";
@@ -260,11 +288,24 @@ export declare const actionLoadScene: {
260
288
  boxSelectionMode: import("../types").BoxSelectionMode;
261
289
  bindingPreference: "enabled" | "disabled";
262
290
  isMidpointSnappingEnabled: boolean;
263
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
291
+ showHints: boolean;
292
+ splitOnPaste: boolean;
293
+ inputDevice: import("../types").InputDevice;
264
294
  suggestedBinding: {
265
295
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
266
296
  midPoint?: import("@excalidraw/math").GlobalPoint;
267
297
  } | null;
298
+ textToolHover: {
299
+ type: "text";
300
+ elementId: ExcalidrawElement["id"];
301
+ } | {
302
+ type: "container";
303
+ elementId: ExcalidrawElement["id"];
304
+ } | {
305
+ type: "arrow";
306
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
307
+ anchor: "start" | "end" | "label";
308
+ } | null;
268
309
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
269
310
  frameRendering: {
270
311
  enabled: boolean;
@@ -272,8 +313,8 @@ export declare const actionLoadScene: {
272
313
  outline: boolean;
273
314
  clip: boolean;
274
315
  };
275
- editingFrame: string | null;
276
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
316
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
317
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
277
318
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
278
319
  activeTool: {
279
320
  lastActiveTool: import("../types").ActiveTool | null;
@@ -291,11 +332,14 @@ export declare const actionLoadScene: {
291
332
  exportWithDarkMode: boolean;
292
333
  exportScale: number;
293
334
  currentItemStrokeColor: string;
335
+ currentItemStickynoteStrokeColor: string;
336
+ currentItemStickynoteBackgroundColor: string;
294
337
  currentItemBackgroundColor: string;
295
338
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
296
- currentItemStrokeWidth: number;
339
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
297
340
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
298
341
  currentItemRoughness: number;
342
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
299
343
  currentItemOpacity: number;
300
344
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
301
345
  currentItemFontSize: number;
@@ -308,6 +352,7 @@ export declare const actionLoadScene: {
308
352
  viewBackgroundColor: string;
309
353
  scrollX: number;
310
354
  scrollY: number;
355
+ scrollConstraints: import("../types").ScrollConstraints | null;
311
356
  cursorButton: "up" | "down";
312
357
  scrolledOutside: boolean;
313
358
  name: string | null;
@@ -354,8 +399,13 @@ export declare const actionLoadScene: {
354
399
  message: React.ReactNode;
355
400
  closable?: boolean;
356
401
  duration?: number;
402
+ action?: {
403
+ label: string;
404
+ onClick: () => void;
405
+ };
357
406
  } | null;
358
407
  zenModeEnabled: boolean;
408
+ minimapEnabled: boolean;
359
409
  theme: Theme;
360
410
  gridSize: number;
361
411
  gridStep: number;
@@ -383,8 +433,6 @@ export declare const actionLoadScene: {
383
433
  y: number;
384
434
  } | null;
385
435
  objectsSnapModeEnabled: boolean;
386
- userToFollow: import("../types").UserToFollow | null;
387
- followedBy: Set<import("../types").SocketId>;
388
436
  isCropping: boolean;
389
437
  croppingElementId: ExcalidrawElement["id"] | null;
390
438
  searchMatches: Readonly<{
@@ -396,6 +444,14 @@ export declare const actionLoadScene: {
396
444
  [groupId: string]: true;
397
445
  };
398
446
  bindMode: import("@excalidraw/element/types").BindMode;
447
+ colorTopPicks: {
448
+ elementStroke: readonly string[] | null;
449
+ elementBackground: readonly string[] | null;
450
+ bucketFill: readonly string[] | null;
451
+ stickyNoteStroke: readonly string[] | null;
452
+ stickyNoteBackground: readonly string[] | null;
453
+ };
454
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
399
455
  };
400
456
  files: BinaryFiles;
401
457
  captureUpdate: "EVENTUALLY";
@@ -6,6 +6,7 @@ type FormData = {
6
6
  x: number;
7
7
  y: number;
8
8
  };
9
+ hitBoundText?: boolean;
9
10
  };
10
11
  export declare const actionFinalize: import("./types").Action<FormData> & {
11
12
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;