@excalidraw/excalidraw 0.18.0-817d8c5 → 0.18.0-a5d6939

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 (268) hide show
  1. package/CHANGELOG.md +11 -11
  2. package/dist/dev/chunk-FB2NA5UG.js +4132 -0
  3. package/dist/dev/chunk-FB2NA5UG.js.map +7 -0
  4. package/dist/dev/{chunk-3SN6HYVK.js → chunk-GBJ7S76A.js} +15490 -22586
  5. package/dist/dev/chunk-GBJ7S76A.js.map +7 -0
  6. package/dist/dev/{chunk-53KHN5WM.js → chunk-GIMGG4AT.js} +2 -2
  7. package/dist/dev/{chunk-53KHN5WM.js.map → chunk-GIMGG4AT.js.map} +1 -1
  8. package/dist/dev/{chunk-LMHBUWQS.js → chunk-X3RYHLJU.js} +2 -1
  9. package/dist/dev/chunk-X3RYHLJU.js.map +7 -0
  10. package/dist/dev/data/{image-V26YBSDB.js → image-JN3Y4CVN.js} +3 -3
  11. package/dist/dev/index.css +3031 -3034
  12. package/dist/dev/index.css.map +3 -3
  13. package/dist/dev/index.js +30389 -22974
  14. package/dist/dev/index.js.map +4 -4
  15. package/dist/dev/locales/{en-OZCJJ2HN.js → en-CKWC2GMK.js} +2 -2
  16. package/dist/dev/subset-shared.chunk.js +2 -2
  17. package/dist/dev/subset-worker.chunk.js +2 -2
  18. package/dist/prod/{chunk-G5N3DNGT.js → chunk-GKI4RZ6C.js} +1 -1
  19. package/dist/prod/{chunk-6U3AYISY.js → chunk-IUH5AXLB.js} +1 -1
  20. package/dist/prod/chunk-LS7FJGPW.js +86 -0
  21. package/dist/prod/chunk-TVF64BAY.js +33 -0
  22. package/dist/prod/data/image-CZ2OEVDB.js +1 -0
  23. package/dist/prod/index.css +1 -1
  24. package/dist/prod/index.js +18 -15
  25. package/dist/prod/locales/{en-B4ZKOASM.js → en-SBO6ZHT2.js} +1 -1
  26. package/dist/prod/subset-shared.chunk.js +1 -1
  27. package/dist/prod/subset-worker.chunk.js +1 -1
  28. package/dist/types/{excalidraw/binaryheap.d.ts → common/src/binary-heap.d.ts} +1 -1
  29. package/dist/types/{excalidraw → common/src}/colors.d.ts +1 -0
  30. package/dist/types/{excalidraw → common/src}/constants.d.ts +9 -6
  31. package/dist/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +11 -3
  32. package/dist/types/common/src/index.d.ts +11 -0
  33. package/dist/types/{excalidraw → common/src}/points.d.ts +2 -0
  34. package/dist/types/common/src/promise-pool.d.ts +6 -0
  35. package/dist/types/{excalidraw → common/src}/utils.d.ts +10 -12
  36. package/dist/types/{excalidraw/scene → element/src}/Shape.d.ts +2 -2
  37. package/dist/types/{excalidraw/scene → element/src}/ShapeCache.d.ts +4 -4
  38. package/dist/types/{excalidraw → element/src}/align.d.ts +2 -2
  39. package/dist/types/{excalidraw/element → element/src}/binding.d.ts +8 -8
  40. package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +7 -2
  41. package/dist/types/{excalidraw/element → element/src}/collision.d.ts +3 -3
  42. package/dist/types/{excalidraw/scene → element/src}/comparisons.d.ts +1 -1
  43. package/dist/types/{excalidraw → element/src}/distribute.d.ts +1 -1
  44. package/dist/types/{excalidraw/element → element/src}/dragElements.d.ts +3 -3
  45. package/dist/types/element/src/duplicate.d.ts +63 -0
  46. package/dist/types/{excalidraw/element → element/src}/elementLink.d.ts +1 -1
  47. package/dist/types/element/src/embeddable.d.ts +10 -0
  48. package/dist/types/{excalidraw/element → element/src}/flowchart.d.ts +1 -1
  49. package/dist/types/{excalidraw → element/src}/fractionalIndex.d.ts +4 -1
  50. package/dist/types/{excalidraw → element/src}/frame.d.ts +7 -7
  51. package/dist/types/{excalidraw → element/src}/groups.d.ts +5 -5
  52. package/dist/types/{excalidraw/element → element/src}/heading.d.ts +1 -2
  53. package/dist/types/{excalidraw/element → element/src}/image.d.ts +2 -2
  54. package/dist/types/{excalidraw/element → element/src}/index.d.ts +0 -10
  55. package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +7 -7
  56. package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +1 -1
  57. package/dist/types/{excalidraw/element → element/src}/newElement.d.ts +3 -43
  58. package/dist/types/{excalidraw/renderer → element/src}/renderElement.d.ts +3 -3
  59. package/dist/types/{excalidraw/element → element/src}/resizeElements.d.ts +4 -4
  60. package/dist/types/{excalidraw/element → element/src}/resizeTest.d.ts +4 -4
  61. package/dist/types/{excalidraw/scene → element/src}/selection.d.ts +13 -2
  62. package/dist/types/element/src/shapes.d.ts +23 -0
  63. package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
  64. package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +1 -1
  65. package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +5 -5
  66. package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +7 -7
  67. package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +2 -2
  68. package/dist/types/{excalidraw/element → element/src}/types.d.ts +2 -2
  69. package/dist/types/{excalidraw → element/src}/zindex.d.ts +5 -4
  70. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +73 -70
  71. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  72. package/dist/types/excalidraw/actions/actionBoundText.d.ts +54 -52
  73. package/dist/types/excalidraw/actions/actionCanvas.d.ts +542 -353
  74. package/dist/types/excalidraw/actions/actionClipboard.d.ts +155 -149
  75. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +26 -25
  76. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +73 -70
  77. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  78. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -7
  79. package/dist/types/excalidraw/actions/actionElementLink.d.ts +30 -29
  80. package/dist/types/excalidraw/actions/actionElementLock.d.ts +53 -52
  81. package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +26 -35
  82. package/dist/types/excalidraw/actions/actionExport.d.ts +300 -291
  83. package/dist/types/excalidraw/actions/actionFinalize.d.ts +41 -39
  84. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  85. package/dist/types/excalidraw/actions/actionFrame.d.ts +212 -208
  86. package/dist/types/excalidraw/actions/actionGroup.d.ts +51 -49
  87. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -1
  88. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +27 -26
  89. package/dist/types/excalidraw/actions/actionLink.d.ts +26 -25
  90. package/dist/types/excalidraw/actions/actionMenu.d.ts +73 -70
  91. package/dist/types/excalidraw/actions/actionNavigate.d.ts +48 -46
  92. package/dist/types/excalidraw/actions/actionProperties.d.ts +317 -302
  93. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +26 -25
  94. package/dist/types/excalidraw/actions/actionStyles.d.ts +28 -27
  95. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  96. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +26 -25
  97. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +26 -25
  98. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +50 -48
  99. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +25 -25
  100. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +26 -26
  101. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +26 -26
  102. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  103. package/dist/types/excalidraw/actions/index.d.ts +1 -0
  104. package/dist/types/excalidraw/actions/manager.d.ts +2 -2
  105. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  106. package/dist/types/excalidraw/actions/types.d.ts +4 -4
  107. package/dist/types/excalidraw/animated-trail.d.ts +7 -1
  108. package/dist/types/excalidraw/appState.d.ts +32 -31
  109. package/dist/types/excalidraw/change.d.ts +3 -3
  110. package/dist/types/excalidraw/charts.d.ts +1 -1
  111. package/dist/types/excalidraw/clipboard.d.ts +7 -7
  112. package/dist/types/excalidraw/components/Actions.d.ts +3 -3
  113. package/dist/types/excalidraw/components/App.d.ts +38 -19
  114. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  115. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
  116. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +4 -4
  117. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  118. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  119. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  120. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  121. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +3 -3
  122. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  123. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -1
  124. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -1
  125. package/dist/types/excalidraw/components/ContextMenu.d.ts +2 -2
  126. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  127. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +2 -2
  128. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  129. package/dist/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +1 -1
  130. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  131. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  132. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  133. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -1
  134. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  135. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +3 -3
  136. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  137. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  138. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  139. package/dist/types/excalidraw/components/IconPicker.d.ts +1 -1
  140. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -2
  141. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  142. package/dist/types/excalidraw/components/Island.d.ts +1 -1
  143. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +2 -2
  144. package/dist/types/excalidraw/components/LayerUI.d.ts +3 -3
  145. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  146. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -1
  147. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +3 -3
  148. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  149. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  150. package/dist/types/excalidraw/components/MagicButton.d.ts +1 -1
  151. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -3
  152. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  153. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
  154. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -1
  155. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
  156. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -1
  157. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -1
  158. package/dist/types/excalidraw/components/Stack.d.ts +1 -1
  159. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  160. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  161. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  162. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  163. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  164. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  165. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  166. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  167. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  168. package/dist/types/excalidraw/components/Stats/index.d.ts +2 -2
  169. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  170. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
  171. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  172. package/dist/types/excalidraw/components/TextField.d.ts +1 -1
  173. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  174. package/dist/types/excalidraw/components/ToolButton.d.ts +2 -2
  175. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  176. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  177. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -3
  178. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -2
  179. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +3 -3
  180. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  181. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +2 -2
  182. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +1 -1
  183. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  184. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
  185. package/dist/types/excalidraw/components/icons.d.ts +2 -1
  186. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  187. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +4 -1
  188. package/dist/types/excalidraw/components/shapes.d.ts +62 -0
  189. package/dist/types/excalidraw/context/tunnels.d.ts +1 -1
  190. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  191. package/dist/types/excalidraw/data/blob.d.ts +4 -4
  192. package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
  193. package/dist/types/excalidraw/data/index.d.ts +2 -2
  194. package/dist/types/excalidraw/data/json.d.ts +1 -1
  195. package/dist/types/excalidraw/data/library.d.ts +3 -3
  196. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  197. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  198. package/dist/types/excalidraw/data/restore.d.ts +1 -1
  199. package/dist/types/excalidraw/data/transform.d.ts +4 -4
  200. package/dist/types/excalidraw/data/types.d.ts +3 -3
  201. package/dist/types/excalidraw/eraser/index.d.ts +14 -0
  202. package/dist/types/excalidraw/errors.d.ts +0 -3
  203. package/dist/types/excalidraw/fonts/Fonts.d.ts +2 -12
  204. package/dist/types/excalidraw/history.d.ts +2 -2
  205. package/dist/types/excalidraw/i18n.d.ts +1 -1
  206. package/dist/types/excalidraw/index.d.ts +15 -14
  207. package/dist/types/excalidraw/laser-trails.d.ts +1 -1
  208. package/dist/types/excalidraw/lasso/index.d.ts +15 -0
  209. package/dist/types/excalidraw/lasso/utils.d.ts +12 -0
  210. package/dist/types/excalidraw/renderer/helpers.d.ts +2 -2
  211. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +2 -2
  212. package/dist/types/excalidraw/scene/Renderer.d.ts +3 -3
  213. package/dist/types/excalidraw/scene/Scene.d.ts +5 -5
  214. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  215. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  216. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  217. package/dist/types/excalidraw/scene/scrollbars.d.ts +1 -1
  218. package/dist/types/excalidraw/scene/types.d.ts +4 -4
  219. package/dist/types/excalidraw/snapping.d.ts +5 -6
  220. package/dist/types/excalidraw/store.d.ts +2 -2
  221. package/dist/types/excalidraw/types.d.ts +18 -15
  222. package/dist/types/excalidraw/visualdebug.d.ts +2 -2
  223. package/dist/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +1 -1
  224. package/dist/types/math/{point.d.ts → src/point.d.ts} +2 -2
  225. package/dist/types/math/{polygon.d.ts → src/polygon.d.ts} +1 -0
  226. package/dist/types/math/{segment.d.ts → src/segment.d.ts} +1 -1
  227. package/dist/types/math/{types.d.ts → src/types.d.ts} +1 -0
  228. package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
  229. package/dist/types/utils/{collision.d.ts → src/collision.d.ts} +2 -3
  230. package/dist/types/utils/{export.d.ts → src/export.d.ts} +2 -2
  231. package/dist/types/utils/{index.d.ts → src/index.d.ts} +1 -1
  232. package/dist/types/utils/{geometry → src}/shape.d.ts +2 -15
  233. package/dist/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +2 -2
  234. package/history.ts +4 -2
  235. package/package.json +14 -2
  236. package/dist/dev/chunk-3SN6HYVK.js.map +0 -7
  237. package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
  238. package/dist/dev/chunk-OKSO7T74.js +0 -4132
  239. package/dist/dev/chunk-OKSO7T74.js.map +0 -7
  240. package/dist/prod/chunk-36CXSE6H.js +0 -34
  241. package/dist/prod/chunk-EIO257PC.js +0 -86
  242. package/dist/prod/data/image-N4WCURRR.js +0 -1
  243. package/dist/types/excalidraw/shapes.d.ts +0 -85
  244. package/dist/dev/data/{image-V26YBSDB.js.map → image-JN3Y4CVN.js.map} +0 -0
  245. package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-CKWC2GMK.js.map} +0 -0
  246. package/dist/types/{excalidraw → common/src}/keys.d.ts +0 -0
  247. package/dist/types/{excalidraw → common/src}/queue.d.ts +0 -0
  248. package/dist/types/{excalidraw → common/src}/random.d.ts +0 -0
  249. package/dist/types/{excalidraw/data → common/src}/url.d.ts +0 -0
  250. package/dist/types/{excalidraw → common/src}/utility-types.d.ts +0 -0
  251. package/dist/types/{excalidraw/element → element/src}/containerCache.d.ts +0 -0
  252. package/dist/types/{excalidraw/element → element/src}/cropElement.d.ts +0 -0
  253. package/dist/types/{excalidraw/element → element/src}/distance.d.ts +0 -0
  254. package/dist/types/{excalidraw/element → element/src}/elbowArrow.d.ts +0 -0
  255. package/dist/types/{excalidraw/element → element/src}/sortElements.d.ts +0 -0
  256. package/dist/types/{excalidraw/element → element/src}/textMeasurements.d.ts +0 -0
  257. package/dist/types/{excalidraw/element → element/src}/textWrapping.d.ts +0 -0
  258. package/dist/types/{excalidraw/element → element/src}/utils.d.ts +1 -1
  259. /package/dist/types/math/{angle.d.ts → src/angle.d.ts} +0 -0
  260. /package/dist/types/math/{curve.d.ts → src/curve.d.ts} +0 -0
  261. /package/dist/types/math/{ellipse.d.ts → src/ellipse.d.ts} +0 -0
  262. /package/dist/types/math/{index.d.ts → src/index.d.ts} +0 -0
  263. /package/dist/types/math/{line.d.ts → src/line.d.ts} +0 -0
  264. /package/dist/types/math/{range.d.ts → src/range.d.ts} +0 -0
  265. /package/dist/types/math/{rectangle.d.ts → src/rectangle.d.ts} +0 -0
  266. /package/dist/types/math/{triangle.d.ts → src/triangle.d.ts} +0 -0
  267. /package/dist/types/math/{utils.d.ts → src/utils.d.ts} +0 -0
  268. /package/dist/types/math/{vector.d.ts → src/vector.d.ts} +0 -0
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- import type { Theme } from "../element/types";
2
+ import type { Theme } from "@excalidraw/element/types";
3
3
  import "../components/ToolIcon.scss";
