@excalidraw/excalidraw 0.18.0-817d8c5 → 0.18.0-864353b

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 (288) hide show
  1. package/CHANGELOG.md +11 -11
  2. package/dist/dev/{chunk-LMHBUWQS.js → chunk-7YMZV3TY.js} +15 -4
  3. package/dist/dev/chunk-7YMZV3TY.js.map +7 -0
  4. package/dist/dev/chunk-BBNNHA7I.js +7 -0
  5. package/dist/dev/chunk-BBNNHA7I.js.map +7 -0
  6. package/dist/dev/chunk-FB2NA5UG.js +4132 -0
  7. package/dist/dev/chunk-FB2NA5UG.js.map +7 -0
  8. package/dist/dev/{chunk-3SN6HYVK.js → chunk-LL55DS44.js} +19504 -21522
  9. package/dist/dev/chunk-LL55DS44.js.map +7 -0
  10. package/dist/dev/data/{image-V26YBSDB.js → image-OFYK7EOY.js} +3 -3
  11. package/dist/dev/index.css +3098 -3023
  12. package/dist/dev/index.css.map +3 -3
  13. package/dist/dev/index.js +27238 -22881
  14. package/dist/dev/index.js.map +4 -4
  15. package/dist/dev/locales/{en-OZCJJ2HN.js → en-KIY5SGI3.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-F44EGBV2.js +33 -0
  19. package/dist/prod/chunk-LS7FJGPW.js +86 -0
  20. package/dist/prod/{chunk-6U3AYISY.js → chunk-OUULIERA.js} +4 -4
  21. package/dist/prod/chunk-UH6Q3EIV.js +7 -0
  22. package/dist/prod/data/image-CUOH64HE.js +1 -0
  23. package/dist/prod/index.css +1 -1
  24. package/dist/prod/index.js +20 -16
  25. package/dist/prod/locales/{en-B4ZKOASM.js → en-GCLCIHXH.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 +18 -7
  31. package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  32. package/dist/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +15 -5
  33. package/dist/types/common/src/index.d.ts +12 -0
  34. package/dist/types/{excalidraw → common/src}/points.d.ts +2 -0
  35. package/dist/types/common/src/promise-pool.d.ts +6 -0
  36. package/dist/types/{excalidraw → common/src}/utility-types.d.ts +5 -0
  37. package/dist/types/{excalidraw → common/src}/utils.d.ts +24 -11
  38. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +14 -17
  39. package/dist/types/{excalidraw/scene → element/src}/Shape.d.ts +2 -2
  40. package/dist/types/{excalidraw/scene → element/src}/ShapeCache.d.ts +4 -4
  41. package/dist/types/element/src/align.d.ts +7 -0
  42. package/dist/types/{excalidraw/element → element/src}/binding.d.ts +24 -16
  43. package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +9 -4
  44. package/dist/types/{excalidraw/element → element/src}/collision.d.ts +3 -3
  45. package/dist/types/{excalidraw/scene → element/src}/comparisons.d.ts +1 -1
  46. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +41 -36
  47. package/dist/types/{excalidraw → element/src}/distribute.d.ts +1 -1
  48. package/dist/types/{excalidraw/element → element/src}/dragElements.d.ts +5 -4
  49. package/dist/types/element/src/duplicate.d.ts +63 -0
  50. package/dist/types/{excalidraw/element → element/src}/elbowArrow.d.ts +1 -1
  51. package/dist/types/{excalidraw/element → element/src}/elementLink.d.ts +1 -1
  52. package/dist/types/element/src/embeddable.d.ts +10 -0
  53. package/dist/types/{excalidraw/element → element/src}/flowchart.d.ts +4 -3
  54. package/dist/types/{excalidraw → element/src}/fractionalIndex.d.ts +5 -2
  55. package/dist/types/{excalidraw → element/src}/frame.d.ts +8 -7
  56. package/dist/types/{excalidraw → element/src}/groups.d.ts +5 -5
  57. package/dist/types/{excalidraw/element → element/src}/heading.d.ts +1 -2
  58. package/dist/types/{excalidraw/element → element/src}/image.d.ts +2 -2
  59. package/dist/types/element/src/index.d.ts +59 -0
  60. package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +22 -33
  61. package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +11 -3
  62. package/dist/types/{excalidraw/element → element/src}/newElement.d.ts +4 -43
  63. package/dist/types/{excalidraw/renderer → element/src}/renderElement.d.ts +3 -3
  64. package/dist/types/{excalidraw/element → element/src}/resizeElements.d.ts +6 -6
  65. package/dist/types/{excalidraw/element → element/src}/resizeTest.d.ts +4 -4
  66. package/dist/types/{excalidraw/scene → element/src}/selection.d.ts +13 -7
  67. package/dist/types/element/src/shapes.d.ts +27 -0
  68. package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
  69. package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +3 -3
  70. package/dist/types/element/src/store.d.ts +227 -0
  71. package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +8 -7
  72. package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +3 -3
  73. package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +17 -3
  74. package/dist/types/{excalidraw/element → element/src}/types.d.ts +16 -3
  75. package/dist/types/{excalidraw → element/src}/zindex.d.ts +5 -4
  76. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +91 -94
  77. package/dist/types/excalidraw/actions/actionAlign.d.ts +15 -15
  78. package/dist/types/excalidraw/actions/actionBoundText.d.ts +66 -68
  79. package/dist/types/excalidraw/actions/actionCanvas.d.ts +576 -413
  80. package/dist/types/excalidraw/actions/actionClipboard.d.ts +195 -200
  81. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +32 -33
  82. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +93 -95
  83. package/dist/types/excalidraw/actions/actionDistribute.d.ts +7 -7
  84. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +5 -9
  85. package/dist/types/excalidraw/actions/actionElementLink.d.ts +36 -37
  86. package/dist/types/excalidraw/actions/actionElementLock.d.ts +78 -82
  87. package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +32 -43
  88. package/dist/types/excalidraw/actions/actionExport.d.ts +295 -304
  89. package/dist/types/excalidraw/actions/actionFinalize.d.ts +95 -57
  90. package/dist/types/excalidraw/actions/actionFlip.d.ts +7 -7
  91. package/dist/types/excalidraw/actions/actionFrame.d.ts +203 -207
  92. package/dist/types/excalidraw/actions/actionGroup.d.ts +65 -67
  93. package/dist/types/excalidraw/actions/actionHistory.d.ts +2 -3
  94. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +526 -34
  95. package/dist/types/excalidraw/actions/actionLink.d.ts +36 -37
  96. package/dist/types/excalidraw/actions/actionMenu.d.ts +95 -98
  97. package/dist/types/excalidraw/actions/actionNavigate.d.ts +61 -63
  98. package/dist/types/excalidraw/actions/actionProperties.d.ts +428 -435
  99. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +33 -34
  100. package/dist/types/excalidraw/actions/actionStyles.d.ts +38 -39
  101. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  102. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +34 -35
  103. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +34 -35
  104. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +34 -207
  105. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  106. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +33 -35
  107. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +34 -36
  108. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +34 -36
  109. package/dist/types/excalidraw/actions/actionZindex.d.ts +16 -16
  110. package/dist/types/excalidraw/actions/index.d.ts +1 -0
  111. package/dist/types/excalidraw/actions/manager.d.ts +2 -2
  112. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  113. package/dist/types/excalidraw/actions/types.d.ts +6 -5
  114. package/dist/types/excalidraw/animated-trail.d.ts +7 -1
  115. package/dist/types/excalidraw/appState.d.ts +33 -23
  116. package/dist/types/excalidraw/charts.d.ts +1 -1
  117. package/dist/types/excalidraw/clipboard.d.ts +7 -7
  118. package/dist/types/excalidraw/components/Actions.d.ts +3 -3
  119. package/dist/types/excalidraw/components/App.d.ts +38 -20
  120. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  121. package/dist/types/excalidraw/components/ButtonIcon.d.ts +2 -1
  122. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  123. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +9 -5
  124. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  125. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  126. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -5
  127. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -4
  128. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -3
  129. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  130. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +4 -4
  131. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -2
  132. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -1
  133. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -1
  134. package/dist/types/excalidraw/components/ContextMenu.d.ts +2 -2
  135. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  136. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  137. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +2 -2
  138. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  139. package/dist/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +1 -1
  140. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +5 -4
  141. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  142. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  143. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -1
  144. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  145. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +3 -3
  146. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  147. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  148. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  149. package/dist/types/excalidraw/components/IconPicker.d.ts +1 -1
  150. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -2
  151. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  152. package/dist/types/excalidraw/components/Island.d.ts +1 -1
  153. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +2 -2
  154. package/dist/types/excalidraw/components/LayerUI.d.ts +3 -3
  155. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  156. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -1
  157. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +3 -3
  158. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  159. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  160. package/dist/types/excalidraw/components/MagicButton.d.ts +1 -1
  161. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -3
  162. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  163. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
  164. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -1
  165. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  166. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  167. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
  168. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -1
  169. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -1
  170. package/dist/types/excalidraw/components/Stack.d.ts +1 -1
  171. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  172. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  173. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  174. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  175. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +3 -3
  176. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  177. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  178. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +3 -3
  179. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  180. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  181. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  182. package/dist/types/excalidraw/components/Stats/index.d.ts +2 -2
  183. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  184. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
  185. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  186. package/dist/types/excalidraw/components/TextField.d.ts +1 -1
  187. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  188. package/dist/types/excalidraw/components/ToolButton.d.ts +2 -2
  189. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  190. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  191. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  192. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +4 -3
  193. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -2
  194. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +3 -3
  195. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  196. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +2 -2
  197. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +1 -1
  198. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +5 -4
  199. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -2
  200. package/dist/types/excalidraw/components/icons.d.ts +5 -1
  201. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  202. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +4 -1
  203. package/dist/types/excalidraw/components/shapes.d.ts +62 -0
  204. package/dist/types/excalidraw/context/tunnels.d.ts +1 -1
  205. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  206. package/dist/types/excalidraw/data/blob.d.ts +3 -3
  207. package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
  208. package/dist/types/excalidraw/data/index.d.ts +2 -2
  209. package/dist/types/excalidraw/data/json.d.ts +1 -1
  210. package/dist/types/excalidraw/data/library.d.ts +3 -3
  211. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  212. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  213. package/dist/types/excalidraw/data/restore.d.ts +1 -1
  214. package/dist/types/excalidraw/data/transform.d.ts +4 -4
  215. package/dist/types/excalidraw/data/types.d.ts +3 -3
  216. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  217. package/dist/types/excalidraw/eraser/index.d.ts +14 -0
  218. package/dist/types/excalidraw/errors.d.ts +0 -3
  219. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -13
  220. package/dist/types/excalidraw/history.d.ts +15 -23
  221. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  222. package/dist/types/excalidraw/i18n.d.ts +1 -1
  223. package/dist/types/excalidraw/index.d.ts +16 -15
  224. package/dist/types/excalidraw/laser-trails.d.ts +1 -1
  225. package/dist/types/excalidraw/lasso/index.d.ts +16 -0
  226. package/dist/types/excalidraw/lasso/utils.d.ts +12 -0
  227. package/dist/types/excalidraw/renderer/helpers.d.ts +8 -3
  228. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +2 -2
  229. package/dist/types/excalidraw/scene/Renderer.d.ts +3 -3
  230. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  231. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  232. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  233. package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
  234. package/dist/types/excalidraw/scene/types.d.ts +6 -4
  235. package/dist/types/excalidraw/snapping.d.ts +5 -6
  236. package/dist/types/excalidraw/types.d.ts +39 -18
  237. package/dist/types/excalidraw/visualdebug.d.ts +2 -2
  238. package/dist/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +4 -2
  239. package/dist/types/math/{angle.d.ts → src/angle.d.ts} +2 -0
  240. package/dist/types/math/{curve.d.ts → src/curve.d.ts} +2 -0
  241. package/dist/types/math/{point.d.ts → src/point.d.ts} +3 -3
  242. package/dist/types/math/{polygon.d.ts → src/polygon.d.ts} +1 -0
  243. package/dist/types/math/{segment.d.ts → src/segment.d.ts} +1 -1
  244. package/dist/types/math/{types.d.ts → src/types.d.ts} +1 -0
  245. package/dist/types/math/{vector.d.ts → src/vector.d.ts} +4 -0
  246. package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
  247. package/dist/types/utils/{collision.d.ts → src/collision.d.ts} +2 -3
  248. package/dist/types/utils/{export.d.ts → src/export.d.ts} +2 -2
  249. package/dist/types/utils/{index.d.ts → src/index.d.ts} +1 -1
  250. package/dist/types/utils/{geometry → src}/shape.d.ts +2 -15
  251. package/dist/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +2 -2
  252. package/history.ts +70 -94
  253. package/package.json +16 -4
  254. package/dist/dev/chunk-3SN6HYVK.js.map +0 -7
  255. package/dist/dev/chunk-53KHN5WM.js +0 -7
  256. package/dist/dev/chunk-53KHN5WM.js.map +0 -7
  257. package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
  258. package/dist/dev/chunk-OKSO7T74.js +0 -4132
  259. package/dist/dev/chunk-OKSO7T74.js.map +0 -7
  260. package/dist/prod/chunk-36CXSE6H.js +0 -34
  261. package/dist/prod/chunk-EIO257PC.js +0 -86
  262. package/dist/prod/chunk-G5N3DNGT.js +0 -7
  263. package/dist/prod/data/image-N4WCURRR.js +0 -1
  264. package/dist/types/excalidraw/align.d.ts +0 -7
  265. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  266. package/dist/types/excalidraw/element/index.d.ts +0 -26
  267. package/dist/types/excalidraw/shapes.d.ts +0 -85
  268. package/dist/types/excalidraw/store.d.ts +0 -129
  269. package/dist/dev/data/{image-V26YBSDB.js.map → image-OFYK7EOY.js.map} +0 -0
  270. package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-KIY5SGI3.js.map} +0 -0
  271. package/dist/types/{excalidraw → common/src}/keys.d.ts +0 -0
  272. package/dist/types/{excalidraw → common/src}/queue.d.ts +0 -0
  273. package/dist/types/{excalidraw → common/src}/random.d.ts +0 -0
  274. package/dist/types/{excalidraw/data → common/src}/url.d.ts +0 -0
  275. package/dist/types/{excalidraw/element → element/src}/containerCache.d.ts +0 -0
  276. package/dist/types/{excalidraw/element → element/src}/cropElement.d.ts +0 -0
  277. package/dist/types/{excalidraw/element → element/src}/distance.d.ts +0 -0
  278. package/dist/types/{excalidraw/element → element/src}/sortElements.d.ts +0 -0
  279. package/dist/types/{excalidraw/element → element/src}/textMeasurements.d.ts +0 -0
  280. package/dist/types/{excalidraw/element → element/src}/textWrapping.d.ts +0 -0
  281. package/dist/types/{excalidraw/element → element/src}/utils.d.ts +1 -1
  282. /package/dist/types/math/{ellipse.d.ts → src/ellipse.d.ts} +0 -0
  283. /package/dist/types/math/{index.d.ts → src/index.d.ts} +0 -0
  284. /package/dist/types/math/{line.d.ts → src/line.d.ts} +0 -0
  285. /package/dist/types/math/{range.d.ts → src/range.d.ts} +0 -0
  286. /package/dist/types/math/{rectangle.d.ts → src/rectangle.d.ts} +0 -0
  287. /package/dist/types/math/{triangle.d.ts → src/triangle.d.ts} +0 -0
  288. /package/dist/types/math/{utils.d.ts → src/utils.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { ExcalidrawElement } from "../element/types";
2
+ import type { ExcalidrawElement } from "@excalidraw/element/types";
3
3
  import type { AppClassProperties, AppState } from "../types";
4
4
  export declare const actionSelectAllElementsInFrame: {
5
5
  name: "selectAllElementsInFrame";
@@ -7,8 +7,8 @@ export declare const actionSelectAllElementsInFrame: {
7
7
  trackEvent: {
8
8
  category: "canvas";
9
9
  };
10
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
11
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
10
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
11
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
12
12
  appState: {
13
13
  selectedElementIds: Record<string, true>;
14
14
  contextMenu: {
@@ -20,17 +20,17 @@ export declare const actionSelectAllElementsInFrame: {
20
20
  isLoading: boolean;
21
21
  errorMessage: import("react").ReactNode;
22
22
  activeEmbeddable: {
23
- element: import("../element/types").NonDeletedExcalidrawElement;
23
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
24
24
  state: "hover" | "active";
25
25
  } | null;
26
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
27
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
28
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
29
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
26
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
27
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
28
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
29
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
30
30
  isBindingEnabled: boolean;
31
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
32
- suggestedBindings: import("../element/binding").SuggestedBinding[];
33
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
31
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
33
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
34
34
  frameRendering: {
35
35
  enabled: boolean;
36
36
  name: boolean;
@@ -38,12 +38,13 @@ export declare const actionSelectAllElementsInFrame: {
38
38
  clip: boolean;
39
39
  };
40
40
  editingFrame: string | null;
41
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
42
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
43
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
41
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
42
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
43
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
44
44
  activeTool: {
45
45
  lastActiveTool: import("../types").ActiveTool | null;
46
46
  locked: boolean;
47
+ fromSelection: boolean;
47
48
  } & import("../types").ActiveTool;
48
49
  penMode: boolean;
49
50
  penDetected: boolean;
@@ -53,18 +54,18 @@ export declare const actionSelectAllElementsInFrame: {
53
54
  exportScale: number;
54
55
  currentItemStrokeColor: string;
55
56
  currentItemBackgroundColor: string;
56
- currentItemFillStyle: import("../element/types").FillStyle;
57
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
57
58
  currentItemStrokeWidth: number;
58
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
59
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
59
60
  currentItemRoughness: number;
60
61
  currentItemOpacity: number;
61
62
  currentItemFontFamily: number;
62
63
  currentItemFontSize: number;
63
64
  currentItemTextAlign: string;
64
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
65
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
65
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
66
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
66
67
  currentHoveredFontFamily: number | null;
67
- currentItemRoundness: import("../element/types").StrokeRoundness;
68
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
68
69
  currentItemArrowType: "round" | "sharp" | "elbow";
69
70
  viewBackgroundColor: string;
70
71
  scrollX: number;
@@ -95,7 +96,7 @@ export declare const actionSelectAllElementsInFrame: {
95
96
  sourceElementId: string;
96
97
  } | null;
97
98
  defaultSidebarDockedPreference: boolean;
98
- lastPointerDownWith: import("../element/types").PointerType;
99
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
99
100
  hoveredElementIds: Readonly<{
100
101
  [id: string]: true;
101
102
  }>;
@@ -110,7 +111,7 @@ export declare const actionSelectAllElementsInFrame: {
110
111
  duration?: number | undefined;
111
112
  } | null;
112
113
  zenModeEnabled: boolean;
113
- theme: import("../element/types").Theme;
114
+ theme: import("@excalidraw/element/types").Theme;
114
115
  gridSize: number;
115
116
  gridStep: number;
116
117
  gridModeEnabled: boolean;
@@ -131,7 +132,7 @@ export declare const actionSelectAllElementsInFrame: {
131
132
  [id: string]: true;
132
133
  }> | undefined;
133
134
  username?: string | null | undefined;
134
- userState?: import("..").UserIdleState | undefined;
135
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
135
136
  color?: {
136
137
  background: string;
137
138
  stroke: string;
@@ -148,7 +149,7 @@ export declare const actionSelectAllElementsInFrame: {
148
149
  open: boolean;
149
150
  panels: number;
150
151
  };
151
- currentChartType: import("../element/types").ChartType;
152
+ currentChartType: import("@excalidraw/element/types").ChartType;
152
153
  pasteDialog: {
153
154
  shown: false;
154
155
  data: null;
@@ -158,7 +159,7 @@ export declare const actionSelectAllElementsInFrame: {
158
159
  };
159
160
  pendingImageElementId: string | null;
160
161
  showHyperlinkPopup: false | "info" | "editor";
161
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
162
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
162
163
  snapLines: readonly import("../snapping").SnapLine[];
163
164
  originSnapOffset: {
164
165
  x: number;
@@ -169,20 +170,18 @@ export declare const actionSelectAllElementsInFrame: {
169
170
  followedBy: Set<import("../types").SocketId>;
170
171
  isCropping: boolean;
171
172
  croppingElementId: string | null;
172
- searchMatches: readonly {
173
- id: string;
174
- focus: boolean;
175
- matchedLines: {
176
- offsetX: number;
177
- offsetY: number;
178
- width: number;
179
- height: number;
180
- }[];
181
- }[];
173
+ searchMatches: Readonly<{
174
+ focusedId: string | null;
175
+ matches: readonly import("../types").SearchMatch[];
176
+ }> | null;
177
+ activeLockedId: string | null;
178
+ lockedMultiSelections: {
179
+ [groupId: string]: true;
180
+ };
182
181
  };
183
182
  captureUpdate: "IMMEDIATELY";
184
183
  } | {
185
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
184
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
186
185
  appState: Readonly<AppState>;
187
186
  captureUpdate: "EVENTUALLY";
188
187
  };
@@ -196,8 +195,8 @@ export declare const actionRemoveAllElementsFromFrame: {
196
195
  trackEvent: {
197
196
  category: "history";
198
197
  };
199
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
200
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
198
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
199
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
201
200
  appState: {
202
201
  selectedElementIds: {
203
202
  [x: string]: true;
@@ -211,17 +210,17 @@ export declare const actionRemoveAllElementsFromFrame: {
211
210
  isLoading: boolean;
212
211
  errorMessage: import("react").ReactNode;
213
212
  activeEmbeddable: {
214
- element: import("../element/types").NonDeletedExcalidrawElement;
213
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
215
214
  state: "hover" | "active";
216
215
  } | null;
217
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
218
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
219
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
220
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
216
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
217
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
218
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
219
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
221
220
  isBindingEnabled: boolean;
222
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
223
- suggestedBindings: import("../element/binding").SuggestedBinding[];
224
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
221
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
222
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
223
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
225
224
  frameRendering: {
226
225
  enabled: boolean;
227
226
  name: boolean;
@@ -229,12 +228,13 @@ export declare const actionRemoveAllElementsFromFrame: {
229
228
  clip: boolean;
230
229
  };
231
230
  editingFrame: string | null;
232
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
233
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
234
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
231
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
232
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
233
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
235
234
  activeTool: {
236
235
  lastActiveTool: import("../types").ActiveTool | null;
237
236
  locked: boolean;
237
+ fromSelection: boolean;
238
238
  } & import("../types").ActiveTool;
239
239
  penMode: boolean;
240
240
  penDetected: boolean;
@@ -244,18 +244,18 @@ export declare const actionRemoveAllElementsFromFrame: {
244
244
  exportScale: number;
245
245
  currentItemStrokeColor: string;
246
246
  currentItemBackgroundColor: string;
247
- currentItemFillStyle: import("../element/types").FillStyle;
247
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
248
248
  currentItemStrokeWidth: number;
249
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
249
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
250
250
  currentItemRoughness: number;
251
251
  currentItemOpacity: number;
252
252
  currentItemFontFamily: number;
253
253
  currentItemFontSize: number;
254
254
  currentItemTextAlign: string;
255
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
256
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
255
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
256
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
257
257
  currentHoveredFontFamily: number | null;
258
- currentItemRoundness: import("../element/types").StrokeRoundness;
258
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
259
259
  currentItemArrowType: "round" | "sharp" | "elbow";
260
260
  viewBackgroundColor: string;
261
261
  scrollX: number;
@@ -286,7 +286,7 @@ export declare const actionRemoveAllElementsFromFrame: {
286
286
  sourceElementId: string;
287
287
  } | null;
288
288
  defaultSidebarDockedPreference: boolean;
289
- lastPointerDownWith: import("../element/types").PointerType;
289
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
290
290
  hoveredElementIds: Readonly<{
291
291
  [id: string]: true;
292
292
  }>;
@@ -301,7 +301,7 @@ export declare const actionRemoveAllElementsFromFrame: {
301
301
  duration?: number | undefined;
302
302
  } | null;
303
303
  zenModeEnabled: boolean;
304
- theme: import("../element/types").Theme;
304
+ theme: import("@excalidraw/element/types").Theme;
305
305
  gridSize: number;
306
306
  gridStep: number;
307
307
  gridModeEnabled: boolean;
@@ -322,7 +322,7 @@ export declare const actionRemoveAllElementsFromFrame: {
322
322
  [id: string]: true;
323
323
  }> | undefined;
324
324
  username?: string | null | undefined;
325
- userState?: import("..").UserIdleState | undefined;
325
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
326
326
  color?: {
327
327
  background: string;
328
328
  stroke: string;
@@ -339,7 +339,7 @@ export declare const actionRemoveAllElementsFromFrame: {
339
339
  open: boolean;
340
340
  panels: number;
341
341
  };
342
- currentChartType: import("../element/types").ChartType;
342
+ currentChartType: import("@excalidraw/element/types").ChartType;
343
343
  pasteDialog: {
344
344
  shown: false;
345
345
  data: null;
@@ -349,7 +349,7 @@ export declare const actionRemoveAllElementsFromFrame: {
349
349
  };
350
350
  pendingImageElementId: string | null;
351
351
  showHyperlinkPopup: false | "info" | "editor";
352
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
352
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
353
353
  snapLines: readonly import("../snapping").SnapLine[];
354
354
  originSnapOffset: {
355
355
  x: number;
@@ -360,20 +360,18 @@ export declare const actionRemoveAllElementsFromFrame: {
360
360
  followedBy: Set<import("../types").SocketId>;
361
361
  isCropping: boolean;
362
362
  croppingElementId: string | null;
363
- searchMatches: readonly {
364
- id: string;
365
- focus: boolean;
366
- matchedLines: {
367
- offsetX: number;
368
- offsetY: number;
369
- width: number;
370
- height: number;
371
- }[];
372
- }[];
363
+ searchMatches: Readonly<{
364
+ focusedId: string | null;
365
+ matches: readonly import("../types").SearchMatch[];
366
+ }> | null;
367
+ activeLockedId: string | null;
368
+ lockedMultiSelections: {
369
+ [groupId: string]: true;
370
+ };
373
371
  };
374
372
  captureUpdate: "IMMEDIATELY";
375
373
  } | {
376
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
374
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
377
375
  appState: Readonly<AppState>;
378
376
  captureUpdate: "EVENTUALLY";
379
377
  };
@@ -388,8 +386,8 @@ export declare const actionupdateFrameRendering: {
388
386
  trackEvent: {
389
387
  category: "canvas";
390
388
  };
391
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
392
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
389
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
390
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
393
391
  appState: {
394
392
  frameRendering: {
395
393
  enabled: boolean;
@@ -406,24 +404,25 @@ export declare const actionupdateFrameRendering: {
406
404
  isLoading: boolean;
407
405
  errorMessage: import("react").ReactNode;
408
406
  activeEmbeddable: {
409
- element: import("../element/types").NonDeletedExcalidrawElement;
407
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
410
408
  state: "hover" | "active";
411
409
  } | null;
412
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
413
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
414
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
415
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
410
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
411
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
412
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
413
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
416
414
  isBindingEnabled: boolean;
417
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
418
- suggestedBindings: import("../element/binding").SuggestedBinding[];
419
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
415
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
416
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
417
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
420
418
  editingFrame: string | null;
421
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
422
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
423
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
419
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
420
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
421
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
424
422
  activeTool: {
425
423
  lastActiveTool: import("../types").ActiveTool | null;
426
424
  locked: boolean;
425
+ fromSelection: boolean;
427
426
  } & import("../types").ActiveTool;
428
427
  penMode: boolean;
429
428
  penDetected: boolean;
@@ -433,18 +432,18 @@ export declare const actionupdateFrameRendering: {
433
432
  exportScale: number;
434
433
  currentItemStrokeColor: string;
435
434
  currentItemBackgroundColor: string;
436
- currentItemFillStyle: import("../element/types").FillStyle;
435
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
437
436
  currentItemStrokeWidth: number;
438
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
437
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
439
438
  currentItemRoughness: number;
440
439
  currentItemOpacity: number;
441
440
  currentItemFontFamily: number;
442
441
  currentItemFontSize: number;
443
442
  currentItemTextAlign: string;
444
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
445
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
443
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
444
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
446
445
  currentHoveredFontFamily: number | null;
447
- currentItemRoundness: import("../element/types").StrokeRoundness;
446
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
448
447
  currentItemArrowType: "round" | "sharp" | "elbow";
449
448
  viewBackgroundColor: string;
450
449
  scrollX: number;
@@ -475,7 +474,7 @@ export declare const actionupdateFrameRendering: {
475
474
  sourceElementId: string;
476
475
  } | null;
477
476
  defaultSidebarDockedPreference: boolean;
478
- lastPointerDownWith: import("../element/types").PointerType;
477
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
479
478
  selectedElementIds: Readonly<{
480
479
  [id: string]: true;
481
480
  }>;
@@ -493,7 +492,7 @@ export declare const actionupdateFrameRendering: {
493
492
  duration?: number | undefined;
494
493
  } | null;
495
494
  zenModeEnabled: boolean;
496
- theme: import("../element/types").Theme;
495
+ theme: import("@excalidraw/element/types").Theme;
497
496
  gridSize: number;
498
497
  gridStep: number;
499
498
  gridModeEnabled: boolean;
@@ -514,7 +513,7 @@ export declare const actionupdateFrameRendering: {
514
513
  [id: string]: true;
515
514
  }> | undefined;
516
515
  username?: string | null | undefined;
517
- userState?: import("..").UserIdleState | undefined;
516
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
518
517
  color?: {
519
518
  background: string;
520
519
  stroke: string;
@@ -531,7 +530,7 @@ export declare const actionupdateFrameRendering: {
531
530
  open: boolean;
532
531
  panels: number;
533
532
  };
534
- currentChartType: import("../element/types").ChartType;
533
+ currentChartType: import("@excalidraw/element/types").ChartType;
535
534
  pasteDialog: {
536
535
  shown: false;
537
536
  data: null;
@@ -541,7 +540,7 @@ export declare const actionupdateFrameRendering: {
541
540
  };
542
541
  pendingImageElementId: string | null;
543
542
  showHyperlinkPopup: false | "info" | "editor";
544
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
543
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
545
544
  snapLines: readonly import("../snapping").SnapLine[];
546
545
  originSnapOffset: {
547
546
  x: number;
@@ -552,16 +551,14 @@ export declare const actionupdateFrameRendering: {
552
551
  followedBy: Set<import("../types").SocketId>;
553
552
  isCropping: boolean;
554
553
  croppingElementId: string | null;
555
- searchMatches: readonly {
556
- id: string;
557
- focus: boolean;
558
- matchedLines: {
559
- offsetX: number;
560
- offsetY: number;
561
- width: number;
562
- height: number;
563
- }[];
564
- }[];
554
+ searchMatches: Readonly<{
555
+ focusedId: string | null;
556
+ matches: readonly import("../types").SearchMatch[];
557
+ }> | null;
558
+ activeLockedId: string | null;
559
+ lockedMultiSelections: {
560
+ [groupId: string]: true;
561
+ };
565
562
  };
566
563
  captureUpdate: "EVENTUALLY";
567
564
  };
@@ -577,12 +574,13 @@ export declare const actionSetFrameAsActiveTool: {
577
574
  };
578
575
  icon: import("react/jsx-runtime").JSX.Element;
579
576
  viewMode: false;
580
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
581
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
577
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
578
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
582
579
  appState: {
583
580
  activeTool: {
584
581
  lastActiveTool: import("../types").ActiveTool | null;
585
582
  locked: boolean;
583
+ fromSelection: boolean;
586
584
  } & import("../types").ActiveTool;
587
585
  contextMenu: {
588
586
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -593,17 +591,17 @@ export declare const actionSetFrameAsActiveTool: {
593
591
  isLoading: boolean;
594
592
  errorMessage: import("react").ReactNode;
595
593
  activeEmbeddable: {
596
- element: import("../element/types").NonDeletedExcalidrawElement;
594
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
597
595
  state: "hover" | "active";
598
596
  } | null;
599
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
600
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
601
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
602
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
597
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
598
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
599
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
600
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
603
601
  isBindingEnabled: boolean;
604
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
605
- suggestedBindings: import("../element/binding").SuggestedBinding[];
606
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
602
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
603
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
604
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
607
605
  frameRendering: {
608
606
  enabled: boolean;
609
607
  name: boolean;
@@ -611,9 +609,9 @@ export declare const actionSetFrameAsActiveTool: {
611
609
  clip: boolean;
612
610
  };
613
611
  editingFrame: string | null;
614
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
615
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
616
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
612
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
613
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
614
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
617
615
  penMode: boolean;
618
616
  penDetected: boolean;
619
617
  exportBackground: boolean;
@@ -622,18 +620,18 @@ export declare const actionSetFrameAsActiveTool: {
622
620
  exportScale: number;
623
621
  currentItemStrokeColor: string;
624
622
  currentItemBackgroundColor: string;
625
- currentItemFillStyle: import("../element/types").FillStyle;
623
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
626
624
  currentItemStrokeWidth: number;
627
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
625
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
628
626
  currentItemRoughness: number;
629
627
  currentItemOpacity: number;
630
628
  currentItemFontFamily: number;
631
629
  currentItemFontSize: number;
632
630
  currentItemTextAlign: string;
633
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
634
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
631
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
632
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
635
633
  currentHoveredFontFamily: number | null;
636
- currentItemRoundness: import("../element/types").StrokeRoundness;
634
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
637
635
  currentItemArrowType: "round" | "sharp" | "elbow";
638
636
  viewBackgroundColor: string;
639
637
  scrollX: number;
@@ -664,7 +662,7 @@ export declare const actionSetFrameAsActiveTool: {
664
662
  sourceElementId: string;
665
663
  } | null;
666
664
  defaultSidebarDockedPreference: boolean;
667
- lastPointerDownWith: import("../element/types").PointerType;
665
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
668
666
  selectedElementIds: Readonly<{
669
667
  [id: string]: true;
670
668
  }>;
@@ -682,7 +680,7 @@ export declare const actionSetFrameAsActiveTool: {
682
680
  duration?: number | undefined;
683
681
  } | null;
684
682
  zenModeEnabled: boolean;
685
- theme: import("../element/types").Theme;
683
+ theme: import("@excalidraw/element/types").Theme;
686
684
  gridSize: number;
687
685
  gridStep: number;
688
686
  gridModeEnabled: boolean;
@@ -703,7 +701,7 @@ export declare const actionSetFrameAsActiveTool: {
703
701
  [id: string]: true;
704
702
  }> | undefined;
705
703
  username?: string | null | undefined;
706
- userState?: import("..").UserIdleState | undefined;
704
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
707
705
  color?: {
708
706
  background: string;
709
707
  stroke: string;
@@ -720,7 +718,7 @@ export declare const actionSetFrameAsActiveTool: {
720
718
  open: boolean;
721
719
  panels: number;
722
720
  };
723
- currentChartType: import("../element/types").ChartType;
721
+ currentChartType: import("@excalidraw/element/types").ChartType;
724
722
  pasteDialog: {
725
723
  shown: false;
726
724
  data: null;
@@ -730,7 +728,7 @@ export declare const actionSetFrameAsActiveTool: {
730
728
  };
731
729
  pendingImageElementId: string | null;
732
730
  showHyperlinkPopup: false | "info" | "editor";
733
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
731
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
734
732
  snapLines: readonly import("../snapping").SnapLine[];
735
733
  originSnapOffset: {
736
734
  x: number;
@@ -741,22 +739,20 @@ export declare const actionSetFrameAsActiveTool: {
741
739
  followedBy: Set<import("../types").SocketId>;
742
740
  isCropping: boolean;
743
741
  croppingElementId: string | null;
744
- searchMatches: readonly {
745
- id: string;
746
- focus: boolean;
747
- matchedLines: {
748
- offsetX: number;
749
- offsetY: number;
750
- width: number;
751
- height: number;
752
- }[];
753
- }[];
742
+ searchMatches: Readonly<{
743
+ focusedId: string | null;
744
+ matches: readonly import("../types").SearchMatch[];
745
+ }> | null;
746
+ activeLockedId: string | null;
747
+ lockedMultiSelections: {
748
+ [groupId: string]: true;
749
+ };
754
750
  };
755
751
  captureUpdate: "EVENTUALLY";
756
752
  };
757
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
753
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
758
754
  } & {
759
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
755
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
760
756
  };
761
757
  export declare const actionWrapSelectionInFrame: {
762
758
  name: "wrapSelectionInFrame";
@@ -765,18 +761,18 @@ export declare const actionWrapSelectionInFrame: {
765
761
  category: "element";
766
762
  };
767
763
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
768
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
769
- elements: (import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | (Readonly<{
764
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
765
+ elements: ((Readonly<{
770
766
  id: string;
771
767
  x: number;
772
768
  y: number;
773
769
  strokeColor: string;
774
770
  backgroundColor: string;
775
- fillStyle: import("../element/types").FillStyle;
771
+ fillStyle: import("@excalidraw/element/types").FillStyle;
776
772
  strokeWidth: number;
777
- strokeStyle: import("../element/types").StrokeStyle;
773
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
778
774
  roundness: {
779
- type: import("../element/types").RoundnessType;
775
+ type: import("@excalidraw/element/types").RoundnessType;
780
776
  value?: number | undefined;
781
777
  } | null;
782
778
  roughness: number;
@@ -787,7 +783,7 @@ export declare const actionWrapSelectionInFrame: {
787
783
  seed: number;
788
784
  version: number;
789
785
  versionNonce: number;
790
- index: import("../element/types").FractionalIndex | null;
786
+ index: import("@excalidraw/element/types").FractionalIndex | null;
791
787
  isDeleted: boolean;
792
788
  groupIds: readonly string[];
793
789
  frameId: string | null;
@@ -802,18 +798,18 @@ export declare const actionWrapSelectionInFrame: {
802
798
  }> & {
803
799
  type: "selection";
804
800
  } & {
805
- index: import("../element/types").FractionalIndex;
801
+ index: import("@excalidraw/element/types").FractionalIndex;
806
802
  }) | (Readonly<{
807
803
  id: string;
808
804
  x: number;
809
805
  y: number;
810
806
  strokeColor: string;
811
807
  backgroundColor: string;
812
- fillStyle: import("../element/types").FillStyle;
808
+ fillStyle: import("@excalidraw/element/types").FillStyle;
813
809
  strokeWidth: number;
814
- strokeStyle: import("../element/types").StrokeStyle;
810
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
815
811
  roundness: {
816
- type: import("../element/types").RoundnessType;
812
+ type: import("@excalidraw/element/types").RoundnessType;
817
813
  value?: number | undefined;
818
814
  } | null;
819
815
  roughness: number;
@@ -824,7 +820,7 @@ export declare const actionWrapSelectionInFrame: {
824
820
  seed: number;
825
821
  version: number;
826
822
  versionNonce: number;
827
- index: import("../element/types").FractionalIndex | null;
823
+ index: import("@excalidraw/element/types").FractionalIndex | null;
828
824
  isDeleted: boolean;
829
825
  groupIds: readonly string[];
830
826
  frameId: string | null;
@@ -839,18 +835,18 @@ export declare const actionWrapSelectionInFrame: {
839
835
  }> & {
840
836
  type: "rectangle";
841
837
  } & {
842
- index: import("../element/types").FractionalIndex;
838
+ index: import("@excalidraw/element/types").FractionalIndex;
843
839
  }) | (Readonly<{
844
840
  id: string;
845
841
  x: number;
846
842
  y: number;
847
843
  strokeColor: string;
848
844
  backgroundColor: string;
849
- fillStyle: import("../element/types").FillStyle;
845
+ fillStyle: import("@excalidraw/element/types").FillStyle;
850
846
  strokeWidth: number;
851
- strokeStyle: import("../element/types").StrokeStyle;
847
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
852
848
  roundness: {
853
- type: import("../element/types").RoundnessType;
849
+ type: import("@excalidraw/element/types").RoundnessType;
854
850
  value?: number | undefined;
855
851
  } | null;
856
852
  roughness: number;
@@ -861,7 +857,7 @@ export declare const actionWrapSelectionInFrame: {
861
857
  seed: number;
862
858
  version: number;
863
859
  versionNonce: number;
864
- index: import("../element/types").FractionalIndex | null;
860
+ index: import("@excalidraw/element/types").FractionalIndex | null;
865
861
  isDeleted: boolean;
866
862
  groupIds: readonly string[];
867
863
  frameId: string | null;
@@ -876,18 +872,18 @@ export declare const actionWrapSelectionInFrame: {
876
872
  }> & {
877
873
  type: "diamond";
878
874
  } & {
879
- index: import("../element/types").FractionalIndex;
875
+ index: import("@excalidraw/element/types").FractionalIndex;
880
876
  }) | (Readonly<{
881
877
  id: string;
882
878
  x: number;
883
879
  y: number;
884
880
  strokeColor: string;
885
881
  backgroundColor: string;
886
- fillStyle: import("../element/types").FillStyle;
882
+ fillStyle: import("@excalidraw/element/types").FillStyle;
887
883
  strokeWidth: number;
888
- strokeStyle: import("../element/types").StrokeStyle;
884
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
889
885
  roundness: {
890
- type: import("../element/types").RoundnessType;
886
+ type: import("@excalidraw/element/types").RoundnessType;
891
887
  value?: number | undefined;
892
888
  } | null;
893
889
  roughness: number;
@@ -898,7 +894,7 @@ export declare const actionWrapSelectionInFrame: {
898
894
  seed: number;
899
895
  version: number;
900
896
  versionNonce: number;
901
- index: import("../element/types").FractionalIndex | null;
897
+ index: import("@excalidraw/element/types").FractionalIndex | null;
902
898
  isDeleted: boolean;
903
899
  groupIds: readonly string[];
904
900
  frameId: string | null;
@@ -913,18 +909,18 @@ export declare const actionWrapSelectionInFrame: {
913
909
  }> & {
914
910
  type: "ellipse";
915
911
  } & {
916
- index: import("../element/types").FractionalIndex;
912
+ index: import("@excalidraw/element/types").FractionalIndex;
917
913
  }) | (Readonly<{
918
914
  id: string;
919
915
  x: number;
920
916
  y: number;
921
917
  strokeColor: string;
922
918
  backgroundColor: string;
923
- fillStyle: import("../element/types").FillStyle;
919
+ fillStyle: import("@excalidraw/element/types").FillStyle;
924
920
  strokeWidth: number;
925
- strokeStyle: import("../element/types").StrokeStyle;
921
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
926
922
  roundness: {
927
- type: import("../element/types").RoundnessType;
923
+ type: import("@excalidraw/element/types").RoundnessType;
928
924
  value?: number | undefined;
929
925
  } | null;
930
926
  roughness: number;
@@ -935,7 +931,7 @@ export declare const actionWrapSelectionInFrame: {
935
931
  seed: number;
936
932
  version: number;
937
933
  versionNonce: number;
938
- index: import("../element/types").FractionalIndex | null;
934
+ index: import("@excalidraw/element/types").FractionalIndex | null;
939
935
  isDeleted: boolean;
940
936
  groupIds: readonly string[];
941
937
  frameId: string | null;
@@ -961,18 +957,18 @@ export declare const actionWrapSelectionInFrame: {
961
957
  _brand: "unitlessLineHeight";
962
958
  };
963
959
  }> & {
964
- index: import("../element/types").FractionalIndex;
960
+ index: import("@excalidraw/element/types").FractionalIndex;
965
961
  }) | (Readonly<{
966
962
  id: string;
967
963
  x: number;
968
964
  y: number;
969
965
  strokeColor: string;
970
966
  backgroundColor: string;
971
- fillStyle: import("../element/types").FillStyle;
967
+ fillStyle: import("@excalidraw/element/types").FillStyle;
972
968
  strokeWidth: number;
973
- strokeStyle: import("../element/types").StrokeStyle;
969
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
974
970
  roundness: {
975
- type: import("../element/types").RoundnessType;
971
+ type: import("@excalidraw/element/types").RoundnessType;
976
972
  value?: number | undefined;
977
973
  } | null;
978
974
  roughness: number;
@@ -983,7 +979,7 @@ export declare const actionWrapSelectionInFrame: {
983
979
  seed: number;
984
980
  version: number;
985
981
  versionNonce: number;
986
- index: import("../element/types").FractionalIndex | null;
982
+ index: import("@excalidraw/element/types").FractionalIndex | null;
987
983
  isDeleted: boolean;
988
984
  groupIds: readonly string[];
989
985
  frameId: string | null;
@@ -999,23 +995,23 @@ export declare const actionWrapSelectionInFrame: {
999
995
  type: "line" | "arrow";
1000
996
  points: readonly import("@excalidraw/math").LocalPoint[];
1001
997
  lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1002
- startBinding: import("../element/types").PointBinding | null;
1003
- endBinding: import("../element/types").PointBinding | null;
1004
- startArrowhead: import("../element/types").Arrowhead | null;
1005
- endArrowhead: import("../element/types").Arrowhead | null;
998
+ startBinding: import("@excalidraw/element/types").PointBinding | null;
999
+ endBinding: import("@excalidraw/element/types").PointBinding | null;
1000
+ startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1001
+ endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1006
1002
  }> & {
1007
- index: import("../element/types").FractionalIndex;
1003
+ index: import("@excalidraw/element/types").FractionalIndex;
1008
1004
  }) | (Readonly<{
1009
1005
  id: string;
1010
1006
  x: number;
1011
1007
  y: number;
1012
1008
  strokeColor: string;
1013
1009
  backgroundColor: string;
1014
- fillStyle: import("../element/types").FillStyle;
1010
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1015
1011
  strokeWidth: number;
1016
- strokeStyle: import("../element/types").StrokeStyle;
1012
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1017
1013
  roundness: {
1018
- type: import("../element/types").RoundnessType;
1014
+ type: import("@excalidraw/element/types").RoundnessType;
1019
1015
  value?: number | undefined;
1020
1016
  } | null;
1021
1017
  roughness: number;
@@ -1026,7 +1022,7 @@ export declare const actionWrapSelectionInFrame: {
1026
1022
  seed: number;
1027
1023
  version: number;
1028
1024
  versionNonce: number;
1029
- index: import("../element/types").FractionalIndex | null;
1025
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1030
1026
  isDeleted: boolean;
1031
1027
  groupIds: readonly string[];
1032
1028
  frameId: string | null;
@@ -1045,18 +1041,18 @@ export declare const actionWrapSelectionInFrame: {
1045
1041
  simulatePressure: boolean;
1046
1042
  lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1047
1043
  }> & {
1048
- index: import("../element/types").FractionalIndex;
1044
+ index: import("@excalidraw/element/types").FractionalIndex;
1049
1045
  }) | (Readonly<{
1050
1046
  id: string;
1051
1047
  x: number;
1052
1048
  y: number;
1053
1049
  strokeColor: string;
1054
1050
  backgroundColor: string;
1055
- fillStyle: import("../element/types").FillStyle;
1051
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1056
1052
  strokeWidth: number;
1057
- strokeStyle: import("../element/types").StrokeStyle;
1053
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1058
1054
  roundness: {
1059
- type: import("../element/types").RoundnessType;
1055
+ type: import("@excalidraw/element/types").RoundnessType;
1060
1056
  value?: number | undefined;
1061
1057
  } | null;
1062
1058
  roughness: number;
@@ -1067,7 +1063,7 @@ export declare const actionWrapSelectionInFrame: {
1067
1063
  seed: number;
1068
1064
  version: number;
1069
1065
  versionNonce: number;
1070
- index: import("../element/types").FractionalIndex | null;
1066
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1071
1067
  isDeleted: boolean;
1072
1068
  groupIds: readonly string[];
1073
1069
  frameId: string | null;
@@ -1081,23 +1077,23 @@ export declare const actionWrapSelectionInFrame: {
1081
1077
  customData?: Record<string, any> | undefined;
1082
1078
  }> & Readonly<{
1083
1079
  type: "image";
1084
- fileId: import("../element/types").FileId | null;
1080
+ fileId: import("@excalidraw/element/types").FileId | null;
1085
1081
  status: "error" | "pending" | "saved";
1086
1082
  scale: [number, number];
1087
- crop: import("../element/types").ImageCrop | null;
1083
+ crop: import("@excalidraw/element/types").ImageCrop | null;
1088
1084
  }> & {
1089
- index: import("../element/types").FractionalIndex;
1085
+ index: import("@excalidraw/element/types").FractionalIndex;
1090
1086
  }) | (Readonly<{
1091
1087
  id: string;
1092
1088
  x: number;
1093
1089
  y: number;
1094
1090
  strokeColor: string;
1095
1091
  backgroundColor: string;
1096
- fillStyle: import("../element/types").FillStyle;
1092
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1097
1093
  strokeWidth: number;
1098
- strokeStyle: import("../element/types").StrokeStyle;
1094
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1099
1095
  roundness: {
1100
- type: import("../element/types").RoundnessType;
1096
+ type: import("@excalidraw/element/types").RoundnessType;
1101
1097
  value?: number | undefined;
1102
1098
  } | null;
1103
1099
  roughness: number;
@@ -1108,7 +1104,7 @@ export declare const actionWrapSelectionInFrame: {
1108
1104
  seed: number;
1109
1105
  version: number;
1110
1106
  versionNonce: number;
1111
- index: import("../element/types").FractionalIndex | null;
1107
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1112
1108
  isDeleted: boolean;
1113
1109
  groupIds: readonly string[];
1114
1110
  frameId: string | null;
@@ -1124,18 +1120,18 @@ export declare const actionWrapSelectionInFrame: {
1124
1120
  type: "frame";
1125
1121
  name: string | null;
1126
1122
  } & {
1127
- index: import("../element/types").FractionalIndex;
1123
+ index: import("@excalidraw/element/types").FractionalIndex;
1128
1124
  }) | (Readonly<{
1129
1125
  id: string;
1130
1126
  x: number;
1131
1127
  y: number;
1132
1128
  strokeColor: string;
1133
1129
  backgroundColor: string;
1134
- fillStyle: import("../element/types").FillStyle;
1130
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1135
1131
  strokeWidth: number;
1136
- strokeStyle: import("../element/types").StrokeStyle;
1132
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1137
1133
  roundness: {
1138
- type: import("../element/types").RoundnessType;
1134
+ type: import("@excalidraw/element/types").RoundnessType;
1139
1135
  value?: number | undefined;
1140
1136
  } | null;
1141
1137
  roughness: number;
@@ -1146,7 +1142,7 @@ export declare const actionWrapSelectionInFrame: {
1146
1142
  seed: number;
1147
1143
  version: number;
1148
1144
  versionNonce: number;
1149
- index: import("../element/types").FractionalIndex | null;
1145
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1150
1146
  isDeleted: boolean;
1151
1147
  groupIds: readonly string[];
1152
1148
  frameId: string | null;
@@ -1162,18 +1158,18 @@ export declare const actionWrapSelectionInFrame: {
1162
1158
  type: "magicframe";
1163
1159
  name: string | null;
1164
1160
  } & {
1165
- index: import("../element/types").FractionalIndex;
1161
+ index: import("@excalidraw/element/types").FractionalIndex;
1166
1162
  }) | (Readonly<{
1167
1163
  id: string;
1168
1164
  x: number;
1169
1165
  y: number;
1170
1166
  strokeColor: string;
1171
1167
  backgroundColor: string;
1172
- fillStyle: import("../element/types").FillStyle;
1168
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1173
1169
  strokeWidth: number;
1174
- strokeStyle: import("../element/types").StrokeStyle;
1170
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1175
1171
  roundness: {
1176
- type: import("../element/types").RoundnessType;
1172
+ type: import("@excalidraw/element/types").RoundnessType;
1177
1173
  value?: number | undefined;
1178
1174
  } | null;
1179
1175
  roughness: number;
@@ -1184,7 +1180,7 @@ export declare const actionWrapSelectionInFrame: {
1184
1180
  seed: number;
1185
1181
  version: number;
1186
1182
  versionNonce: number;
1187
- index: import("../element/types").FractionalIndex | null;
1183
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1188
1184
  isDeleted: boolean;
1189
1185
  groupIds: readonly string[];
1190
1186
  frameId: string | null;
@@ -1199,21 +1195,21 @@ export declare const actionWrapSelectionInFrame: {
1199
1195
  }> & Readonly<{
1200
1196
  type: "iframe";
1201
1197
  customData?: {
1202
- generationData?: import("../element/types").MagicGenerationData | undefined;
1198
+ generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
1203
1199
  } | undefined;
1204
1200
  }> & {
1205
- index: import("../element/types").FractionalIndex;
1201
+ index: import("@excalidraw/element/types").FractionalIndex;
1206
1202
  }) | (Readonly<{
1207
1203
  id: string;
1208
1204
  x: number;
1209
1205
  y: number;
1210
1206
  strokeColor: string;
1211
1207
  backgroundColor: string;
1212
- fillStyle: import("../element/types").FillStyle;
1208
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1213
1209
  strokeWidth: number;
1214
- strokeStyle: import("../element/types").StrokeStyle;
1210
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1215
1211
  roundness: {
1216
- type: import("../element/types").RoundnessType;
1212
+ type: import("@excalidraw/element/types").RoundnessType;
1217
1213
  value?: number | undefined;
1218
1214
  } | null;
1219
1215
  roughness: number;
@@ -1224,7 +1220,7 @@ export declare const actionWrapSelectionInFrame: {
1224
1220
  seed: number;
1225
1221
  version: number;
1226
1222
  versionNonce: number;
1227
- index: import("../element/types").FractionalIndex | null;
1223
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1228
1224
  isDeleted: boolean;
1229
1225
  groupIds: readonly string[];
1230
1226
  frameId: string | null;
@@ -1239,8 +1235,8 @@ export declare const actionWrapSelectionInFrame: {
1239
1235
  }> & Readonly<{
1240
1236
  type: "embeddable";
1241
1237
  }> & {
1242
- index: import("../element/types").FractionalIndex;
1243
- }))[];
1238
+ index: import("@excalidraw/element/types").FractionalIndex;
1239
+ }) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
1244
1240
  appState: {
1245
1241
  selectedElementIds: {
1246
1242
  [x: string]: true;