@excalidraw/element 0.18.0-d2463f87d → 0.18.0-d9e8a33

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 (277) hide show
  1. package/dist/dev/index.js +6064 -3063
  2. package/dist/dev/index.js.map +4 -4
  3. package/dist/prod/index.js +19 -18
  4. package/dist/types/common/debug.d.ts +21 -0
  5. package/dist/types/common/src/appEventBus.d.ts +27 -0
  6. package/dist/types/common/src/bounds.d.ts +10 -0
  7. package/dist/types/common/src/colors.d.ts +59 -39
  8. package/dist/types/common/src/constants.d.ts +38 -26
  9. package/dist/types/common/src/editorInterface.d.ts +34 -0
  10. package/dist/types/common/src/font-metadata.d.ts +1 -3
  11. package/dist/types/common/src/index.d.ts +5 -0
  12. package/dist/types/common/src/keys.d.ts +1 -1
  13. package/dist/types/common/src/utility-types.d.ts +0 -1
  14. package/dist/types/common/src/utils.d.ts +53 -41
  15. package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
  16. package/dist/types/element/src/Scene.d.ts +11 -5
  17. package/dist/types/element/src/align.d.ts +2 -1
  18. package/dist/types/element/src/arrowheads.d.ts +3 -0
  19. package/dist/types/element/src/arrows/focus.d.ts +27 -0
  20. package/dist/types/element/src/arrows/helpers.d.ts +5 -0
  21. package/dist/types/element/src/binding.d.ts +67 -48
  22. package/dist/types/element/src/bounds.d.ts +8 -14
  23. package/dist/types/element/src/collision.d.ts +7 -2
  24. package/dist/types/element/src/comparisons.d.ts +7 -7
  25. package/dist/types/element/src/delta.d.ts +16 -4
  26. package/dist/types/element/src/distribute.d.ts +3 -1
  27. package/dist/types/element/src/dragElements.d.ts +3 -3
  28. package/dist/types/element/src/duplicate.d.ts +3 -3
  29. package/dist/types/element/src/elbowArrow.d.ts +2 -0
  30. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  31. package/dist/types/element/src/frame.d.ts +6 -2
  32. package/dist/types/element/src/groups.d.ts +1 -0
  33. package/dist/types/element/src/heading.d.ts +2 -1
  34. package/dist/types/element/src/image.d.ts +1 -11
  35. package/dist/types/element/src/index.d.ts +5 -3
  36. package/dist/types/element/src/linearElementEditor.d.ts +25 -23
  37. package/dist/types/element/src/mutateElement.d.ts +5 -1
  38. package/dist/types/element/src/newElement.d.ts +6 -6
  39. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  40. package/dist/types/element/src/renderElement.d.ts +4 -7
  41. package/dist/types/element/src/resizeElements.d.ts +10 -10
  42. package/dist/types/element/src/resizeTest.d.ts +6 -5
  43. package/dist/types/element/src/selection.d.ts +10 -10
  44. package/dist/types/element/src/shape.d.ts +9 -8
  45. package/dist/types/element/src/store.d.ts +8 -2
  46. package/dist/types/element/src/textElement.d.ts +2 -2
  47. package/dist/types/element/src/textMeasurements.d.ts +1 -3
  48. package/dist/types/element/src/textWrapping.d.ts +26 -0
  49. package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
  50. package/dist/types/element/src/transformHandles.d.ts +8 -27
  51. package/dist/types/element/src/typeChecks.d.ts +4 -7
  52. package/dist/types/element/src/types.d.ts +12 -13
  53. package/dist/types/element/src/utils.d.ts +9 -4
  54. package/dist/types/element/src/visualdebug.d.ts +59 -0
  55. package/dist/types/element/src/zindex.d.ts +7 -1
  56. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +131 -171
  57. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
  58. package/dist/types/excalidraw/actions/actionBoundText.d.ts +94 -121
  59. package/dist/types/excalidraw/actions/actionCanvas.d.ts +557 -902
  60. package/dist/types/excalidraw/actions/actionClipboard.d.ts +111 -882
  61. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +45 -59
  62. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +154 -198
  63. package/dist/types/excalidraw/actions/actionDeselect.d.ts +160 -0
  64. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
  65. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
  66. package/dist/types/excalidraw/actions/actionElementLink.d.ts +37 -57
  67. package/dist/types/excalidraw/actions/actionElementLock.d.ts +92 -119
  68. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +46 -60
  69. package/dist/types/excalidraw/actions/actionExport.d.ts +173 -1412
  70. package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -395
  71. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
  72. package/dist/types/excalidraw/actions/actionFrame.d.ts +279 -370
  73. package/dist/types/excalidraw/actions/actionGroup.d.ts +97 -132
  74. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +176 -197
  75. package/dist/types/excalidraw/actions/actionLink.d.ts +43 -57
  76. package/dist/types/excalidraw/actions/actionMenu.d.ts +36 -424
  77. package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -361
  78. package/dist/types/excalidraw/actions/actionProperties.d.ts +152 -2522
  79. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +48 -66
  80. package/dist/types/excalidraw/actions/actionStyles.d.ts +45 -58
  81. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  82. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +173 -0
  83. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +45 -59
  84. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +173 -0
  85. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +45 -59
  86. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +34 -54
  87. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  88. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +45 -59
  89. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +45 -59
  90. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +46 -60
  91. package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
  92. package/dist/types/excalidraw/actions/index.d.ts +5 -2
  93. package/dist/types/excalidraw/actions/register.d.ts +2 -2
  94. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  95. package/dist/types/excalidraw/actions/types.d.ts +4 -4
  96. package/dist/types/excalidraw/appState.d.ts +22 -14
  97. package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
  98. package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
  99. package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
  100. package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
  101. package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
  102. package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
  103. package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
  104. package/dist/types/excalidraw/charts/index.d.ts +7 -0
  105. package/dist/types/excalidraw/clipboard.d.ts +57 -19
  106. package/dist/types/excalidraw/components/Actions.d.ts +21 -8
  107. package/dist/types/excalidraw/components/App.d.ts +118 -75
  108. package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
  109. package/dist/types/excalidraw/components/Card.d.ts +1 -3
  110. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -4
  111. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
  112. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  113. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  114. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  115. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +0 -1
  116. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
  117. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  118. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +2 -4
  119. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  120. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  121. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
  122. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Ellipsify.d.ts +3 -0
  124. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  125. package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
  126. package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
  127. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  128. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  129. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
  130. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
  131. package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
  132. package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
  133. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  134. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  135. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
  136. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
  137. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  138. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
  139. package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
  140. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  141. package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  142. package/dist/types/excalidraw/components/Modal.d.ts +0 -1
  143. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
  144. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
  145. package/dist/types/excalidraw/components/Popover.d.ts +2 -1
  146. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +2 -1
  147. package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
  148. package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
  149. package/dist/types/excalidraw/components/Range.d.ts +10 -4
  150. package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
  151. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
  152. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
  153. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
  154. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
  155. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
  156. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
  157. package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
  158. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
  159. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
  160. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
  161. package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
  162. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  163. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
  164. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +23 -0
  165. package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
  166. package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +27 -0
  167. package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
  168. package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
  169. package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
  170. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
  171. package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
  172. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +12 -29
  173. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
  174. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
  175. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
  176. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
  177. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
  178. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
  179. package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
  180. package/dist/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts +1 -0
  181. package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +9 -0
  182. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +16 -16
  183. package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
  184. package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
  185. package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
  186. package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
  187. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +95 -0
  188. package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
  189. package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
  190. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
  191. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
  192. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
  193. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  194. package/dist/types/excalidraw/components/Toast.d.ts +11 -7
  195. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  196. package/dist/types/excalidraw/components/Trans.d.ts +2 -2
  197. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +7 -3
  198. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +47 -35
  199. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +7 -5
  200. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
  201. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +13 -22
  202. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
  203. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +5 -4
  204. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -2
  205. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
  206. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
  207. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
  208. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
  209. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
  210. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
  211. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +2 -2
  212. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
  213. package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
  214. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
  215. package/dist/types/excalidraw/components/icons.d.ts +49 -21
  216. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +20 -2
  217. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +39 -35
  218. package/dist/types/excalidraw/components/shapes.d.ts +202 -1
  219. package/dist/types/excalidraw/data/blob.d.ts +329 -12
  220. package/dist/types/excalidraw/data/encode.d.ts +4 -4
  221. package/dist/types/excalidraw/data/encryption.d.ts +5 -5
  222. package/dist/types/excalidraw/data/filesystem.d.ts +5 -7
  223. package/dist/types/excalidraw/data/index.d.ts +4 -5
  224. package/dist/types/excalidraw/data/json.d.ts +171 -4
  225. package/dist/types/excalidraw/data/library.d.ts +24 -9
  226. package/dist/types/excalidraw/data/resave.d.ts +7 -2
  227. package/dist/types/excalidraw/data/restore.d.ts +27 -7
  228. package/dist/types/excalidraw/data/types.d.ts +4 -1
  229. package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
  230. package/dist/types/excalidraw/errors.d.ts +14 -0
  231. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  232. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
  233. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
  234. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  235. package/dist/types/excalidraw/i18n.d.ts +2 -2
  236. package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
  237. package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
  238. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
  239. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  240. package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
  241. package/dist/types/excalidraw/scene/export.d.ts +2 -2
  242. package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
  243. package/dist/types/excalidraw/scene/types.d.ts +22 -5
  244. package/dist/types/excalidraw/shortcut.d.ts +1 -0
  245. package/dist/types/excalidraw/snapping.d.ts +5 -5
  246. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
  247. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
  248. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
  249. package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
  250. package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
  251. package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
  252. package/dist/types/excalidraw/types.d.ts +130 -38
  253. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +7 -3
  254. package/dist/types/math/src/curve.d.ts +4 -1
  255. package/dist/types/math/src/point.d.ts +7 -2
  256. package/dist/types/math/src/polygon.d.ts +2 -2
  257. package/dist/types/math/src/range.d.ts +1 -3
  258. package/dist/types/math/src/segment.d.ts +4 -3
  259. package/dist/types/math/src/types.d.ts +25 -1
  260. package/dist/types/utils/src/bbox.d.ts +1 -1
  261. package/dist/types/utils/src/export.d.ts +5 -5
  262. package/dist/types/utils/src/shape.d.ts +6 -6
  263. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  264. package/package.json +9 -3
  265. package/dist/types/excalidraw/charts.d.ts +0 -27
  266. package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
  267. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -16
  268. package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
  269. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +0 -9
  270. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
  271. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -10
  272. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
  273. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
  274. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -85
  275. package/dist/types/excalidraw/data/reconcile.d.ts +0 -6
  276. package/dist/types/excalidraw/index.d.ts +0 -46
  277. package/dist/types/excalidraw/polyfill.d.ts +0 -2