4
4
  export declare const actionChangeProjectName: {
5
5
  name: "changeProjectName";
6
6
  label: string;
7
7
  trackEvent: false;
8
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
8
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
9
9
  appState: {
10
10
  name: any;
11
11
  contextMenu: {
@@ -17,17 +17,17 @@ export declare const actionChangeProjectName: {
17
17
  isLoading: boolean;
18
18
  errorMessage: import("react").ReactNode;
19
19
  activeEmbeddable: {
20
- element: import("../element/types").NonDeletedExcalidrawElement;
20
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
21
  state: "hover" | "active";
22
22
  } | null;
23
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
24
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
25
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
26
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | 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
27
  isBindingEnabled: boolean;
28
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("../element/binding").SuggestedBinding[];
30
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
28
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
30
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
31
  frameRendering: {
32
32
  enabled: boolean;
33
33
  name: boolean;
@@ -35,12 +35,13 @@ export declare const actionChangeProjectName: {
35
35
  clip: boolean;
36
36
  };
37
37
  editingFrame: string | null;
38
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
39
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
40
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | 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").LinearElementEditor | null;
41
41
  activeTool: {
42
42
  lastActiveTool: import("../types").ActiveTool | null;
43
43
  locked: boolean;
44
+ fromSelection: boolean;
44
45
  } & import("../types").ActiveTool;
45
46
  penMode: boolean;
46
47
  penDetected: boolean;
@@ -50,18 +51,18 @@ export declare const actionChangeProjectName: {
50
51
  exportScale: number;
51
52
  currentItemStrokeColor: string;
52
53
  currentItemBackgroundColor: string;
53
- currentItemFillStyle: import("../element/types").FillStyle;
54
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
54
55
  currentItemStrokeWidth: number;
55
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
56
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
56
57
  currentItemRoughness: number;
57
58
  currentItemOpacity: number;
58
59
  currentItemFontFamily: number;
59
60
  currentItemFontSize: number;
60
61
  currentItemTextAlign: string;
61
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
62
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
62
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
64
  currentHoveredFontFamily: number | null;
64
- currentItemRoundness: import("../element/types").StrokeRoundness;
65
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
66
  currentItemArrowType: "round" | "sharp" | "elbow";
66
67
  viewBackgroundColor: string;
67
68
  scrollX: number;
@@ -73,7 +74,7 @@ export declare const actionChangeProjectName: {
73
74
  zoom: Readonly<{
74
75
  value: import("../types").NormalizedZoomValue;
75
76
  }>;
76
- openMenu: "canvas" | "shape" | null;
77
+ openMenu: "shape" | "canvas" | null;
77
78
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
78
79
  openSidebar: {
79
80
  name: string;
@@ -91,7 +92,7 @@ export declare const actionChangeProjectName: {
91
92
  sourceElementId: string;
92
93
  } | null;
93
94
  defaultSidebarDockedPreference: boolean;
94
- lastPointerDownWith: import("../element/types").PointerType;
95
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
95
96
  selectedElementIds: Readonly<{
96
97
  [id: string]: true;
97
98
  }>;
@@ -130,7 +131,7 @@ export declare const actionChangeProjectName: {
130
131
  [id: string]: true;
131
132
  }> | undefined;
132
133
  username?: string | null | undefined;
133
- userState?: import("../constants").UserIdleState | undefined;
134
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
134
135
  color?: {
135
136
  background: string;
136
137
  stroke: string;
@@ -147,7 +148,7 @@ export declare const actionChangeProjectName: {
147
148
  open: boolean;
148
149
  panels: number;
149
150
  };
150
- currentChartType: import("../element/types").ChartType;
151
+ currentChartType: import("@excalidraw/element/types").ChartType;
151
152
  pasteDialog: {
152
153
  shown: false;
153
154
  data: null;
@@ -156,8 +157,8 @@ export declare const actionChangeProjectName: {
156
157
  data: import("../charts").Spreadsheet;
157
158
  };
158
159
  pendingImageElementId: string | null;
159
- showHyperlinkPopup: false | "info" | "editor";
160
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
160
+ showHyperlinkPopup: false | "editor" | "info";
161
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
161
162
  snapLines: readonly import("../snapping").SnapLine[];
162
163
  originSnapOffset: {
163
164
  x: number;
@@ -192,7 +193,7 @@ export declare const actionChangeExportScale: {
192
193
  category: "export";
193
194
  action: string;
194
195
  };
195
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
196
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
196
197
  appState: {
197
198
  exportScale: any;
198
199
  contextMenu: {
@@ -204,17 +205,17 @@ export declare const actionChangeExportScale: {
204
205
  isLoading: boolean;
205
206
  errorMessage: import("react").ReactNode;
206
207
  activeEmbeddable: {
207
- element: import("../element/types").NonDeletedExcalidrawElement;
208
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
208
209
  state: "hover" | "active";
209
210
  } | null;
210
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
211
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
212
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
213
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
211
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
212
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
213
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
214
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
214
215
  isBindingEnabled: boolean;
215
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
216
- suggestedBindings: import("../element/binding").SuggestedBinding[];
217
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
216
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
217
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
218
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
218
219
  frameRendering: {
219
220
  enabled: boolean;
220
221
  name: boolean;
@@ -222,12 +223,13 @@ export declare const actionChangeExportScale: {
222
223
  clip: boolean;
223
224
  };
224
225
  editingFrame: string | null;
225
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
226
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
227
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
226
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
227
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
228
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
228
229
  activeTool: {
229
230
  lastActiveTool: import("../types").ActiveTool | null;
230
231
  locked: boolean;
232
+ fromSelection: boolean;
231
233
  } & import("../types").ActiveTool;
232
234
  penMode: boolean;
233
235
  penDetected: boolean;
@@ -236,18 +238,18 @@ export declare const actionChangeExportScale: {
236
238
  exportWithDarkMode: boolean;
237
239
  currentItemStrokeColor: string;
238
240
  currentItemBackgroundColor: string;
239
- currentItemFillStyle: import("../element/types").FillStyle;
241
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
240
242
  currentItemStrokeWidth: number;
241
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
243
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
242
244
  currentItemRoughness: number;
243
245
  currentItemOpacity: number;
244
246
  currentItemFontFamily: number;
245
247
  currentItemFontSize: number;
246
248
  currentItemTextAlign: string;
247
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
248
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
249
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
250
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
249
251
  currentHoveredFontFamily: number | null;
250
- currentItemRoundness: import("../element/types").StrokeRoundness;
252
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
251
253
  currentItemArrowType: "round" | "sharp" | "elbow";
252
254
  viewBackgroundColor: string;
253
255
  scrollX: number;
@@ -260,7 +262,7 @@ export declare const actionChangeExportScale: {
260
262
  zoom: Readonly<{
261
263
  value: import("../types").NormalizedZoomValue;
262
264
  }>;
263
- openMenu: "canvas" | "shape" | null;
265
+ openMenu: "shape" | "canvas" | null;
264
266
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
265
267
  openSidebar: {
266
268
  name: string;
@@ -278,7 +280,7 @@ export declare const actionChangeExportScale: {
278
280
  sourceElementId: string;
279
281
  } | null;
280
282
  defaultSidebarDockedPreference: boolean;
281
- lastPointerDownWith: import("../element/types").PointerType;
283
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
282
284
  selectedElementIds: Readonly<{
283
285
  [id: string]: true;
284
286
  }>;
@@ -317,7 +319,7 @@ export declare const actionChangeExportScale: {
317
319
  [id: string]: true;
318
320
  }> | undefined;
319
321
  username?: string | null | undefined;
320
- userState?: import("../constants").UserIdleState | undefined;
322
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
321
323
  color?: {
322
324
  background: string;
323
325
  stroke: string;
@@ -334,7 +336,7 @@ export declare const actionChangeExportScale: {
334
336
  open: boolean;
335
337
  panels: number;
336
338
  };
337
- currentChartType: import("../element/types").ChartType;
339
+ currentChartType: import("@excalidraw/element/types").ChartType;
338
340
  pasteDialog: {
339
341
  shown: false;
340
342
  data: null;
@@ -343,8 +345,8 @@ export declare const actionChangeExportScale: {
343
345
  data: import("../charts").Spreadsheet;
344
346
  };
345
347
  pendingImageElementId: string | null;
346
- showHyperlinkPopup: false | "info" | "editor";
347
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
348
+ showHyperlinkPopup: false | "editor" | "info";
349
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
348
350
  snapLines: readonly import("../snapping").SnapLine[];
349
351
  originSnapOffset: {
350
352
  x: number;
@@ -379,7 +381,7 @@ export declare const actionChangeExportBackground: {
379
381
  category: "export";
380
382
  action: string;
381
383
  };
382
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
384
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
383
385
  appState: {
384
386
  exportBackground: any;
385
387
  contextMenu: {
@@ -391,17 +393,17 @@ export declare const actionChangeExportBackground: {
391
393
  isLoading: boolean;
392
394
  errorMessage: import("react").ReactNode;
393
395
  activeEmbeddable: {
394
- element: import("../element/types").NonDeletedExcalidrawElement;
396
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
395
397
  state: "hover" | "active";
396
398
  } | null;
397
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
398
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
399
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
400
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
399
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
400
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
401
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
402
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
401
403
  isBindingEnabled: boolean;
402
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
403
- suggestedBindings: import("../element/binding").SuggestedBinding[];
404
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
404
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
405
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
406
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
405
407
  frameRendering: {
406
408
  enabled: boolean;
407
409
  name: boolean;
@@ -409,12 +411,13 @@ export declare const actionChangeExportBackground: {
409
411
  clip: boolean;
410
412
  };
411
413
  editingFrame: string | null;
412
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
413
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
414
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
414
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
415
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
416
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
415
417
  activeTool: {
416
418
  lastActiveTool: import("../types").ActiveTool | null;
417
419
  locked: boolean;
420
+ fromSelection: boolean;
418
421
  } & import("../types").ActiveTool;
419
422
  penMode: boolean;
420
423
  penDetected: boolean;
@@ -423,18 +426,18 @@ export declare const actionChangeExportBackground: {
423
426
  exportScale: number;
424
427
  currentItemStrokeColor: string;
425
428
  currentItemBackgroundColor: string;
426
- currentItemFillStyle: import("../element/types").FillStyle;
429
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
427
430
  currentItemStrokeWidth: number;
428
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
431
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
429
432
  currentItemRoughness: number;
430
433
  currentItemOpacity: number;
431
434
  currentItemFontFamily: number;
432
435
  currentItemFontSize: number;
433
436
  currentItemTextAlign: string;
434
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
435
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
437
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
438
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
436
439
  currentHoveredFontFamily: number | null;
437
- currentItemRoundness: import("../element/types").StrokeRoundness;
440
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
438
441
  currentItemArrowType: "round" | "sharp" | "elbow";
439
442
  viewBackgroundColor: string;
440
443
  scrollX: number;
@@ -447,7 +450,7 @@ export declare const actionChangeExportBackground: {
447
450
  zoom: Readonly<{
448
451
  value: import("../types").NormalizedZoomValue;
449
452
  }>;
450
- openMenu: "canvas" | "shape" | null;
453
+ openMenu: "shape" | "canvas" | null;
451
454
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
452
455
  openSidebar: {
453
456
  name: string;
@@ -465,7 +468,7 @@ export declare const actionChangeExportBackground: {
465
468
  sourceElementId: string;
466
469
  } | null;
467
470
  defaultSidebarDockedPreference: boolean;
468
- lastPointerDownWith: import("../element/types").PointerType;
471
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
469
472
  selectedElementIds: Readonly<{
470
473
  [id: string]: true;
471
474
  }>;
@@ -504,7 +507,7 @@ export declare const actionChangeExportBackground: {
504
507
  [id: string]: true;
505
508
  }> | undefined;
506
509
  username?: string | null | undefined;
507
- userState?: import("../constants").UserIdleState | undefined;
510
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
508
511
  color?: {
509
512
  background: string;
510
513
  stroke: string;
@@ -521,7 +524,7 @@ export declare const actionChangeExportBackground: {
521
524
  open: boolean;
522
525
  panels: number;
523
526
  };
524
- currentChartType: import("../element/types").ChartType;
527
+ currentChartType: import("@excalidraw/element/types").ChartType;
525
528
  pasteDialog: {
526
529
  shown: false;
527
530
  data: null;
@@ -530,8 +533,8 @@ export declare const actionChangeExportBackground: {
530
533
  data: import("../charts").Spreadsheet;
531
534
  };
532
535
  pendingImageElementId: string | null;
533
- showHyperlinkPopup: false | "info" | "editor";
534
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
536
+ showHyperlinkPopup: false | "editor" | "info";
537
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
535
538
  snapLines: readonly import("../snapping").SnapLine[];
536
539
  originSnapOffset: {
537
540
  x: number;
@@ -566,7 +569,7 @@ export declare const actionChangeExportEmbedScene: {
566
569
  category: "export";
567
570
  action: string;
568
571
  };
569
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
572
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
570
573
  appState: {
571
574
  exportEmbedScene: any;
572
575
  contextMenu: {
@@ -578,17 +581,17 @@ export declare const actionChangeExportEmbedScene: {
578
581
  isLoading: boolean;
579
582
  errorMessage: import("react").ReactNode;
580
583
  activeEmbeddable: {
581
- element: import("../element/types").NonDeletedExcalidrawElement;
584
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
582
585
  state: "hover" | "active";
583
586
  } | null;
584
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
585
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
586
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
587
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
587
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
588
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
589
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
590
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
588
591
  isBindingEnabled: boolean;
589
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
590
- suggestedBindings: import("../element/binding").SuggestedBinding[];
591
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
592
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
593
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
594
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
592
595
  frameRendering: {
593
596
  enabled: boolean;
594
597
  name: boolean;
@@ -596,12 +599,13 @@ export declare const actionChangeExportEmbedScene: {
596
599
  clip: boolean;
597
600
  };
598
601
  editingFrame: string | null;
599
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
600
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
601
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
602
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
603
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
604
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
602
605
  activeTool: {
603
606
  lastActiveTool: import("../types").ActiveTool | null;
604
607
  locked: boolean;
608
+ fromSelection: boolean;
605
609
  } & import("../types").ActiveTool;
606
610
  penMode: boolean;
607
611
  penDetected: boolean;
@@ -610,18 +614,18 @@ export declare const actionChangeExportEmbedScene: {
610
614
  exportScale: number;
611
615
  currentItemStrokeColor: string;
612
616
  currentItemBackgroundColor: string;
613
- currentItemFillStyle: import("../element/types").FillStyle;
617
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
614
618
  currentItemStrokeWidth: number;
615
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
619
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
616
620
  currentItemRoughness: number;
617
621
  currentItemOpacity: number;
618
622
  currentItemFontFamily: number;
619
623
  currentItemFontSize: number;
620
624
  currentItemTextAlign: string;
621
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
622
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
625
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
626
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
623
627
  currentHoveredFontFamily: number | null;
624
- currentItemRoundness: import("../element/types").StrokeRoundness;
628
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
625
629
  currentItemArrowType: "round" | "sharp" | "elbow";
626
630
  viewBackgroundColor: string;
627
631
  scrollX: number;
@@ -634,7 +638,7 @@ export declare const actionChangeExportEmbedScene: {
634
638
  zoom: Readonly<{
635
639
  value: import("../types").NormalizedZoomValue;
636
640
  }>;
637
- openMenu: "canvas" | "shape" | null;
641
+ openMenu: "shape" | "canvas" | null;
638
642
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
639
643
  openSidebar: {
640
644
  name: string;
@@ -652,7 +656,7 @@ export declare const actionChangeExportEmbedScene: {
652
656
  sourceElementId: string;
653
657
  } | null;
654
658
  defaultSidebarDockedPreference: boolean;
655
- lastPointerDownWith: import("../element/types").PointerType;
659
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
656
660
  selectedElementIds: Readonly<{
657
661
  [id: string]: true;
658
662
  }>;
@@ -691,7 +695,7 @@ export declare const actionChangeExportEmbedScene: {
691
695
  [id: string]: true;
692
696
  }> | undefined;
693
697
  username?: string | null | undefined;
694
- userState?: import("../constants").UserIdleState | undefined;
698
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
695
699
  color?: {
696
700
  background: string;
697
701
  stroke: string;
@@ -708,7 +712,7 @@ export declare const actionChangeExportEmbedScene: {
708
712
  open: boolean;
709
713
  panels: number;
710
714
  };
711
- currentChartType: import("../element/types").ChartType;
715
+ currentChartType: import("@excalidraw/element/types").ChartType;
712
716
  pasteDialog: {
713
717
  shown: false;
714
718
  data: null;
@@ -717,8 +721,8 @@ export declare const actionChangeExportEmbedScene: {
717
721
  data: import("../charts").Spreadsheet;
718
722
  };
719
723
  pendingImageElementId: string | null;
720
- showHyperlinkPopup: false | "info" | "editor";
721
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
724
+ showHyperlinkPopup: false | "editor" | "info";
725
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
722
726
  snapLines: readonly import("../snapping").SnapLine[];
723
727
  originSnapOffset: {
724
728
  x: number;
@@ -753,8 +757,8 @@ export declare const actionSaveToActiveFile: {
753
757
  trackEvent: {
754
758
  category: "export";
755
759
  };
756
- predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
757
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
760
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
761
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
758
762
  captureUpdate: "EVENTUALLY";
759
763
  appState: {
760
764
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
@@ -770,17 +774,17 @@ export declare const actionSaveToActiveFile: {
770
774
  isLoading: boolean;
771
775
  errorMessage: import("react").ReactNode;
772
776
  activeEmbeddable: {
773
- element: import("../element/types").NonDeletedExcalidrawElement;
777
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
774
778
  state: "hover" | "active";
775
779
  } | null;
776
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
777
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
778
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
779
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
780
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
781
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
782
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
783
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
780
784
  isBindingEnabled: boolean;
781
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
782
- suggestedBindings: import("../element/binding").SuggestedBinding[];
783
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
785
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
786
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
787
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
784
788
  frameRendering: {
785
789
  enabled: boolean;
786
790
  name: boolean;
@@ -788,12 +792,13 @@ export declare const actionSaveToActiveFile: {
788
792
  clip: boolean;
789
793
  };
790
794
  editingFrame: string | null;
791
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
792
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
793
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
795
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
796
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
797
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
794
798
  activeTool: {
795
799
  lastActiveTool: import("../types").ActiveTool | null;
796
800
  locked: boolean;
801
+ fromSelection: boolean;
797
802
  } & import("../types").ActiveTool;
798
803
  penMode: boolean;
799
804
  penDetected: boolean;
@@ -803,18 +808,18 @@ export declare const actionSaveToActiveFile: {
803
808
  exportScale: number;
804
809
  currentItemStrokeColor: string;
805
810
  currentItemBackgroundColor: string;
806
- currentItemFillStyle: import("../element/types").FillStyle;
811
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
807
812
  currentItemStrokeWidth: number;
808
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
813
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
809
814
  currentItemRoughness: number;
810
815
  currentItemOpacity: number;
811
816
  currentItemFontFamily: number;
812
817
  currentItemFontSize: number;
813
818
  currentItemTextAlign: string;
814
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
815
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
819
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
820
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
816
821
  currentHoveredFontFamily: number | null;
817
- currentItemRoundness: import("../element/types").StrokeRoundness;
822
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
818
823
  currentItemArrowType: "round" | "sharp" | "elbow";
819
824
  viewBackgroundColor: string;
820
825
  scrollX: number;
@@ -827,7 +832,7 @@ export declare const actionSaveToActiveFile: {
827
832
  zoom: Readonly<{
828
833
  value: import("../types").NormalizedZoomValue;
829
834
  }>;
830
- openMenu: "canvas" | "shape" | null;
835
+ openMenu: "shape" | "canvas" | null;
831
836
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
832
837
  openSidebar: {
833
838
  name: string;
@@ -845,7 +850,7 @@ export declare const actionSaveToActiveFile: {
845
850
  sourceElementId: string;
846
851
  } | null;
847
852
  defaultSidebarDockedPreference: boolean;
848
- lastPointerDownWith: import("../element/types").PointerType;
853
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
849
854
  selectedElementIds: Readonly<{
850
855
  [id: string]: true;
851
856
  }>;
@@ -878,7 +883,7 @@ export declare const actionSaveToActiveFile: {
878
883
  [id: string]: true;
879
884
  }> | undefined;
880
885
  username?: string | null | undefined;
881
- userState?: import("../constants").UserIdleState | undefined;
886
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
882
887
  color?: {
883
888
  background: string;
884
889
  stroke: string;
@@ -895,7 +900,7 @@ export declare const actionSaveToActiveFile: {
895
900
  open: boolean;
896
901
  panels: number;
897
902
  };
898
- currentChartType: import("../element/types").ChartType;
903
+ currentChartType: import("@excalidraw/element/types").ChartType;
899
904
  pasteDialog: {
900
905
  shown: false;
901
906
  data: null;
@@ -904,8 +909,8 @@ export declare const actionSaveToActiveFile: {
904
909
  data: import("../charts").Spreadsheet;
905
910
  };
906
911
  pendingImageElementId: string | null;
907
- showHyperlinkPopup: false | "info" | "editor";
908
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
912
+ showHyperlinkPopup: false | "editor" | "info";
913
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
909
914
  snapLines: readonly import("../snapping").SnapLine[];
910
915
  originSnapOffset: {
911
916
  x: number;
@@ -943,7 +948,7 @@ export declare const actionSaveFileToDisk: {
943
948
  trackEvent: {
944
949
  category: "export";
945
950
  };
946
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
951
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
947
952
  captureUpdate: "EVENTUALLY";
948
953
  appState: {
949
954
  openDialog: null;
@@ -960,17 +965,17 @@ export declare const actionSaveFileToDisk: {
960
965
  isLoading: boolean;
961
966
  errorMessage: import("react").ReactNode;
962
967
  activeEmbeddable: {
963
- element: import("../element/types").NonDeletedExcalidrawElement;
968
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
964
969
  state: "hover" | "active";
965
970
  } | null;
966
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
967
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
968
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
969
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
971
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
972
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
973
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
974
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
970
975
  isBindingEnabled: boolean;
971
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
972
- suggestedBindings: import("../element/binding").SuggestedBinding[];
973
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
976
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
977
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
978
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
974
979
  frameRendering: {
975
980
  enabled: boolean;
976
981
  name: boolean;
@@ -978,12 +983,13 @@ export declare const actionSaveFileToDisk: {
978
983
  clip: boolean;
979
984
  };
980
985
  editingFrame: string | null;
981
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
982
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
983
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
986
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
987
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
988
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
984
989
  activeTool: {
985
990
  lastActiveTool: import("../types").ActiveTool | null;
986
991
  locked: boolean;
992
+ fromSelection: boolean;
987
993
  } & import("../types").ActiveTool;
988
994
  penMode: boolean;
989
995
  penDetected: boolean;
@@ -993,18 +999,18 @@ export declare const actionSaveFileToDisk: {
993
999
  exportScale: number;
994
1000
  currentItemStrokeColor: string;
995
1001
  currentItemBackgroundColor: string;
996
- currentItemFillStyle: import("../element/types").FillStyle;
1002
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
997
1003
  currentItemStrokeWidth: number;
998
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1004
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
999
1005
  currentItemRoughness: number;
1000
1006
  currentItemOpacity: number;
1001
1007
  currentItemFontFamily: number;
1002
1008
  currentItemFontSize: number;
1003
1009
  currentItemTextAlign: string;
1004
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1005
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1010
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1011
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1006
1012
  currentHoveredFontFamily: number | null;
1007
- currentItemRoundness: import("../element/types").StrokeRoundness;
1013
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1008
1014
  currentItemArrowType: "round" | "sharp" | "elbow";
1009
1015
  viewBackgroundColor: string;
1010
1016
  scrollX: number;
@@ -1017,14 +1023,14 @@ export declare const actionSaveFileToDisk: {
1017
1023
  zoom: Readonly<{
1018
1024
  value: import("../types").NormalizedZoomValue;
1019
1025
  }>;
1020
- openMenu: "canvas" | "shape" | null;
1026
+ openMenu: "shape" | "canvas" | null;
1021
1027
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1022
1028
  openSidebar: {
1023
1029
  name: string;
1024
1030
  tab?: string | undefined;
1025
1031
  } | null;
1026
1032
  defaultSidebarDockedPreference: boolean;
1027
- lastPointerDownWith: import("../element/types").PointerType;
1033
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1028
1034
  selectedElementIds: Readonly<{
1029
1035
  [id: string]: true;
1030
1036
  }>;
@@ -1057,7 +1063,7 @@ export declare const actionSaveFileToDisk: {
1057
1063
  [id: string]: true;
1058
1064
  }> | undefined;
1059
1065
  username?: string | null | undefined;
1060
- userState?: import("../constants").UserIdleState | undefined;
1066
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1061
1067
  color?: {
1062
1068
  background: string;
1063
1069
  stroke: string;
@@ -1074,7 +1080,7 @@ export declare const actionSaveFileToDisk: {
1074
1080
  open: boolean;
1075
1081
  panels: number;
1076
1082
  };
1077
- currentChartType: import("../element/types").ChartType;
1083
+ currentChartType: import("@excalidraw/element/types").ChartType;
1078
1084
  pasteDialog: {
1079
1085
  shown: false;
1080
1086
  data: null;
@@ -1083,8 +1089,8 @@ export declare const actionSaveFileToDisk: {
1083
1089
  data: import("../charts").Spreadsheet;
1084
1090
  };
1085
1091
  pendingImageElementId: string | null;
1086
- showHyperlinkPopup: false | "info" | "editor";
1087
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1092
+ showHyperlinkPopup: false | "editor" | "info";
1093
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1088
1094
  snapLines: readonly import("../snapping").SnapLine[];
1089
1095
  originSnapOffset: {
1090
1096
  x: number;
@@ -1121,17 +1127,103 @@ export declare const actionLoadScene: {
1121
1127
  trackEvent: {
1122
1128
  category: "export";
1123
1129
  };
1124
- predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1125
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1126
- elements: import("../element/types").OrderedExcalidrawElement[];
1130
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1131
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1132
+ elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1127
1133
  appState: {
1134
+ viewBackgroundColor: string;
1135
+ frameRendering: {
1136
+ enabled: boolean;
1137
+ name: boolean;
1138
+ outline: boolean;
1139
+ clip: boolean;
1140
+ };
1141
+ name: string | null;
1142
+ zoom: Readonly<{
1143
+ value: import("../types").NormalizedZoomValue;
1144
+ }>;
1145
+ scrollX: number;
1146
+ scrollY: number;
1128
1147
  viewModeEnabled: boolean;
1148
+ openDialog: {
1149
+ name: "imageExport" | "help" | "jsonExport";
1150
+ } | {
1151
+ name: "ttd";
1152
+ tab: "text-to-diagram" | "mermaid";
1153
+ } | {
1154
+ name: "commandPalette";
1155
+ } | {
1156
+ name: "elementLinkSelector";
1157
+ sourceElementId: string;
1158
+ } | null;
1159
+ editingGroupId: string | null;
1160
+ selectedElementIds: Readonly<{
1161
+ [id: string]: true;
1162
+ }>;
1163
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1164
+ theme: Theme;
1165
+ pendingImageElementId: string | null;
1166
+ activeEmbeddable: {
1167
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1168
+ state: "hover" | "active";
1169
+ } | null;
1170
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1171
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1172
+ selectedGroupIds: {
1173
+ [groupId: string]: boolean;
1174
+ };
1175
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1176
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1177
+ isBindingEnabled: boolean;
1178
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1179
+ isRotating: boolean;
1180
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1181
+ collaborators: Map<import("../types").SocketId, Readonly<{
1182
+ pointer?: import("../types").CollaboratorPointer | undefined;
1183
+ button?: "up" | "down" | undefined;
1184
+ selectedElementIds?: Readonly<{
1185
+ [id: string]: true;
1186
+ }> | undefined;
1187
+ username?: string | null | undefined;
1188
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1189
+ color?: {
1190
+ background: string;
1191
+ stroke: string;
1192
+ } | undefined;
1193
+ avatarUrl?: string | undefined;
1194
+ id?: string | undefined;
1195
+ socketId?: import("../types").SocketId | undefined;
1196
+ isCurrentUser?: boolean | undefined;
1197
+ isInCall?: boolean | undefined;
1198
+ isSpeaking?: boolean | undefined;
1199
+ isMuted?: boolean | undefined;
1200
+ }>>;
1201
+ snapLines: readonly import("../snapping").SnapLine[];
1129
1202
  zenModeEnabled: boolean;
1203
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1204
+ isCropping: boolean;
1205
+ croppingElementId: string | null;
1206
+ searchMatches: readonly {
1207
+ id: string;
1208
+ focus: boolean;
1209
+ matchedLines: {
1210
+ offsetX: number;
1211
+ offsetY: number;
1212
+ width: number;
1213
+ height: number;
1214
+ }[];
1215
+ }[];
1130
1216
  gridModeEnabled: boolean;
1131
1217
  objectsSnapModeEnabled: boolean;
1132
- theme: Theme;
1133
- name: string | null;
1134
- currentItemArrowType: "round" | "sharp" | "elbow";
1218
+ shouldCacheIgnoreZoom: boolean;
1219
+ exportScale: number;
1220
+ selectedElementsAreBeingDragged: boolean;
1221
+ gridSize: number;
1222
+ gridStep: number;
1223
+ currentHoveredFontFamily: number | null;
1224
+ hoveredElementIds: Readonly<{
1225
+ [id: string]: true;
1226
+ }>;
1135
1227
  contextMenu: {
1136
1228
  items: import("../components/ContextMenu").ContextMenuItems;
1137
1229
  top: number;
@@ -1140,129 +1232,59 @@ export declare const actionLoadScene: {
1140
1232
  showWelcomeScreen: boolean;
1141
1233
  isLoading: boolean;
1142
1234
  errorMessage: import("react").ReactNode;
1143
- activeEmbeddable: {
1144
- element: import("../element/types").NonDeletedExcalidrawElement;
1145
- state: "hover" | "active";
1146
- } | null;
1147
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1148
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1149
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1150
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1151
- isBindingEnabled: boolean;
1152
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1153
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1154
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1155
- frameRendering: {
1156
- enabled: boolean;
1157
- name: boolean;
1158
- outline: boolean;
1159
- clip: boolean;
1160
- };
1235
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1236
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1237
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1161
1238
  editingFrame: string | null;
1162
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1163
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1164
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1165
1239
  activeTool: {
1166
1240
  lastActiveTool: import("../types").ActiveTool | null;
1167
1241
  locked: boolean;
1242
+ fromSelection: boolean;
1168
1243
  } & import("../types").ActiveTool;
1169
1244
  penMode: boolean;
1170
1245
  penDetected: boolean;
1171
1246
  exportBackground: boolean;
1172
1247
  exportEmbedScene: boolean;
1173
1248
  exportWithDarkMode: boolean;
1174
- exportScale: number;
1175
1249
  currentItemStrokeColor: string;
1176
1250
  currentItemBackgroundColor: string;
1177
- currentItemFillStyle: import("../element/types").FillStyle;
1251
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1178
1252
  currentItemStrokeWidth: number;
1179
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1253
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1180
1254
  currentItemRoughness: number;
1181
1255
  currentItemOpacity: number;
1182
1256
  currentItemFontFamily: number;
1183
1257
  currentItemFontSize: number;
1184
1258
  currentItemTextAlign: string;
1185
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1186
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1187
- currentHoveredFontFamily: number | null;
1188
- currentItemRoundness: import("../element/types").StrokeRoundness;
1189
- viewBackgroundColor: string;
1190
- scrollX: number;
1191
- scrollY: number;
1259
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1260
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1261
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1262
+ currentItemArrowType: "round" | "sharp" | "elbow";
1192
1263
  cursorButton: "up" | "down";
1193
1264
  scrolledOutside: boolean;
1194
1265
  isResizing: boolean;
1195
- isRotating: boolean;
1196
- zoom: Readonly<{
1197
- value: import("../types").NormalizedZoomValue;
1198
- }>;
1199
- openMenu: "canvas" | "shape" | null;
1266
+ openMenu: "shape" | "canvas" | null;
1200
1267
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1201
1268
  openSidebar: {
1202
1269
  name: string;
1203
1270
  tab?: string | undefined;
1204
1271
  } | null;
1205
- openDialog: {
1206
- name: "imageExport" | "help" | "jsonExport";
1207
- } | {
1208
- name: "ttd";
1209
- tab: "text-to-diagram" | "mermaid";
1210
- } | {
1211
- name: "commandPalette";
1212
- } | {
1213
- name: "elementLinkSelector";
1214
- sourceElementId: string;
1215
- } | null;
1216
1272
  defaultSidebarDockedPreference: boolean;
1217
- lastPointerDownWith: import("../element/types").PointerType;
1218
- selectedElementIds: Readonly<{
1219
- [id: string]: true;
1220
- }>;
1221
- hoveredElementIds: Readonly<{
1222
- [id: string]: true;
1223
- }>;
1273
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1224
1274
  previousSelectedElementIds: {
1225
1275
  [id: string]: true;
1226
1276
  };
1227
- selectedElementsAreBeingDragged: boolean;
1228
- shouldCacheIgnoreZoom: boolean;
1229
1277
  toast: {
1230
1278
  message: string;
1231
1279
  closable?: boolean | undefined;
1232
1280
  duration?: number | undefined;
1233
1281
  } | null;
1234
- gridSize: number;
1235
- gridStep: number;
1236
- selectedGroupIds: {
1237
- [groupId: string]: boolean;
1238
- };
1239
- editingGroupId: string | null;
1240
1282
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1241
- collaborators: Map<import("../types").SocketId, Readonly<{
1242
- pointer?: import("../types").CollaboratorPointer | undefined;
1243
- button?: "up" | "down" | undefined;
1244
- selectedElementIds?: Readonly<{
1245
- [id: string]: true;
1246
- }> | undefined;
1247
- username?: string | null | undefined;
1248
- userState?: import("../constants").UserIdleState | undefined;
1249
- color?: {
1250
- background: string;
1251
- stroke: string;
1252
- } | undefined;
1253
- avatarUrl?: string | undefined;
1254
- id?: string | undefined;
1255
- socketId?: import("../types").SocketId | undefined;
1256
- isCurrentUser?: boolean | undefined;
1257
- isInCall?: boolean | undefined;
1258
- isSpeaking?: boolean | undefined;
1259
- isMuted?: boolean | undefined;
1260
- }>>;
1261
1283
  stats: {
1262
1284
  open: boolean;
1263
1285
  panels: number;
1264
1286
  };
1265
- currentChartType: import("../element/types").ChartType;
1287
+ currentChartType: import("@excalidraw/element/types").ChartType;
1266
1288
  pasteDialog: {
1267
1289
  shown: false;
1268
1290
  data: null;
@@ -1270,33 +1292,18 @@ export declare const actionLoadScene: {
1270
1292
  shown: true;
1271
1293
  data: import("../charts").Spreadsheet;
1272
1294
  };
1273
- pendingImageElementId: string | null;
1274
- showHyperlinkPopup: false | "info" | "editor";
1275
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1276
- snapLines: readonly import("../snapping").SnapLine[];
1295
+ showHyperlinkPopup: false | "editor" | "info";
1277
1296
  originSnapOffset: {
1278
1297
  x: number;
1279
1298
  y: number;
1280
1299
  } | null;
1281
1300
  userToFollow: import("../types").UserToFollow | null;
1282
1301
  followedBy: Set<import("../types").SocketId>;
1283
- isCropping: boolean;
1284
- croppingElementId: string | null;
1285
- searchMatches: readonly {
1286
- id: string;
1287
- focus: boolean;
1288
- matchedLines: {
1289
- offsetX: number;
1290
- offsetY: number;
1291
- width: number;
1292
- height: number;
1293
- }[];
1294
- }[];
1295
1302
  };
1296
1303
  files: import("../types").BinaryFiles;
1297
1304
  captureUpdate: "IMMEDIATELY";
1298
1305
  } | {
1299
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
1306
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
1300
1307
  appState: {
1301
1308
  errorMessage: any;
1302
1309
  contextMenu: {
@@ -1307,17 +1314,17 @@ export declare const actionLoadScene: {
1307
1314
  showWelcomeScreen: boolean;
1308
1315
  isLoading: boolean;
1309
1316
  activeEmbeddable: {
1310
- element: import("../element/types").NonDeletedExcalidrawElement;
1317
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1311
1318
  state: "hover" | "active";
1312
1319
  } | null;
1313
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1314
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1315
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1316
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1320
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1321
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1322
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1323
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1317
1324
  isBindingEnabled: boolean;
1318
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1319
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1320
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1325
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1326
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1327
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1321
1328
  frameRendering: {
1322
1329
  enabled: boolean;
1323
1330
  name: boolean;
@@ -1325,12 +1332,13 @@ export declare const actionLoadScene: {
1325
1332
  clip: boolean;
1326
1333
  };
1327
1334
  editingFrame: string | null;
1328
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1329
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1330
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1335
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1336
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1337
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1331
1338
  activeTool: {
1332
1339
  lastActiveTool: import("../types").ActiveTool | null;
1333
1340
  locked: boolean;
1341
+ fromSelection: boolean;
1334
1342
  } & import("../types").ActiveTool;
1335
1343
  penMode: boolean;
1336
1344
  penDetected: boolean;
@@ -1340,18 +1348,18 @@ export declare const actionLoadScene: {
1340
1348
  exportScale: number;
1341
1349
  currentItemStrokeColor: string;
1342
1350
  currentItemBackgroundColor: string;
1343
- currentItemFillStyle: import("../element/types").FillStyle;
1351
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1344
1352
  currentItemStrokeWidth: number;
1345
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1353
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1346
1354
  currentItemRoughness: number;
1347
1355
  currentItemOpacity: number;
1348
1356
  currentItemFontFamily: number;
1349
1357
  currentItemFontSize: number;
1350
1358
  currentItemTextAlign: string;
1351
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1352
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1359
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1360
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1353
1361
  currentHoveredFontFamily: number | null;
1354
- currentItemRoundness: import("../element/types").StrokeRoundness;
1362
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1355
1363
  currentItemArrowType: "round" | "sharp" | "elbow";
1356
1364
  viewBackgroundColor: string;
1357
1365
  scrollX: number;
@@ -1364,7 +1372,7 @@ export declare const actionLoadScene: {
1364
1372
  zoom: Readonly<{
1365
1373
  value: import("../types").NormalizedZoomValue;
1366
1374
  }>;
1367
- openMenu: "canvas" | "shape" | null;
1375
+ openMenu: "shape" | "canvas" | null;
1368
1376
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1369
1377
  openSidebar: {
1370
1378
  name: string;
@@ -1382,7 +1390,7 @@ export declare const actionLoadScene: {
1382
1390
  sourceElementId: string;
1383
1391
  } | null;
1384
1392
  defaultSidebarDockedPreference: boolean;
1385
- lastPointerDownWith: import("../element/types").PointerType;
1393
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1386
1394
  selectedElementIds: Readonly<{
1387
1395
  [id: string]: true;
1388
1396
  }>;
@@ -1421,7 +1429,7 @@ export declare const actionLoadScene: {
1421
1429
  [id: string]: true;
1422
1430
  }> | undefined;
1423
1431
  username?: string | null | undefined;
1424
- userState?: import("../constants").UserIdleState | undefined;
1432
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1425
1433
  color?: {
1426
1434
  background: string;
1427
1435
  stroke: string;
@@ -1438,7 +1446,7 @@ export declare const actionLoadScene: {
1438
1446
  open: boolean;
1439
1447
  panels: number;
1440
1448
  };
1441
- currentChartType: import("../element/types").ChartType;
1449
+ currentChartType: import("@excalidraw/element/types").ChartType;
1442
1450
  pasteDialog: {
1443
1451
  shown: false;
1444
1452
  data: null;
@@ -1447,8 +1455,8 @@ export declare const actionLoadScene: {
1447
1455
  data: import("../charts").Spreadsheet;
1448
1456
  };
1449
1457
  pendingImageElementId: string | null;
1450
- showHyperlinkPopup: false | "info" | "editor";
1451
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1458
+ showHyperlinkPopup: false | "editor" | "info";
1459
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1452
1460
  snapLines: readonly import("../snapping").SnapLine[];
1453
1461
  originSnapOffset: {
1454
1462
  x: number;
@@ -1484,7 +1492,7 @@ export declare const actionExportWithDarkMode: {
1484
1492
  category: "export";
1485
1493
  action: string;
1486
1494
  };
1487
- perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
1495
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
1488
1496
  appState: {
1489
1497
  exportWithDarkMode: any;
1490
1498
  contextMenu: {
@@ -1496,17 +1504,17 @@ export declare const actionExportWithDarkMode: {
1496
1504
  isLoading: boolean;
1497
1505
  errorMessage: import("react").ReactNode;
1498
1506
  activeEmbeddable: {
1499
- element: import("../element/types").NonDeletedExcalidrawElement;
1507
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1500
1508
  state: "hover" | "active";
1501
1509
  } | null;
1502
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
1503
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1504
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
1505
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
1510
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1511
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1512
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1513
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1506
1514
  isBindingEnabled: boolean;
1507
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1508
- suggestedBindings: import("../element/binding").SuggestedBinding[];
1509
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1515
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1516
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1517
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1510
1518
  frameRendering: {
1511
1519
  enabled: boolean;
1512
1520
  name: boolean;
@@ -1514,12 +1522,13 @@ export declare const actionExportWithDarkMode: {
1514
1522
  clip: boolean;
1515
1523
  };
1516
1524
  editingFrame: string | null;
1517
- elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1518
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
1519
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1525
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1526
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1527
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1520
1528
  activeTool: {
1521
1529
  lastActiveTool: import("../types").ActiveTool | null;
1522
1530
  locked: boolean;
1531
+ fromSelection: boolean;
1523
1532
  } & import("../types").ActiveTool;
1524
1533
  penMode: boolean;
1525
1534
  penDetected: boolean;
@@ -1528,18 +1537,18 @@ export declare const actionExportWithDarkMode: {
1528
1537
  exportScale: number;
1529
1538
  currentItemStrokeColor: string;
1530
1539
  currentItemBackgroundColor: string;
1531
- currentItemFillStyle: import("../element/types").FillStyle;
1540
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1532
1541
  currentItemStrokeWidth: number;
1533
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
1542
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1534
1543
  currentItemRoughness: number;
1535
1544
  currentItemOpacity: number;
1536
1545
  currentItemFontFamily: number;
1537
1546
  currentItemFontSize: number;
1538
1547
  currentItemTextAlign: string;
1539
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
1540
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1548
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1549
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1541
1550
  currentHoveredFontFamily: number | null;
1542
- currentItemRoundness: import("../element/types").StrokeRoundness;
1551
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1543
1552
  currentItemArrowType: "round" | "sharp" | "elbow";
1544
1553
  viewBackgroundColor: string;
1545
1554
  scrollX: number;
@@ -1552,7 +1561,7 @@ export declare const actionExportWithDarkMode: {
1552
1561
  zoom: Readonly<{
1553
1562
  value: import("../types").NormalizedZoomValue;
1554
1563
  }>;
1555
- openMenu: "canvas" | "shape" | null;
1564
+ openMenu: "shape" | "canvas" | null;
1556
1565
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1557
1566
  openSidebar: {
1558
1567
  name: string;
@@ -1570,7 +1579,7 @@ export declare const actionExportWithDarkMode: {
1570
1579
  sourceElementId: string;
1571
1580
  } | null;
1572
1581
  defaultSidebarDockedPreference: boolean;
1573
- lastPointerDownWith: import("../element/types").PointerType;
1582
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1574
1583
  selectedElementIds: Readonly<{
1575
1584
  [id: string]: true;
1576
1585
  }>;
@@ -1609,7 +1618,7 @@ export declare const actionExportWithDarkMode: {
1609
1618
  [id: string]: true;
1610
1619
  }> | undefined;
1611
1620
  username?: string | null | undefined;
1612
- userState?: import("../constants").UserIdleState | undefined;
1621
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1613
1622
  color?: {
1614
1623
  background: string;
1615
1624
  stroke: string;
@@ -1626,7 +1635,7 @@ export declare const actionExportWithDarkMode: {
1626
1635
  open: boolean;
1627
1636
  panels: number;
1628
1637
  };
1629
- currentChartType: import("../element/types").ChartType;
1638
+ currentChartType: import("@excalidraw/element/types").ChartType;
1630
1639
  pasteDialog: {
1631
1640
  shown: false;
1632
1641
  data: null;
@@ -1635,8 +1644,8 @@ export declare const actionExportWithDarkMode: {
1635
1644
  data: import("../charts").Spreadsheet;
1636
1645
  };
1637
1646
  pendingImageElementId: string | null;
1638
- showHyperlinkPopup: false | "info" | "editor";
1639
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1647
+ showHyperlinkPopup: false | "editor" | "info";
1648
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1640
1649
  snapLines: readonly import("../snapping").SnapLine[];
1641
1650
  originSnapOffset: {
1642
1651
  x: number;