@@ -1,372 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const actionToggleCanvasMenu: {
3
- name: "toggleCanvasMenu";
4
- label: string;
5
- trackEvent: {
6
- category: "menu";
7
- };
8
- perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
9
- appState: {
10
- openMenu: "canvas" | null;
11
- contextMenu: {
12
- items: import("../components/ContextMenu").ContextMenuItems;
13
- top: number;
14
- left: number;
15
- } | null;
16
- showWelcomeScreen: boolean;
17
- isLoading: boolean;
18
- errorMessage: import("react").ReactNode;
19
- activeEmbeddable: {
20
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "active" | "hover";
22
- } | null;
23
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
26
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- isBindingEnabled: boolean;
28
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
- frameRendering: {
32
- enabled: boolean;
33
- name: boolean;
34
- outline: boolean;
35
- clip: boolean;
36
- };
37
- editingFrame: string | null;
38
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
41
- activeTool: {
42
- lastActiveTool: import("../types").ActiveTool | null;
43
- locked: boolean;
44
- fromSelection: boolean;
45
- } & import("../types").ActiveTool;
46
- penMode: boolean;
47
- penDetected: boolean;
48
- exportBackground: boolean;
49
- exportEmbedScene: boolean;
50
- exportWithDarkMode: boolean;
51
- exportScale: number;
52
- currentItemStrokeColor: string;
53
- currentItemBackgroundColor: string;
54
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
55
- currentItemStrokeWidth: number;
56
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
57
- currentItemRoughness: number;
58
- currentItemOpacity: number;
59
- currentItemFontFamily: number;
60
- currentItemFontSize: number;
61
- currentItemTextAlign: string;
62
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
64
- currentHoveredFontFamily: number | null;
65
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
66
- currentItemArrowType: "round" | "sharp" | "elbow";
67
- viewBackgroundColor: string;
68
- scrollX: number;
69
- scrollY: number;
70
- cursorButton: "up" | "down";
71
- scrolledOutside: boolean;
72
- name: string | null;
73
- isResizing: boolean;
74
- isRotating: boolean;
75
- zoom: Readonly<{
76
- value: import("../types").NormalizedZoomValue;
77
- }>;
78
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
- openSidebar: {
80
- name: string;
81
- tab?: string | undefined;
82
- } | null;
83
- openDialog: {
84
- name: "imageExport" | "help" | "jsonExport";
85
- } | {
86
- name: "ttd";
87
- tab: "mermaid" | "text-to-diagram";
88
- } | {
89
- name: "commandPalette";
90
- } | {
91
- name: "elementLinkSelector";
92
- sourceElementId: string;
93
- } | null;
94
- defaultSidebarDockedPreference: boolean;
95
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
96
- selectedElementIds: Readonly<{
97
- [id: string]: true;
98
- }>;
99
- hoveredElementIds: Readonly<{
100
- [id: string]: true;
101
- }>;
102
- previousSelectedElementIds: {
103
- [id: string]: true;
104
- };
105
- selectedElementsAreBeingDragged: boolean;
106
- shouldCacheIgnoreZoom: boolean;
107
- toast: {
108
- message: string;
109
- closable?: boolean | undefined;
110
- duration?: number | undefined;
111
- } | null;
112
- zenModeEnabled: boolean;
113
- theme: import("@excalidraw/element/types").Theme;
114
- gridSize: number;
115
- gridStep: number;
116
- gridModeEnabled: boolean;
117
- viewModeEnabled: boolean;
118
- selectedGroupIds: {
119
- [groupId: string]: boolean;
120
- };
121
- editingGroupId: string | null;
122
- width: number;
123
- height: number;
124
- offsetTop: number;
125
- offsetLeft: number;
126
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
127
- collaborators: Map<import("../types").SocketId, Readonly<{
128
- pointer?: import("../types").CollaboratorPointer | undefined;
129
- button?: "up" | "down" | undefined;
130
- selectedElementIds?: Readonly<{
131
- [id: string]: true;
132
- }> | undefined;
133
- username?: string | null | undefined;
134
- userState?: import("@excalidraw/common").UserIdleState | undefined;
135
- color?: {
136
- background: string;
137
- stroke: string;
138
- } | undefined;
139
- avatarUrl?: string | undefined;
140
- id?: string | undefined;
141
- socketId?: import("../types").SocketId | undefined;
142
- isCurrentUser?: boolean | undefined;
143
- isInCall?: boolean | undefined;
144
- isSpeaking?: boolean | undefined;
145
- isMuted?: boolean | undefined;
146
- }>>;
147
- stats: {
148
- open: boolean;
149
- panels: number;
150
- };
151
- currentChartType: import("@excalidraw/element/types").ChartType;
152
- pasteDialog: {
153
- shown: false;
154
- data: null;
155
- } | {
156
- shown: true;
157
- data: import("../charts").Spreadsheet;
158
- };
159
- showHyperlinkPopup: false | "editor" | "info";
160
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
161
- snapLines: readonly import("../snapping").SnapLine[];
162
- originSnapOffset: {
163
- x: number;
164
- y: number;
165
- } | null;
166
- objectsSnapModeEnabled: boolean;
167
- userToFollow: import("../types").UserToFollow | null;
168
- followedBy: Set<import("../types").SocketId>;
169
- isCropping: boolean;
170
- croppingElementId: string | null;
171
- searchMatches: Readonly<{
172
- focusedId: string | null;
173
- matches: readonly import("../types").SearchMatch[];
174
- }> | null;
175
- activeLockedId: string | null;
176
- lockedMultiSelections: {
177
- [groupId: string]: true;
178
- };
179
- };
180
- captureUpdate: "EVENTUALLY";
181
- };
182
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
183
- } & {
184
- keyTest?: undefined;
185
- };
186
- export declare const actionToggleEditMenu: {
187
- name: "toggleEditMenu";
188
- label: string;
189
- trackEvent: {
190
- category: "menu";
191
- };
192
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
193
- appState: {
194
- openMenu: "shape" | null;
195
- contextMenu: {
196
- items: import("../components/ContextMenu").ContextMenuItems;
197
- top: number;
198
- left: number;
199
- } | null;
200
- showWelcomeScreen: boolean;
201
- isLoading: boolean;
202
- errorMessage: import("react").ReactNode;
203
- activeEmbeddable: {
204
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
205
- state: "active" | "hover";
206
- } | null;
207
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
208
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
209
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
210
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
211
- isBindingEnabled: boolean;
212
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
213
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
214
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
215
- frameRendering: {
216
- enabled: boolean;
217
- name: boolean;
218
- outline: boolean;
219
- clip: boolean;
220
- };
221
- editingFrame: string | null;
222
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
223
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
224
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
225
- activeTool: {
226
- lastActiveTool: import("../types").ActiveTool | null;
227
- locked: boolean;
228
- fromSelection: boolean;
229
- } & import("../types").ActiveTool;
230
- penMode: boolean;
231
- penDetected: boolean;
232
- exportBackground: boolean;
233
- exportEmbedScene: boolean;
234
- exportWithDarkMode: boolean;
235
- exportScale: number;
236
- currentItemStrokeColor: string;
237
- currentItemBackgroundColor: string;
238
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
239
- currentItemStrokeWidth: number;
240
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
241
- currentItemRoughness: number;
242
- currentItemOpacity: number;
243
- currentItemFontFamily: number;
244
- currentItemFontSize: number;
245
- currentItemTextAlign: string;
246
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
247
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
248
- currentHoveredFontFamily: number | null;
249
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
250
- currentItemArrowType: "round" | "sharp" | "elbow";
251
- viewBackgroundColor: string;
252
- scrollX: number;
253
- scrollY: number;
254
- cursorButton: "up" | "down";
255
- scrolledOutside: boolean;
256
- name: string | null;
257
- isResizing: boolean;
258
- isRotating: boolean;
259
- zoom: Readonly<{
260
- value: import("../types").NormalizedZoomValue;
261
- }>;
262
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
263
- openSidebar: {
264
- name: string;
265
- tab?: string | undefined;
266
- } | null;
267
- openDialog: {
268
- name: "imageExport" | "help" | "jsonExport";
269
- } | {
270
- name: "ttd";
271
- tab: "mermaid" | "text-to-diagram";
272
- } | {
273
- name: "commandPalette";
274
- } | {
275
- name: "elementLinkSelector";
276
- sourceElementId: string;
277
- } | null;
278
- defaultSidebarDockedPreference: boolean;
279
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
280
- selectedElementIds: Readonly<{
281
- [id: string]: true;
282
- }>;
283
- hoveredElementIds: Readonly<{
284
- [id: string]: true;
285
- }>;
286
- previousSelectedElementIds: {
287
- [id: string]: true;
288
- };
289
- selectedElementsAreBeingDragged: boolean;
290
- shouldCacheIgnoreZoom: boolean;
291
- toast: {
292
- message: string;
293
- closable?: boolean | undefined;
294
- duration?: number | undefined;
295
- } | null;
296
- zenModeEnabled: boolean;
297
- theme: import("@excalidraw/element/types").Theme;
298
- gridSize: number;
299
- gridStep: number;
300
- gridModeEnabled: boolean;
301
- viewModeEnabled: boolean;
302
- selectedGroupIds: {
303
- [groupId: string]: boolean;
304
- };
305
- editingGroupId: string | null;
306
- width: number;
307
- height: number;
308
- offsetTop: number;
309
- offsetLeft: number;
310
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
311
- collaborators: Map<import("../types").SocketId, Readonly<{
312
- pointer?: import("../types").CollaboratorPointer | undefined;
313
- button?: "up" | "down" | undefined;
314
- selectedElementIds?: Readonly<{
315
- [id: string]: true;
316
- }> | undefined;
317
- username?: string | null | undefined;
318
- userState?: import("@excalidraw/common").UserIdleState | undefined;
319
- color?: {
320
- background: string;
321
- stroke: string;
322
- } | undefined;
323
- avatarUrl?: string | undefined;
324
- id?: string | undefined;
325
- socketId?: import("../types").SocketId | undefined;
326
- isCurrentUser?: boolean | undefined;
327
- isInCall?: boolean | undefined;
328
- isSpeaking?: boolean | undefined;
329
- isMuted?: boolean | undefined;
330
- }>>;
331
- stats: {
332
- open: boolean;
333
- panels: number;
334
- };
335
- currentChartType: import("@excalidraw/element/types").ChartType;
336
- pasteDialog: {
337
- shown: false;
338
- data: null;
339
- } | {
340
- shown: true;
341
- data: import("../charts").Spreadsheet;
342
- };
343
- showHyperlinkPopup: false | "editor" | "info";
344
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
345
- snapLines: readonly import("../snapping").SnapLine[];
346
- originSnapOffset: {
347
- x: number;
348
- y: number;
349
- } | null;
350
- objectsSnapModeEnabled: boolean;
351
- userToFollow: import("../types").UserToFollow | null;
352
- followedBy: Set<import("../types").SocketId>;
353
- isCropping: boolean;
354
- croppingElementId: string | null;
355
- searchMatches: Readonly<{
356
- focusedId: string | null;
357
- matches: readonly import("../types").SearchMatch[];
358
- }> | null;
359
- activeLockedId: string | null;
360
- lockedMultiSelections: {
361
- [groupId: string]: true;
362
- };
363
- };
364
- captureUpdate: "EVENTUALLY";
365
- };
366
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
367
- } & {
368
- keyTest?: undefined;
369
- };
370
1
  export declare const actionShortcuts: {
371
2
  name: "toggleShortcuts";
372
3
  label: string;
@@ -376,11 +7,13 @@ export declare const actionShortcuts: {
376
7
  category: "menu";
377
8
  action: string;
378
9
  };
379
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, { focusContainer }: import("../types").AppClassProperties) => {
10
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, { focusContainer }: import("../types").AppClassProperties) => {
380
11
  appState: {
381
12
  openDialog: {
382
13
  name: "help";
383
14
  } | null;
15
+ openMenu: null;
16
+ openPopup: null;
384
17
  contextMenu: {
385
18
  items: import("../components/ContextMenu").ContextMenuItems;
386
19
  top: number;
@@ -388,18 +21,24 @@ export declare const actionShortcuts: {
388
21
  } | null;
389
22
  showWelcomeScreen: boolean;
390
23
  isLoading: boolean;
391
- errorMessage: import("react").ReactNode;
24
+ errorMessage: React.ReactNode;
392
25
  activeEmbeddable: {
393
26
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
394
- state: "active" | "hover";
27
+ state: "hover" | "active";
395
28
  } | null;
396
29
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
397
30
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
398
31
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
399
32
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
400
33
  isBindingEnabled: boolean;
34
+ boxSelectionMode: import("../types").BoxSelectionMode;
35
+ bindingPreference: "enabled" | "disabled";
36
+ isMidpointSnappingEnabled: boolean;
401
37
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
402
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
38
+ suggestedBinding: {
39
+ element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
40
+ midPoint?: import("@excalidraw/math").GlobalPoint;
41
+ } | null;
403
42
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
404
43
  frameRendering: {
405
44
  enabled: boolean;
@@ -409,13 +48,16 @@ export declare const actionShortcuts: {
409
48
  };
410
49
  editingFrame: string | null;
411
50
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
412
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
413
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
51
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
414
52
  activeTool: {
415
53
  lastActiveTool: import("../types").ActiveTool | null;
416
54
  locked: boolean;
417
55
  fromSelection: boolean;
418
56
  } & import("../types").ActiveTool;
57
+ preferredSelectionTool: {
58
+ type: "selection" | "lasso";
59
+ initialized: boolean;
60
+ };
419
61
  penMode: boolean;
420
62
  penDetected: boolean;
421
63
  exportBackground: boolean;
@@ -424,19 +66,19 @@ export declare const actionShortcuts: {
424
66
  exportScale: number;
425
67
  currentItemStrokeColor: string;
426
68
  currentItemBackgroundColor: string;
427
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
69
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
428
70
  currentItemStrokeWidth: number;
429
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
71
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
430
72
  currentItemRoughness: number;
431
73
  currentItemOpacity: number;
432
- currentItemFontFamily: number;
74
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
433
75
  currentItemFontSize: number;
434
- currentItemTextAlign: string;
76
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
435
77
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
436
78
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
437
- currentHoveredFontFamily: number | null;
79
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
438
80
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
439
- currentItemArrowType: "round" | "sharp" | "elbow";
81
+ currentItemArrowType: "sharp" | "round" | "elbow";
440
82
  viewBackgroundColor: string;
441
83
  scrollX: number;
442
84
  scrollY: number;
@@ -445,14 +87,10 @@ export declare const actionShortcuts: {
445
87
  name: string | null;
446
88
  isResizing: boolean;
447
89
  isRotating: boolean;
448
- zoom: Readonly<{
449
- value: import("../types").NormalizedZoomValue;
450
- }>;
451
- openMenu: "canvas" | "shape" | null;
452
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
90
+ zoom: import("../types").Zoom;
453
91
  openSidebar: {
454
- name: string;
455
- tab?: string | undefined;
92
+ name: import("../types").SidebarName;
93
+ tab?: import("../types").SidebarTabName;
456
94
  } | null;
457
95
  defaultSidebarDockedPreference: boolean;
458
96
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -468,9 +106,9 @@ export declare const actionShortcuts: {
468
106
  selectedElementsAreBeingDragged: boolean;
469
107
  shouldCacheIgnoreZoom: boolean;
470
108
  toast: {
471
- message: string;
472
- closable?: boolean | undefined;
473
- duration?: number | undefined;
109
+ message: React.ReactNode;
110
+ closable?: boolean;
111
+ duration?: number;
474
112
  } | null;
475
113
  zenModeEnabled: boolean;
476
114
  theme: import("@excalidraw/element/types").Theme;
@@ -481,45 +119,18 @@ export declare const actionShortcuts: {
481
119
  selectedGroupIds: {
482
120
  [groupId: string]: boolean;
483
121
  };
484
- editingGroupId: string | null;
122
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
485
123
  width: number;
486
124
  height: number;
487
125
  offsetTop: number;
488
126
  offsetLeft: number;
489
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
490
- collaborators: Map<import("../types").SocketId, Readonly<{
491
- pointer?: import("../types").CollaboratorPointer | undefined;
492
- button?: "up" | "down" | undefined;
493
- selectedElementIds?: Readonly<{
494
- [id: string]: true;
495
- }> | undefined;
496
- username?: string | null | undefined;
497
- userState?: import("@excalidraw/common").UserIdleState | undefined;
498
- color?: {
499
- background: string;
500
- stroke: string;
501
- } | undefined;
502
- avatarUrl?: string | undefined;
503
- id?: string | undefined;
504
- socketId?: import("../types").SocketId | undefined;
505
- isCurrentUser?: boolean | undefined;
506
- isInCall?: boolean | undefined;
507
- isSpeaking?: boolean | undefined;
508
- isMuted?: boolean | undefined;
509
- }>>;
127
+ fileHandle: FileSystemFileHandle | null;
128
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
510
129
  stats: {
511
130
  open: boolean;
512
131
  panels: number;
513
132
  };
514
- currentChartType: import("@excalidraw/element/types").ChartType;
515
- pasteDialog: {
516
- shown: false;
517
- data: null;
518
- } | {
519
- shown: true;
520
- data: import("../charts").Spreadsheet;
521
- };
522
- showHyperlinkPopup: false | "editor" | "info";
133
+ showHyperlinkPopup: false | "info" | "editor";
523
134
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
524
135
  snapLines: readonly import("../snapping").SnapLine[];
525
136
  originSnapOffset: {
@@ -530,15 +141,16 @@ export declare const actionShortcuts: {
530
141
  userToFollow: import("../types").UserToFollow | null;
531
142
  followedBy: Set<import("../types").SocketId>;
532
143
  isCropping: boolean;
533
- croppingElementId: string | null;
144
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
534
145
  searchMatches: Readonly<{
535
- focusedId: string | null;
146
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
536
147
  matches: readonly import("../types").SearchMatch[];
537
148
  }> | null;
538
149
  activeLockedId: string | null;
539
150
  lockedMultiSelections: {
540
151
  [groupId: string]: true;
541
152
  };
153
+ bindMode: import("@excalidraw/element/types").BindMode;
542
154
  };
543
155
  captureUpdate: "EVENTUALLY";
544
156
  };