@zsviczian/excalidraw 0.18.0-30-printFrame-test-1 → 0.18.0-32

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 (385) hide show
  1. package/dist/excalidraw.development.js +165 -110
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/common/src/binary-heap.d.ts +12 -12
  5. package/types/common/src/colors.d.ts +62 -62
  6. package/types/common/src/constants.d.ts +354 -354
  7. package/types/common/src/emitter.d.ts +16 -16
  8. package/types/common/src/font-metadata.d.ts +48 -48
  9. package/types/common/src/index.d.ts +12 -12
  10. package/types/common/src/keys.d.ts +189 -189
  11. package/types/common/src/points.d.ts +9 -9
  12. package/types/common/src/promise-pool.d.ts +6 -6
  13. package/types/common/src/queue.d.ts +9 -9
  14. package/types/common/src/random.d.ts +4 -4
  15. package/types/common/src/url.d.ts +7 -7
  16. package/types/common/src/utility-types.d.ts +37 -37
  17. package/types/common/src/utils.d.ts +267 -267
  18. package/types/element/src/Scene.d.ts +76 -76
  19. package/types/element/src/align.d.ts +8 -8
  20. package/types/element/src/binding.d.ts +111 -111
  21. package/types/element/src/bounds.d.ts +89 -89
  22. package/types/element/src/collision.d.ts +32 -32
  23. package/types/element/src/comparisons.d.ts +8 -8
  24. package/types/element/src/containerCache.d.ts +11 -11
  25. package/types/element/src/cropElement.d.ts +19 -19
  26. package/types/element/src/delta.d.ts +225 -225
  27. package/types/element/src/distance.d.ts +3 -3
  28. package/types/element/src/distribute.d.ts +7 -7
  29. package/types/element/src/dragElements.d.ts +33 -33
  30. package/types/element/src/duplicate.d.ts +63 -63
  31. package/types/element/src/easingFunctions.d.ts +6 -6
  32. package/types/element/src/elbowArrow.d.ts +17 -17
  33. package/types/element/src/elementLink.d.ts +13 -13
  34. package/types/element/src/embeddable.d.ts +10 -10
  35. package/types/element/src/flowchart.d.ts +26 -26
  36. package/types/element/src/fractionalIndex.d.ts +57 -57
  37. package/types/element/src/frame.d.ts +70 -70
  38. package/types/element/src/groups.d.ts +34 -34
  39. package/types/element/src/heading.d.ts +15 -15
  40. package/types/element/src/image.d.ts +32 -32
  41. package/types/element/src/index.d.ts +57 -57
  42. package/types/element/src/linearElementEditor.d.ts +116 -116
  43. package/types/element/src/mutateElement.d.ts +21 -21
  44. package/types/element/src/newElement.d.ts +64 -63
  45. package/types/element/src/renderElement.d.ts +28 -28
  46. package/types/element/src/resizeElements.d.ts +39 -39
  47. package/types/element/src/resizeTest.d.ts +15 -15
  48. package/types/element/src/selection.d.ts +38 -38
  49. package/types/element/src/shape.d.ts +42 -42
  50. package/types/element/src/showSelectedShapeActions.d.ts +3 -3
  51. package/types/element/src/sizeHelpers.d.ts +35 -35
  52. package/types/element/src/sortElements.d.ts +2 -2
  53. package/types/element/src/store.d.ts +232 -232
  54. package/types/element/src/textElement.d.ts +40 -40
  55. package/types/element/src/textMeasurements.d.ts +41 -41
  56. package/types/element/src/textWrapping.d.ts +13 -13
  57. package/types/element/src/transformHandles.d.ts +55 -55
  58. package/types/element/src/typeChecks.d.ts +57 -57
  59. package/types/element/src/types.d.ts +308 -301
  60. package/types/element/src/utils.d.ts +31 -31
  61. package/types/element/src/zindex.d.ts +7 -7
  62. package/types/excalidraw/actions/actionAddToLibrary.d.ts +641 -632
  63. package/types/excalidraw/actions/actionAlign.d.ts +109 -109
  64. package/types/excalidraw/actions/actionBoundText.d.ts +464 -458
  65. package/types/excalidraw/actions/actionCanvas.d.ts +3338 -3293
  66. package/types/excalidraw/actions/actionClipboard.d.ts +1400 -1382
  67. package/types/excalidraw/actions/actionCropEditor.d.ts +226 -223
  68. package/types/excalidraw/actions/actionDeleteSelected.d.ts +681 -672
  69. package/types/excalidraw/actions/actionDistribute.d.ts +34 -34
  70. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +17 -17
  71. package/types/excalidraw/actions/actionElementLink.d.ts +248 -245
  72. package/types/excalidraw/actions/actionElementLock.d.ts +450 -444
  73. package/types/excalidraw/actions/actionEmbeddable.d.ts +223 -220
  74. package/types/excalidraw/actions/actionExport.d.ts +1989 -1962
  75. package/types/excalidraw/actions/actionFinalize.d.ts +679 -670
  76. package/types/excalidraw/actions/actionFlip.d.ts +34 -34
  77. package/types/excalidraw/actions/actionFrame.d.ts +1409 -1391
  78. package/types/excalidraw/actions/actionGroup.d.ts +462 -456
  79. package/types/excalidraw/actions/actionHistory.d.ts +6 -6
  80. package/types/excalidraw/actions/actionLinearEditor.d.ts +763 -754
  81. package/types/excalidraw/actions/actionLink.d.ts +227 -224
  82. package/types/excalidraw/actions/actionMenu.d.ts +661 -652
  83. package/types/excalidraw/actions/actionNavigate.d.ts +438 -432
  84. package/types/excalidraw/actions/actionProperties.d.ts +3574 -3299
  85. package/types/excalidraw/actions/actionSelectAll.d.ts +226 -223
  86. package/types/excalidraw/actions/actionStyles.d.ts +240 -237
  87. package/types/excalidraw/actions/actionTextAutoResize.d.ts +17 -17
  88. package/types/excalidraw/actions/actionToggleGridMode.d.ts +229 -226
  89. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +227 -224
  90. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +220 -217
  91. package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -19
  92. package/types/excalidraw/actions/actionToggleStats.d.ts +226 -223
  93. package/types/excalidraw/actions/actionToggleViewMode.d.ts +227 -224
  94. package/types/excalidraw/actions/actionToggleZenMode.d.ts +227 -224
  95. package/types/excalidraw/actions/actionZindex.d.ts +74 -74
  96. package/types/excalidraw/actions/index.d.ts +29 -28
  97. package/types/excalidraw/actions/manager.d.ts +21 -21
  98. package/types/excalidraw/actions/register.d.ts +5 -5
  99. package/types/excalidraw/actions/shortcuts.d.ts +4 -4
  100. package/types/excalidraw/actions/types.d.ts +47 -47
  101. package/types/excalidraw/analytics.d.ts +1 -1
  102. package/types/excalidraw/animated-trail.d.ts +39 -39
  103. package/types/excalidraw/animation-frame-handler.d.ts +16 -16
  104. package/types/excalidraw/appState.d.ts +100 -99
  105. package/types/excalidraw/charts.d.ts +27 -27
  106. package/types/excalidraw/clients.d.ts +14 -14
  107. package/types/excalidraw/clipboard.d.ts +66 -66
  108. package/types/excalidraw/components/Actions.d.ts +31 -31
  109. package/types/excalidraw/components/ActiveConfirmDialog.d.ts +4 -4
  110. package/types/excalidraw/components/App.d.ts +567 -565
  111. package/types/excalidraw/components/Avatar.d.ts +11 -11
  112. package/types/excalidraw/components/BraveMeasureTextError.d.ts +2 -2
  113. package/types/excalidraw/components/Button.d.ts +17 -17
  114. package/types/excalidraw/components/ButtonIcon.d.ts +16 -16
  115. package/types/excalidraw/components/ButtonIconCycle.d.ts +11 -11
  116. package/types/excalidraw/components/ButtonSeparator.d.ts +1 -1
  117. package/types/excalidraw/components/Card.d.ts +6 -6
  118. package/types/excalidraw/components/CheckboxItem.d.ts +8 -8
  119. package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +10 -10
  120. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +23 -23
  121. package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +8 -8
  122. package/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -7
  123. package/types/excalidraw/components/ColorPicker/Picker.d.ts +17 -17
  124. package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -9
  125. package/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +5 -5
  126. package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +8 -8
  127. package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +9 -9
  128. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +21 -21
  129. package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +20 -20
  130. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +18 -18
  131. package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -2
  132. package/types/excalidraw/components/CommandPalette/types.d.ts +25 -25
  133. package/types/excalidraw/components/ConfirmDialog.d.ts +10 -10
  134. package/types/excalidraw/components/ContextMenu.d.ts +16 -16
  135. package/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -23
  136. package/types/excalidraw/components/DarkModeToggle.d.ts +7 -7
  137. package/types/excalidraw/components/DefaultSidebar.d.ts +30 -30
  138. package/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +4 -4
  139. package/types/excalidraw/components/Dialog.d.ts +13 -13
  140. package/types/excalidraw/components/DialogActionButton.d.ts +10 -10
  141. package/types/excalidraw/components/ElementCanvasButtons.d.ts +7 -7
  142. package/types/excalidraw/components/ElementLinkDialog.d.ts +12 -12
  143. package/types/excalidraw/components/Ellipsify.d.ts +3 -3
  144. package/types/excalidraw/components/ErrorDialog.d.ts +5 -5
  145. package/types/excalidraw/components/ExcalidrawLogo.d.ts +15 -15
  146. package/types/excalidraw/components/EyeDropper.d.ts +27 -27
  147. package/types/excalidraw/components/FilledButton.d.ts +18 -18
  148. package/types/excalidraw/components/FixedSideContainer.d.ts +9 -9
  149. package/types/excalidraw/components/FollowMode/FollowMode.d.ts +10 -10
  150. package/types/excalidraw/components/FontPicker/FontPicker.d.ts +21 -21
  151. package/types/excalidraw/components/FontPicker/FontPickerList.d.ts +26 -26
  152. package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +6 -6
  153. package/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +13 -13
  154. package/types/excalidraw/components/HandButton.d.ts +10 -10
  155. package/types/excalidraw/components/HelpButton.d.ts +7 -7
  156. package/types/excalidraw/components/HelpDialog.d.ts +4 -4
  157. package/types/excalidraw/components/HintViewer.d.ts +10 -10
  158. package/types/excalidraw/components/IconPicker.d.ts +15 -15
  159. package/types/excalidraw/components/ImageExportDialog.d.ts +14 -14
  160. package/types/excalidraw/components/InitializeApp.d.ts +10 -10
  161. package/types/excalidraw/components/InlineIcon.d.ts +3 -3
  162. package/types/excalidraw/components/Island.d.ts +10 -10
  163. package/types/excalidraw/components/JSONExportDialog.d.ts +15 -15
  164. package/types/excalidraw/components/LaserPointerButton.d.ts +10 -10
  165. package/types/excalidraw/components/LayerUI.d.ts +31 -31
  166. package/types/excalidraw/components/LibraryMenu.d.ts +10 -10
  167. package/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +7 -7
  168. package/types/excalidraw/components/LibraryMenuControlButtons.d.ts +9 -9
  169. package/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +17 -17
  170. package/types/excalidraw/components/LibraryMenuItems.d.ts +14 -14
  171. package/types/excalidraw/components/LibraryMenuSection.d.ts +23 -23
  172. package/types/excalidraw/components/LibraryUnit.d.ts +14 -14
  173. package/types/excalidraw/components/LoadingMessage.d.ts +5 -5
  174. package/types/excalidraw/components/LockButton.d.ts +10 -10
  175. package/types/excalidraw/components/MagicButton.d.ts +10 -10
  176. package/types/excalidraw/components/MobileMenu.d.ts +25 -25
  177. package/types/excalidraw/components/Modal.d.ts +14 -14
  178. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -17
  179. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -17
  180. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -22
  181. package/types/excalidraw/components/Paragraph.d.ts +4 -4
  182. package/types/excalidraw/components/PasteChartDialog.d.ts +8 -8
  183. package/types/excalidraw/components/PenModeButton.d.ts +12 -12
  184. package/types/excalidraw/components/Popover.d.ts +15 -15
  185. package/types/excalidraw/components/ProjectName.d.ts +10 -10
  186. package/types/excalidraw/components/PropertiesPopover.d.ts +15 -15
  187. package/types/excalidraw/components/PublishLibrary.d.ts +16 -16
  188. package/types/excalidraw/components/QuickSearch.d.ts +9 -9
  189. package/types/excalidraw/components/RadioGroup.d.ts +13 -13
  190. package/types/excalidraw/components/RadioSelection.d.ts +20 -20
  191. package/types/excalidraw/components/Range.d.ts +8 -8
  192. package/types/excalidraw/components/SVGLayer.d.ts +7 -7
  193. package/types/excalidraw/components/ScrollableList.d.ts +8 -8
  194. package/types/excalidraw/components/SearchMenu.d.ts +5 -5
  195. package/types/excalidraw/components/Section.d.ts +6 -6
  196. package/types/excalidraw/components/ShareableLinkDialog.d.ts +7 -7
  197. package/types/excalidraw/components/Sidebar/Sidebar.d.ts +76 -76
  198. package/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +7 -7
  199. package/types/excalidraw/components/Sidebar/SidebarTab.d.ts +8 -8
  200. package/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +9 -9
  201. package/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +6 -6
  202. package/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +6 -6
  203. package/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +6 -6
  204. package/types/excalidraw/components/Sidebar/common.d.ts +34 -34
  205. package/types/excalidraw/components/Spinner.d.ts +8 -8
  206. package/types/excalidraw/components/Stack.d.ts +15 -15
  207. package/types/excalidraw/components/Stats/Angle.d.ts +11 -11
  208. package/types/excalidraw/components/Stats/CanvasGrid.d.ts +10 -10
  209. package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +10 -10
  210. package/types/excalidraw/components/Stats/Collapsible.d.ts +10 -10
  211. package/types/excalidraw/components/Stats/Dimension.d.ts +11 -11
  212. package/types/excalidraw/components/Stats/DragInput.d.ts +44 -44
  213. package/types/excalidraw/components/Stats/FontSize.d.ts +11 -11
  214. package/types/excalidraw/components/Stats/MultiAngle.d.ts +11 -11
  215. package/types/excalidraw/components/Stats/MultiDimension.d.ts +14 -14
  216. package/types/excalidraw/components/Stats/MultiFontSize.d.ts +12 -12
  217. package/types/excalidraw/components/Stats/MultiPosition.d.ts +14 -14
  218. package/types/excalidraw/components/Stats/Position.d.ts +12 -12
  219. package/types/excalidraw/components/Stats/index.d.ts +35 -35
  220. package/types/excalidraw/components/Stats/utils.d.ts +19 -19
  221. package/types/excalidraw/components/Switch.d.ts +9 -9
  222. package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +8 -8
  223. package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +10 -10
  224. package/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +29 -29
  225. package/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +9 -9
  226. package/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +7 -7
  227. package/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +17 -17
  228. package/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +4 -4
  229. package/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -1
  230. package/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +7 -7
  231. package/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -8
  232. package/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -6
  233. package/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +11 -11
  234. package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +9 -9
  235. package/types/excalidraw/components/TTDDialog/common.d.ts +32 -32
  236. package/types/excalidraw/components/TextField.d.ts +21 -21
  237. package/types/excalidraw/components/Toast.d.ts +9 -9
  238. package/types/excalidraw/components/ToolButton.d.ts +49 -49
  239. package/types/excalidraw/components/Tooltip.d.ts +18 -18
  240. package/types/excalidraw/components/Trans.d.ts +9 -9
  241. package/types/excalidraw/components/UnlockPopup.d.ts +8 -8
  242. package/types/excalidraw/components/UserList.d.ts +18 -18
  243. package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +30 -30
  244. package/types/excalidraw/components/canvases/NewElementCanvas.d.ts +14 -14
  245. package/types/excalidraw/components/canvases/StaticCanvas.d.ts +19 -19
  246. package/types/excalidraw/components/canvases/index.d.ts +3 -3
  247. package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +86 -86
  248. package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +15 -15
  249. package/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -11
  250. package/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +46 -46
  251. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +8 -8
  252. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +17 -17
  253. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +7 -7
  254. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +16 -16
  255. package/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +5 -5
  256. package/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +10 -10
  257. package/types/excalidraw/components/dropdownMenu/common.d.ts +6 -6
  258. package/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -3
  259. package/types/excalidraw/components/footer/Footer.d.ts +12 -12
  260. package/types/excalidraw/components/footer/FooterCenter.d.ts +8 -8
  261. package/types/excalidraw/components/hoc/withInternalFallback.d.ts +4 -4
  262. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +19 -19
  263. package/types/excalidraw/components/hyperlink/helpers.d.ts +10 -10
  264. package/types/excalidraw/components/icons.d.ts +228 -227
  265. package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +9 -9
  266. package/types/excalidraw/components/main-menu/DefaultItems.d.ts +64 -64
  267. package/types/excalidraw/components/main-menu/MainMenu.d.ts +83 -83
  268. package/types/excalidraw/components/shapes.d.ts +62 -62
  269. package/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +60 -60
  270. package/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +19 -19
  271. package/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +86 -86
  272. package/types/excalidraw/context/tunnels.d.ts +21 -21
  273. package/types/excalidraw/context/ui-appState.d.ts +4 -4
  274. package/types/excalidraw/cursor.d.ts +6 -6
  275. package/types/excalidraw/data/EditorLocalStorage.d.ts +8 -8
  276. package/types/excalidraw/data/ai/types.d.ts +242 -242
  277. package/types/excalidraw/data/blob.d.ts +53 -53
  278. package/types/excalidraw/data/encode.d.ts +55 -55
  279. package/types/excalidraw/data/encryption.d.ts +9 -9
  280. package/types/excalidraw/data/filesystem.d.ts +21 -21
  281. package/types/excalidraw/data/image.d.ts +9 -9
  282. package/types/excalidraw/data/index.d.ts +22 -22
  283. package/types/excalidraw/data/json.d.ts +16 -16
  284. package/types/excalidraw/data/library.d.ts +112 -112
  285. package/types/excalidraw/data/reconcile.d.ts +7 -7
  286. package/types/excalidraw/data/resave.d.ts +5 -5
  287. package/types/excalidraw/data/restore.d.ts +21 -21
  288. package/types/excalidraw/data/transform.d.ts +81 -81
  289. package/types/excalidraw/data/types.d.ts +45 -45
  290. package/types/excalidraw/deburr.d.ts +1 -1
  291. package/types/excalidraw/dist/excalidraw.development.d.ts +2 -2
  292. package/types/excalidraw/dist/excalidraw.production.min.d.ts +3 -3
  293. package/types/excalidraw/editor-jotai.d.ts +56 -56
  294. package/types/excalidraw/entry.d.ts +1 -1
  295. package/types/excalidraw/env.d.cts +1 -1
  296. package/types/excalidraw/env.d.ts +1 -1
  297. package/types/excalidraw/eraser/index.d.ts +12 -12
  298. package/types/excalidraw/errors.d.ts +29 -29
  299. package/types/excalidraw/fonts/Cascadia/index.d.ts +2 -2
  300. package/types/excalidraw/fonts/ComicShanns/index.d.ts +2 -2
  301. package/types/excalidraw/fonts/Emoji/index.d.ts +2 -2
  302. package/types/excalidraw/fonts/ExcalidrawFontFace.d.ts +29 -29
  303. package/types/excalidraw/fonts/Excalifont/index.d.ts +2 -2
  304. package/types/excalidraw/fonts/Fonts.d.ts +90 -90
  305. package/types/excalidraw/fonts/Helvetica/index.d.ts +2 -2
  306. package/types/excalidraw/fonts/Liberation/index.d.ts +2 -2
  307. package/types/excalidraw/fonts/Lilita/index.d.ts +2 -2
  308. package/types/excalidraw/fonts/Nunito/index.d.ts +2 -2
  309. package/types/excalidraw/fonts/Virgil/index.d.ts +2 -2
  310. package/types/excalidraw/fonts/Xiaolai/index.d.ts +8 -8
  311. package/types/excalidraw/fonts/index.d.ts +1 -1
  312. package/types/excalidraw/gesture.d.ts +6 -6
  313. package/types/excalidraw/history.d.ts +48 -48
  314. package/types/excalidraw/hooks/useCallbackRefState.d.ts +1 -1
  315. package/types/excalidraw/hooks/useCopiedIndicator.d.ts +5 -5
  316. package/types/excalidraw/hooks/useCreatePortalContainer.d.ts +7 -7
  317. package/types/excalidraw/hooks/useEmitter.d.ts +2 -2
  318. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +11 -11
  319. package/types/excalidraw/hooks/useOutsideClick.d.ts +19 -19
  320. package/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
  321. package/types/excalidraw/hooks/useStable.d.ts +1 -1
  322. package/types/excalidraw/hooks/useStableCallback.d.ts +4 -4
  323. package/types/excalidraw/hooks/useTransition.d.ts +2 -2
  324. package/types/excalidraw/i18n.d.ts +24 -24
  325. package/types/excalidraw/index-node.d.ts +1 -1
  326. package/types/excalidraw/index.d.ts +61 -61
  327. package/types/excalidraw/laser-trails.d.ts +20 -20
  328. package/types/excalidraw/lasso/index.d.ts +16 -16
  329. package/types/excalidraw/lasso/utils.d.ts +13 -13
  330. package/types/excalidraw/main.d.ts +2 -2
  331. package/types/excalidraw/mermaid.d.ts +2 -2
  332. package/types/excalidraw/obsidianUtils.d.ts +40 -40
  333. package/types/excalidraw/polyfill.d.ts +2 -2
  334. package/types/excalidraw/publicPath.d.ts +1 -1
  335. package/types/excalidraw/reactUtils.d.ts +14 -14
  336. package/types/excalidraw/renderer/helpers.d.ts +18 -18
  337. package/types/excalidraw/renderer/interactiveScene.d.ts +20 -20
  338. package/types/excalidraw/renderer/renderNewElementScene.d.ts +7 -7
  339. package/types/excalidraw/renderer/renderSnaps.d.ts +2 -2
  340. package/types/excalidraw/renderer/roundRect.d.ts +11 -11
  341. package/types/excalidraw/renderer/staticScene.d.ts +14 -14
  342. package/types/excalidraw/renderer/staticSvgScene.d.ts +5 -5
  343. package/types/excalidraw/scene/Renderer.d.ts +27 -27
  344. package/types/excalidraw/scene/export.d.ts +37 -37
  345. package/types/excalidraw/scene/index.d.ts +4 -4
  346. package/types/excalidraw/scene/normalize.d.ts +4 -4
  347. package/types/excalidraw/scene/scroll.d.ts +23 -23
  348. package/types/excalidraw/scene/scrollbars.d.ts +11 -11
  349. package/types/excalidraw/scene/types.d.ts +122 -122
  350. package/types/excalidraw/scene/zoom.d.ts +12 -12
  351. package/types/excalidraw/snapping.d.ts +111 -111
  352. package/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +45 -45
  353. package/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +13 -13
  354. package/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +2 -2
  355. package/types/excalidraw/subset/subset-main.d.ts +12 -12
  356. package/types/excalidraw/subset/subset-shared.chunk.d.ts +32 -32
  357. package/types/excalidraw/subset/subset-worker.chunk.d.ts +15 -15
  358. package/types/excalidraw/subset/woff2/woff2-bindings.d.ts +31 -31
  359. package/types/excalidraw/subset/woff2/woff2-loader.d.ts +14 -14
  360. package/types/excalidraw/subset/woff2/woff2-wasm.d.ts +2 -2
  361. package/types/excalidraw/types.d.ts +781 -778
  362. package/types/excalidraw/webpack.dev.config.d.ts +114 -114
  363. package/types/excalidraw/webpack.prod.config.d.ts +128 -128
  364. package/types/excalidraw/workers.d.ts +36 -36
  365. package/types/excalidraw/wysiwyg/textWysiwyg.d.ts +24 -24
  366. package/types/math/src/angle.d.ts +19 -19
  367. package/types/math/src/constants.d.ts +3 -3
  368. package/types/math/src/curve.d.ts +74 -74
  369. package/types/math/src/ellipse.d.ts +44 -44
  370. package/types/math/src/index.d.ts +13 -13
  371. package/types/math/src/line.d.ts +17 -17
  372. package/types/math/src/point.d.ts +122 -122
  373. package/types/math/src/polygon.d.ts +6 -6
  374. package/types/math/src/range.d.ts +44 -44
  375. package/types/math/src/rectangle.d.ts +5 -5
  376. package/types/math/src/segment.d.ts +39 -39
  377. package/types/math/src/triangle.d.ts +11 -11
  378. package/types/math/src/types.d.ts +106 -106
  379. package/types/math/src/utils.d.ts +7 -7
  380. package/types/math/src/vector.d.ts +94 -94
  381. package/types/utils/src/bbox.d.ts +9 -9
  382. package/types/utils/src/export.d.ts +35 -35
  383. package/types/utils/src/index.d.ts +4 -4
  384. package/types/utils/src/shape.d.ts +58 -58
  385. package/types/utils/src/withinBounds.d.ts +19 -19
@@ -1,1382 +1,1400 @@
1
- export declare const actionCopy: {
2
- name: "copy";
3
- label: string;
4
- icon: import("react/jsx-runtime").JSX.Element;
5
- trackEvent: {
6
- category: "element";
7
- };
8
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => Promise<{
9
- captureUpdate: "EVENTUALLY";
10
- appState: {
11
- errorMessage: any;
12
- contextMenu: {
13
- items: import("../components/ContextMenu").ContextMenuItems;
14
- top: number;
15
- left: number;
16
- } | null;
17
- showWelcomeScreen: boolean;
18
- isLoading: boolean;
19
- activeEmbeddable: {
20
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "active" | "hover";
22
- } | null;
23
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
26
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- isBindingEnabled: boolean;
28
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
- frameRendering: {
32
- enabled: boolean;
33
- name: boolean;
34
- outline: boolean;
35
- clip: boolean;
36
- };
37
- editingFrame: string | null;
38
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- activeTool: {
41
- lastActiveTool: import("../types").ActiveTool | null;
42
- locked: boolean;
43
- fromSelection: boolean;
44
- } & import("../types").ActiveTool;
45
- penMode: boolean;
46
- penDetected: boolean;
47
- exportBackground: boolean;
48
- exportEmbedScene: boolean;
49
- exportWithDarkMode: boolean;
50
- exportScale: number;
51
- currentItemStrokeColor: string;
52
- currentItemBackgroundColor: string;
53
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
54
- currentItemStrokeWidth: number;
55
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
56
- currentItemRoughness: number;
57
- currentItemOpacity: number;
58
- currentItemFontFamily: number;
59
- currentItemFontSize: number;
60
- currentItemTextAlign: string;
61
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
62
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
- currentHoveredFontFamily: number | null;
64
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
- currentItemArrowType: "round" | "sharp" | "elbow";
66
- viewBackgroundColor: string;
67
- scrollX: number;
68
- scrollY: number;
69
- cursorButton: "up" | "down";
70
- scrolledOutside: boolean;
71
- name: string | null;
72
- isResizing: boolean;
73
- isRotating: boolean;
74
- zoom: Readonly<{
75
- value: import("../types").NormalizedZoomValue;
76
- }>;
77
- openMenu: "canvas" | "shape" | null;
78
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
- openSidebar: {
80
- name: string;
81
- tab?: string | undefined;
82
- } | null;
83
- openDialog: {
84
- name: "help" | "imageExport" | "jsonExport";
85
- } | {
86
- name: "ttd";
87
- tab: "mermaid" | "text-to-diagram";
88
- } | {
89
- name: "commandPalette";
90
- } | {
91
- name: "elementLinkSelector";
92
- sourceElementId: string;
93
- } | null;
94
- defaultSidebarDockedPreference: boolean;
95
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
96
- selectedElementIds: Readonly<{
97
- [id: string]: true;
98
- }>;
99
- hoveredElementIds: Readonly<{
100
- [id: string]: true;
101
- }>;
102
- previousSelectedElementIds: {
103
- [id: string]: true;
104
- };
105
- selectedElementsAreBeingDragged: boolean;
106
- shouldCacheIgnoreZoom: boolean;
107
- toast: {
108
- message: string;
109
- closable?: boolean | undefined;
110
- duration?: number | undefined;
111
- } | null;
112
- zenModeEnabled: boolean;
113
- theme: import("@excalidraw/element/types").Theme;
114
- gridSize: number;
115
- gridStep: number;
116
- gridModeEnabled: boolean;
117
- viewModeEnabled: boolean;
118
- selectedGroupIds: {
119
- [groupId: string]: boolean;
120
- };
121
- editingGroupId: string | null;
122
- width: number;
123
- height: number;
124
- offsetTop: number;
125
- offsetLeft: number;
126
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
127
- collaborators: Map<import("../types").SocketId, Readonly<{
128
- pointer?: import("../types").CollaboratorPointer | undefined;
129
- button?: "up" | "down" | undefined;
130
- selectedElementIds?: Readonly<{
131
- [id: string]: true;
132
- }> | undefined;
133
- username?: string | null | undefined;
134
- userState?: import("@excalidraw/common").UserIdleState | undefined;
135
- color?: {
136
- background: string;
137
- stroke: string;
138
- } | undefined;
139
- avatarUrl?: string | undefined;
140
- id?: string | undefined;
141
- socketId?: import("../types").SocketId | undefined;
142
- isCurrentUser?: boolean | undefined;
143
- isInCall?: boolean | undefined;
144
- isSpeaking?: boolean | undefined;
145
- isMuted?: boolean | undefined;
146
- }>>;
147
- stats: {
148
- open: boolean;
149
- panels: number;
150
- };
151
- currentChartType: import("@excalidraw/element/types").ChartType;
152
- pasteDialog: {
153
- shown: false;
154
- data: null;
155
- } | {
156
- shown: true;
157
- data: import("../charts").Spreadsheet;
158
- };
159
- showHyperlinkPopup: false | "editor" | "info";
160
- linkOpacity: number;
161
- trayModeEnabled: boolean;
162
- colorPalette?: {
163
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
164
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
165
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
166
- topPicks: {
167
- canvasBackground: [string, string, string, string, string];
168
- elementStroke: [string, string, string, string, string];
169
- elementBackground: [string, string, string, string, string];
170
- };
171
- } | undefined;
172
- allowWheelZoom?: boolean | undefined;
173
- allowPinchZoom?: boolean | undefined;
174
- pinnedScripts?: string[] | undefined;
175
- customPens?: any[] | undefined;
176
- currentStrokeOptions?: any;
177
- resetCustomPen?: any;
178
- gridColor: {
179
- Bold: string;
180
- Regular: string;
181
- };
182
- gridDirection: {
183
- horizontal: boolean;
184
- vertical: boolean;
185
- };
186
- highlightSearchResult: boolean;
187
- dynamicStyle: {
188
- [x: string]: string;
189
- };
190
- frameColor: {
191
- stroke: string;
192
- fill: string;
193
- nameColor: string;
194
- };
195
- invertBindingBehaviour: boolean;
196
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
197
- snapLines: readonly import("../snapping").SnapLine[];
198
- originSnapOffset: {
199
- x: number;
200
- y: number;
201
- } | null;
202
- objectsSnapModeEnabled: boolean;
203
- userToFollow: import("../types").UserToFollow | null;
204
- followedBy: Set<import("../types").SocketId>;
205
- isCropping: boolean;
206
- croppingElementId: string | null;
207
- searchMatches: Readonly<{
208
- focusedId: string | null;
209
- matches: readonly import("../types").SearchMatch[];
210
- }> | null;
211
- activeLockedId: string | null;
212
- lockedMultiSelections: {
213
- [groupId: string]: true;
214
- };
215
- };
216
- } | {
217
- captureUpdate: "EVENTUALLY";
218
- appState?: undefined;
219
- }>;
220
- keyTest: undefined;
221
- } & {
222
- keyTest?: undefined;
223
- };
224
- export declare const actionPaste: {
225
- name: "paste";
226
- label: string;
227
- trackEvent: {
228
- category: "element";
229
- };
230
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: any, app: import("../types").AppClassProperties) => Promise<false | {
231
- captureUpdate: "EVENTUALLY";
232
- appState: {
233
- errorMessage: string;
234
- contextMenu: {
235
- items: import("../components/ContextMenu").ContextMenuItems;
236
- top: number;
237
- left: number;
238
- } | null;
239
- showWelcomeScreen: boolean;
240
- isLoading: boolean;
241
- activeEmbeddable: {
242
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
243
- state: "active" | "hover";
244
- } | null;
245
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
246
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
247
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
248
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
249
- isBindingEnabled: boolean;
250
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
251
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
252
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
253
- frameRendering: {
254
- enabled: boolean;
255
- name: boolean;
256
- outline: boolean;
257
- clip: boolean;
258
- };
259
- editingFrame: string | null;
260
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
261
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
262
- activeTool: {
263
- lastActiveTool: import("../types").ActiveTool | null;
264
- locked: boolean;
265
- fromSelection: boolean;
266
- } & import("../types").ActiveTool;
267
- penMode: boolean;
268
- penDetected: boolean;
269
- exportBackground: boolean;
270
- exportEmbedScene: boolean;
271
- exportWithDarkMode: boolean;
272
- exportScale: number;
273
- currentItemStrokeColor: string;
274
- currentItemBackgroundColor: string;
275
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
276
- currentItemStrokeWidth: number;
277
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
278
- currentItemRoughness: number;
279
- currentItemOpacity: number;
280
- currentItemFontFamily: number;
281
- currentItemFontSize: number;
282
- currentItemTextAlign: string;
283
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
284
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
285
- currentHoveredFontFamily: number | null;
286
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
287
- currentItemArrowType: "round" | "sharp" | "elbow";
288
- viewBackgroundColor: string;
289
- scrollX: number;
290
- scrollY: number;
291
- cursorButton: "up" | "down";
292
- scrolledOutside: boolean;
293
- name: string | null;
294
- isResizing: boolean;
295
- isRotating: boolean;
296
- zoom: Readonly<{
297
- value: import("../types").NormalizedZoomValue;
298
- }>;
299
- openMenu: "canvas" | "shape" | null;
300
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
301
- openSidebar: {
302
- name: string;
303
- tab?: string | undefined;
304
- } | null;
305
- openDialog: {
306
- name: "help" | "imageExport" | "jsonExport";
307
- } | {
308
- name: "ttd";
309
- tab: "mermaid" | "text-to-diagram";
310
- } | {
311
- name: "commandPalette";
312
- } | {
313
- name: "elementLinkSelector";
314
- sourceElementId: string;
315
- } | null;
316
- defaultSidebarDockedPreference: boolean;
317
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
318
- selectedElementIds: Readonly<{
319
- [id: string]: true;
320
- }>;
321
- hoveredElementIds: Readonly<{
322
- [id: string]: true;
323
- }>;
324
- previousSelectedElementIds: {
325
- [id: string]: true;
326
- };
327
- selectedElementsAreBeingDragged: boolean;
328
- shouldCacheIgnoreZoom: boolean;
329
- toast: {
330
- message: string;
331
- closable?: boolean | undefined;
332
- duration?: number | undefined;
333
- } | null;
334
- zenModeEnabled: boolean;
335
- theme: import("@excalidraw/element/types").Theme;
336
- gridSize: number;
337
- gridStep: number;
338
- gridModeEnabled: boolean;
339
- viewModeEnabled: boolean;
340
- selectedGroupIds: {
341
- [groupId: string]: boolean;
342
- };
343
- editingGroupId: string | null;
344
- width: number;
345
- height: number;
346
- offsetTop: number;
347
- offsetLeft: number;
348
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
349
- collaborators: Map<import("../types").SocketId, Readonly<{
350
- pointer?: import("../types").CollaboratorPointer | undefined;
351
- button?: "up" | "down" | undefined;
352
- selectedElementIds?: Readonly<{
353
- [id: string]: true;
354
- }> | undefined;
355
- username?: string | null | undefined;
356
- userState?: import("@excalidraw/common").UserIdleState | undefined;
357
- color?: {
358
- background: string;
359
- stroke: string;
360
- } | undefined;
361
- avatarUrl?: string | undefined;
362
- id?: string | undefined;
363
- socketId?: import("../types").SocketId | undefined;
364
- isCurrentUser?: boolean | undefined;
365
- isInCall?: boolean | undefined;
366
- isSpeaking?: boolean | undefined;
367
- isMuted?: boolean | undefined;
368
- }>>;
369
- stats: {
370
- open: boolean;
371
- panels: number;
372
- };
373
- currentChartType: import("@excalidraw/element/types").ChartType;
374
- pasteDialog: {
375
- shown: false;
376
- data: null;
377
- } | {
378
- shown: true;
379
- data: import("../charts").Spreadsheet;
380
- };
381
- showHyperlinkPopup: false | "editor" | "info";
382
- linkOpacity: number;
383
- trayModeEnabled: boolean;
384
- colorPalette?: {
385
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
386
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
387
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
388
- topPicks: {
389
- canvasBackground: [string, string, string, string, string];
390
- elementStroke: [string, string, string, string, string];
391
- elementBackground: [string, string, string, string, string];
392
- };
393
- } | undefined;
394
- allowWheelZoom?: boolean | undefined;
395
- allowPinchZoom?: boolean | undefined;
396
- pinnedScripts?: string[] | undefined;
397
- customPens?: any[] | undefined;
398
- currentStrokeOptions?: any;
399
- resetCustomPen?: any;
400
- gridColor: {
401
- Bold: string;
402
- Regular: string;
403
- };
404
- gridDirection: {
405
- horizontal: boolean;
406
- vertical: boolean;
407
- };
408
- highlightSearchResult: boolean;
409
- dynamicStyle: {
410
- [x: string]: string;
411
- };
412
- frameColor: {
413
- stroke: string;
414
- fill: string;
415
- nameColor: string;
416
- };
417
- invertBindingBehaviour: boolean;
418
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
419
- snapLines: readonly import("../snapping").SnapLine[];
420
- originSnapOffset: {
421
- x: number;
422
- y: number;
423
- } | null;
424
- objectsSnapModeEnabled: boolean;
425
- userToFollow: import("../types").UserToFollow | null;
426
- followedBy: Set<import("../types").SocketId>;
427
- isCropping: boolean;
428
- croppingElementId: string | null;
429
- searchMatches: Readonly<{
430
- focusedId: string | null;
431
- matches: readonly import("../types").SearchMatch[];
432
- }> | null;
433
- activeLockedId: string | null;
434
- lockedMultiSelections: {
435
- [groupId: string]: true;
436
- };
437
- };
438
- } | {
439
- captureUpdate: "EVENTUALLY";
440
- appState?: undefined;
441
- }>;
442
- keyTest: undefined;
443
- } & {
444
- keyTest?: undefined;
445
- };
446
- export declare const actionCut: {
447
- name: "cut";
448
- label: string;
449
- icon: import("react/jsx-runtime").JSX.Element;
450
- trackEvent: {
451
- category: "element";
452
- };
453
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => false | {
454
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
455
- appState: {
456
- selectedLinearElement: null;
457
- contextMenu: {
458
- items: import("../components/ContextMenu").ContextMenuItems;
459
- top: number;
460
- left: number;
461
- } | null;
462
- showWelcomeScreen: boolean;
463
- isLoading: boolean;
464
- errorMessage: import("react").ReactNode;
465
- activeEmbeddable: {
466
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
467
- state: "active" | "hover";
468
- } | null;
469
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
470
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
471
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
472
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
473
- isBindingEnabled: boolean;
474
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
475
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
476
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
477
- frameRendering: {
478
- enabled: boolean;
479
- name: boolean;
480
- outline: boolean;
481
- clip: boolean;
482
- };
483
- editingFrame: string | null;
484
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
485
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
486
- activeTool: {
487
- lastActiveTool: import("../types").ActiveTool | null;
488
- locked: boolean;
489
- fromSelection: boolean;
490
- } & import("../types").ActiveTool;
491
- penMode: boolean;
492
- penDetected: boolean;
493
- exportBackground: boolean;
494
- exportEmbedScene: boolean;
495
- exportWithDarkMode: boolean;
496
- exportScale: number;
497
- currentItemStrokeColor: string;
498
- currentItemBackgroundColor: string;
499
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
500
- currentItemStrokeWidth: number;
501
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
502
- currentItemRoughness: number;
503
- currentItemOpacity: number;
504
- currentItemFontFamily: number;
505
- currentItemFontSize: number;
506
- currentItemTextAlign: string;
507
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
508
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
509
- currentHoveredFontFamily: number | null;
510
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
511
- currentItemArrowType: "round" | "sharp" | "elbow";
512
- viewBackgroundColor: string;
513
- scrollX: number;
514
- scrollY: number;
515
- cursorButton: "up" | "down";
516
- scrolledOutside: boolean;
517
- name: string | null;
518
- isResizing: boolean;
519
- isRotating: boolean;
520
- zoom: Readonly<{
521
- value: import("../types").NormalizedZoomValue;
522
- }>;
523
- openMenu: "canvas" | "shape" | null;
524
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
525
- openSidebar: {
526
- name: string;
527
- tab?: string | undefined;
528
- } | null;
529
- openDialog: {
530
- name: "help" | "imageExport" | "jsonExport";
531
- } | {
532
- name: "ttd";
533
- tab: "mermaid" | "text-to-diagram";
534
- } | {
535
- name: "commandPalette";
536
- } | {
537
- name: "elementLinkSelector";
538
- sourceElementId: string;
539
- } | null;
540
- defaultSidebarDockedPreference: boolean;
541
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
542
- selectedElementIds: Readonly<{
543
- [id: string]: true;
544
- }>;
545
- hoveredElementIds: Readonly<{
546
- [id: string]: true;
547
- }>;
548
- previousSelectedElementIds: {
549
- [id: string]: true;
550
- };
551
- selectedElementsAreBeingDragged: boolean;
552
- shouldCacheIgnoreZoom: boolean;
553
- toast: {
554
- message: string;
555
- closable?: boolean | undefined;
556
- duration?: number | undefined;
557
- } | null;
558
- zenModeEnabled: boolean;
559
- theme: import("@excalidraw/element/types").Theme;
560
- gridSize: number;
561
- gridStep: number;
562
- gridModeEnabled: boolean;
563
- viewModeEnabled: boolean;
564
- selectedGroupIds: {
565
- [groupId: string]: boolean;
566
- };
567
- editingGroupId: string | null;
568
- width: number;
569
- height: number;
570
- offsetTop: number;
571
- offsetLeft: number;
572
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
573
- collaborators: Map<import("../types").SocketId, Readonly<{
574
- pointer?: import("../types").CollaboratorPointer | undefined;
575
- button?: "up" | "down" | undefined;
576
- selectedElementIds?: Readonly<{
577
- [id: string]: true;
578
- }> | undefined;
579
- username?: string | null | undefined;
580
- userState?: import("@excalidraw/common").UserIdleState | undefined;
581
- color?: {
582
- background: string;
583
- stroke: string;
584
- } | undefined;
585
- avatarUrl?: string | undefined;
586
- id?: string | undefined;
587
- socketId?: import("../types").SocketId | undefined;
588
- isCurrentUser?: boolean | undefined;
589
- isInCall?: boolean | undefined;
590
- isSpeaking?: boolean | undefined;
591
- isMuted?: boolean | undefined;
592
- }>>;
593
- stats: {
594
- open: boolean;
595
- panels: number;
596
- };
597
- currentChartType: import("@excalidraw/element/types").ChartType;
598
- pasteDialog: {
599
- shown: false;
600
- data: null;
601
- } | {
602
- shown: true;
603
- data: import("../charts").Spreadsheet;
604
- };
605
- showHyperlinkPopup: false | "editor" | "info";
606
- linkOpacity: number;
607
- trayModeEnabled: boolean;
608
- colorPalette?: {
609
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
610
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
611
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
612
- topPicks: {
613
- canvasBackground: [string, string, string, string, string];
614
- elementStroke: [string, string, string, string, string];
615
- elementBackground: [string, string, string, string, string];
616
- };
617
- } | undefined;
618
- allowWheelZoom?: boolean | undefined;
619
- allowPinchZoom?: boolean | undefined;
620
- pinnedScripts?: string[] | undefined;
621
- customPens?: any[] | undefined;
622
- currentStrokeOptions?: any;
623
- resetCustomPen?: any;
624
- gridColor: {
625
- Bold: string;
626
- Regular: string;
627
- };
628
- gridDirection: {
629
- horizontal: boolean;
630
- vertical: boolean;
631
- };
632
- highlightSearchResult: boolean;
633
- dynamicStyle: {
634
- [x: string]: string;
635
- };
636
- frameColor: {
637
- stroke: string;
638
- fill: string;
639
- nameColor: string;
640
- };
641
- invertBindingBehaviour: boolean;
642
- snapLines: readonly import("../snapping").SnapLine[];
643
- originSnapOffset: {
644
- x: number;
645
- y: number;
646
- } | null;
647
- objectsSnapModeEnabled: boolean;
648
- userToFollow: import("../types").UserToFollow | null;
649
- followedBy: Set<import("../types").SocketId>;
650
- isCropping: boolean;
651
- croppingElementId: string | null;
652
- searchMatches: Readonly<{
653
- focusedId: string | null;
654
- matches: readonly import("../types").SearchMatch[];
655
- }> | null;
656
- activeLockedId: string | null;
657
- lockedMultiSelections: {
658
- [groupId: string]: true;
659
- };
660
- };
661
- captureUpdate: "IMMEDIATELY";
662
- } | {
663
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
664
- appState: {
665
- selectedLinearElement: {
666
- selectedPointsIndices: number[];
667
- startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
668
- endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
669
- elementId: string & {
670
- _brand: "excalidrawLinearElementId";
671
- };
672
- pointerDownState: Readonly<{
673
- prevSelectedPointsIndices: readonly number[] | null;
674
- lastClickedPoint: number;
675
- lastClickedIsEndPoint: boolean;
676
- origin: Readonly<{
677
- x: number;
678
- y: number;
679
- }> | null;
680
- segmentMidpoint: {
681
- value: import("@excalidraw/math").GlobalPoint | null;
682
- index: number | null;
683
- added: boolean;
684
- };
685
- }>;
686
- isDragging: boolean;
687
- lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
688
- pointerOffset: Readonly<{
689
- x: number;
690
- y: number;
691
- }>;
692
- hoverPointIndex: number;
693
- segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
694
- elbowed: boolean;
695
- customLineAngle: number | null;
696
- isEditing: boolean;
697
- };
698
- contextMenu: {
699
- items: import("../components/ContextMenu").ContextMenuItems;
700
- top: number;
701
- left: number;
702
- } | null;
703
- showWelcomeScreen: boolean;
704
- isLoading: boolean;
705
- errorMessage: import("react").ReactNode;
706
- activeEmbeddable: {
707
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
708
- state: "active" | "hover";
709
- } | null;
710
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
711
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
712
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
713
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
714
- isBindingEnabled: boolean;
715
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
716
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
717
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
718
- frameRendering: {
719
- enabled: boolean;
720
- name: boolean;
721
- outline: boolean;
722
- clip: boolean;
723
- };
724
- editingFrame: string | null;
725
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
726
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
727
- activeTool: {
728
- lastActiveTool: import("../types").ActiveTool | null;
729
- locked: boolean;
730
- fromSelection: boolean;
731
- } & import("../types").ActiveTool;
732
- penMode: boolean;
733
- penDetected: boolean;
734
- exportBackground: boolean;
735
- exportEmbedScene: boolean;
736
- exportWithDarkMode: boolean;
737
- exportScale: number;
738
- currentItemStrokeColor: string;
739
- currentItemBackgroundColor: string;
740
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
741
- currentItemStrokeWidth: number;
742
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
743
- currentItemRoughness: number;
744
- currentItemOpacity: number;
745
- currentItemFontFamily: number;
746
- currentItemFontSize: number;
747
- currentItemTextAlign: string;
748
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
749
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
750
- currentHoveredFontFamily: number | null;
751
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
752
- currentItemArrowType: "round" | "sharp" | "elbow";
753
- viewBackgroundColor: string;
754
- scrollX: number;
755
- scrollY: number;
756
- cursorButton: "up" | "down";
757
- scrolledOutside: boolean;
758
- name: string | null;
759
- isResizing: boolean;
760
- isRotating: boolean;
761
- zoom: Readonly<{
762
- value: import("../types").NormalizedZoomValue;
763
- }>;
764
- openMenu: "canvas" | "shape" | null;
765
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
766
- openSidebar: {
767
- name: string;
768
- tab?: string | undefined;
769
- } | null;
770
- openDialog: {
771
- name: "help" | "imageExport" | "jsonExport";
772
- } | {
773
- name: "ttd";
774
- tab: "mermaid" | "text-to-diagram";
775
- } | {
776
- name: "commandPalette";
777
- } | {
778
- name: "elementLinkSelector";
779
- sourceElementId: string;
780
- } | null;
781
- defaultSidebarDockedPreference: boolean;
782
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
783
- selectedElementIds: Readonly<{
784
- [id: string]: true;
785
- }>;
786
- hoveredElementIds: Readonly<{
787
- [id: string]: true;
788
- }>;
789
- previousSelectedElementIds: {
790
- [id: string]: true;
791
- };
792
- selectedElementsAreBeingDragged: boolean;
793
- shouldCacheIgnoreZoom: boolean;
794
- toast: {
795
- message: string;
796
- closable?: boolean | undefined;
797
- duration?: number | undefined;
798
- } | null;
799
- zenModeEnabled: boolean;
800
- theme: import("@excalidraw/element/types").Theme;
801
- gridSize: number;
802
- gridStep: number;
803
- gridModeEnabled: boolean;
804
- viewModeEnabled: boolean;
805
- selectedGroupIds: {
806
- [groupId: string]: boolean;
807
- };
808
- editingGroupId: string | null;
809
- width: number;
810
- height: number;
811
- offsetTop: number;
812
- offsetLeft: number;
813
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
814
- collaborators: Map<import("../types").SocketId, Readonly<{
815
- pointer?: import("../types").CollaboratorPointer | undefined;
816
- button?: "up" | "down" | undefined;
817
- selectedElementIds?: Readonly<{
818
- [id: string]: true;
819
- }> | undefined;
820
- username?: string | null | undefined;
821
- userState?: import("@excalidraw/common").UserIdleState | undefined;
822
- color?: {
823
- background: string;
824
- stroke: string;
825
- } | undefined;
826
- avatarUrl?: string | undefined;
827
- id?: string | undefined;
828
- socketId?: import("../types").SocketId | undefined;
829
- isCurrentUser?: boolean | undefined;
830
- isInCall?: boolean | undefined;
831
- isSpeaking?: boolean | undefined;
832
- isMuted?: boolean | undefined;
833
- }>>;
834
- stats: {
835
- open: boolean;
836
- panels: number;
837
- };
838
- currentChartType: import("@excalidraw/element/types").ChartType;
839
- pasteDialog: {
840
- shown: false;
841
- data: null;
842
- } | {
843
- shown: true;
844
- data: import("../charts").Spreadsheet;
845
- };
846
- showHyperlinkPopup: false | "editor" | "info";
847
- linkOpacity: number;
848
- trayModeEnabled: boolean;
849
- colorPalette?: {
850
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
851
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
852
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
853
- topPicks: {
854
- canvasBackground: [string, string, string, string, string];
855
- elementStroke: [string, string, string, string, string];
856
- elementBackground: [string, string, string, string, string];
857
- };
858
- } | undefined;
859
- allowWheelZoom?: boolean | undefined;
860
- allowPinchZoom?: boolean | undefined;
861
- pinnedScripts?: string[] | undefined;
862
- customPens?: any[] | undefined;
863
- currentStrokeOptions?: any;
864
- resetCustomPen?: any;
865
- gridColor: {
866
- Bold: string;
867
- Regular: string;
868
- };
869
- gridDirection: {
870
- horizontal: boolean;
871
- vertical: boolean;
872
- };
873
- highlightSearchResult: boolean;
874
- dynamicStyle: {
875
- [x: string]: string;
876
- };
877
- frameColor: {
878
- stroke: string;
879
- fill: string;
880
- nameColor: string;
881
- };
882
- invertBindingBehaviour: boolean;
883
- snapLines: readonly import("../snapping").SnapLine[];
884
- originSnapOffset: {
885
- x: number;
886
- y: number;
887
- } | null;
888
- objectsSnapModeEnabled: boolean;
889
- userToFollow: import("../types").UserToFollow | null;
890
- followedBy: Set<import("../types").SocketId>;
891
- isCropping: boolean;
892
- croppingElementId: string | null;
893
- searchMatches: Readonly<{
894
- focusedId: string | null;
895
- matches: readonly import("../types").SearchMatch[];
896
- }> | null;
897
- activeLockedId: string | null;
898
- lockedMultiSelections: {
899
- [groupId: string]: true;
900
- };
901
- };
902
- captureUpdate: "IMMEDIATELY";
903
- } | {
904
- elements: import("@excalidraw/element/types").ExcalidrawElement[];
905
- appState: {
906
- activeTool: {
907
- lastActiveTool: import("../types").ActiveTool | null;
908
- locked: boolean;
909
- fromSelection: boolean;
910
- } & import("../types").ActiveTool;
911
- multiElement: null;
912
- activeEmbeddable: null;
913
- selectedLinearElement: null;
914
- editingGroupId: string | null;
915
- selectedElementIds: Readonly<{
916
- [id: string]: true;
917
- }>;
918
- selectedGroupIds: {
919
- [groupId: string]: boolean;
920
- };
921
- contextMenu: {
922
- items: import("../components/ContextMenu").ContextMenuItems;
923
- top: number;
924
- left: number;
925
- } | null;
926
- showWelcomeScreen: boolean;
927
- isLoading: boolean;
928
- errorMessage: import("react").ReactNode;
929
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
930
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
931
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
932
- isBindingEnabled: boolean;
933
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
934
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
935
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
936
- frameRendering: {
937
- enabled: boolean;
938
- name: boolean;
939
- outline: boolean;
940
- clip: boolean;
941
- };
942
- editingFrame: string | null;
943
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
944
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
945
- penMode: boolean;
946
- penDetected: boolean;
947
- exportBackground: boolean;
948
- exportEmbedScene: boolean;
949
- exportWithDarkMode: boolean;
950
- exportScale: number;
951
- currentItemStrokeColor: string;
952
- currentItemBackgroundColor: string;
953
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
954
- currentItemStrokeWidth: number;
955
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
956
- currentItemRoughness: number;
957
- currentItemOpacity: number;
958
- currentItemFontFamily: number;
959
- currentItemFontSize: number;
960
- currentItemTextAlign: string;
961
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
962
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
963
- currentHoveredFontFamily: number | null;
964
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
965
- currentItemArrowType: "round" | "sharp" | "elbow";
966
- viewBackgroundColor: string;
967
- scrollX: number;
968
- scrollY: number;
969
- cursorButton: "up" | "down";
970
- scrolledOutside: boolean;
971
- name: string | null;
972
- isResizing: boolean;
973
- isRotating: boolean;
974
- zoom: Readonly<{
975
- value: import("../types").NormalizedZoomValue;
976
- }>;
977
- openMenu: "canvas" | "shape" | null;
978
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
979
- openSidebar: {
980
- name: string;
981
- tab?: string | undefined;
982
- } | null;
983
- openDialog: {
984
- name: "help" | "imageExport" | "jsonExport";
985
- } | {
986
- name: "ttd";
987
- tab: "mermaid" | "text-to-diagram";
988
- } | {
989
- name: "commandPalette";
990
- } | {
991
- name: "elementLinkSelector";
992
- sourceElementId: string;
993
- } | null;
994
- defaultSidebarDockedPreference: boolean;
995
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
996
- hoveredElementIds: Readonly<{
997
- [id: string]: true;
998
- }>;
999
- previousSelectedElementIds: {
1000
- [id: string]: true;
1001
- };
1002
- selectedElementsAreBeingDragged: boolean;
1003
- shouldCacheIgnoreZoom: boolean;
1004
- toast: {
1005
- message: string;
1006
- closable?: boolean | undefined;
1007
- duration?: number | undefined;
1008
- } | null;
1009
- zenModeEnabled: boolean;
1010
- theme: import("@excalidraw/element/types").Theme;
1011
- gridSize: number;
1012
- gridStep: number;
1013
- gridModeEnabled: boolean;
1014
- viewModeEnabled: boolean;
1015
- width: number;
1016
- height: number;
1017
- offsetTop: number;
1018
- offsetLeft: number;
1019
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1020
- collaborators: Map<import("../types").SocketId, Readonly<{
1021
- pointer?: import("../types").CollaboratorPointer | undefined;
1022
- button?: "up" | "down" | undefined;
1023
- selectedElementIds?: Readonly<{
1024
- [id: string]: true;
1025
- }> | undefined;
1026
- username?: string | null | undefined;
1027
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1028
- color?: {
1029
- background: string;
1030
- stroke: string;
1031
- } | undefined;
1032
- avatarUrl?: string | undefined;
1033
- id?: string | undefined;
1034
- socketId?: import("../types").SocketId | undefined;
1035
- isCurrentUser?: boolean | undefined;
1036
- isInCall?: boolean | undefined;
1037
- isSpeaking?: boolean | undefined;
1038
- isMuted?: boolean | undefined;
1039
- }>>;
1040
- stats: {
1041
- open: boolean;
1042
- panels: number;
1043
- };
1044
- currentChartType: import("@excalidraw/element/types").ChartType;
1045
- pasteDialog: {
1046
- shown: false;
1047
- data: null;
1048
- } | {
1049
- shown: true;
1050
- data: import("../charts").Spreadsheet;
1051
- };
1052
- showHyperlinkPopup: false | "editor" | "info";
1053
- linkOpacity: number;
1054
- trayModeEnabled: boolean;
1055
- colorPalette?: {
1056
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1057
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1058
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1059
- topPicks: {
1060
- canvasBackground: [string, string, string, string, string];
1061
- elementStroke: [string, string, string, string, string];
1062
- elementBackground: [string, string, string, string, string];
1063
- };
1064
- } | undefined;
1065
- allowWheelZoom?: boolean | undefined;
1066
- allowPinchZoom?: boolean | undefined;
1067
- pinnedScripts?: string[] | undefined;
1068
- customPens?: any[] | undefined;
1069
- currentStrokeOptions?: any;
1070
- resetCustomPen?: any;
1071
- gridColor: {
1072
- Bold: string;
1073
- Regular: string;
1074
- };
1075
- gridDirection: {
1076
- horizontal: boolean;
1077
- vertical: boolean;
1078
- };
1079
- highlightSearchResult: boolean;
1080
- dynamicStyle: {
1081
- [x: string]: string;
1082
- };
1083
- frameColor: {
1084
- stroke: string;
1085
- fill: string;
1086
- nameColor: string;
1087
- };
1088
- invertBindingBehaviour: boolean;
1089
- snapLines: readonly import("../snapping").SnapLine[];
1090
- originSnapOffset: {
1091
- x: number;
1092
- y: number;
1093
- } | null;
1094
- objectsSnapModeEnabled: boolean;
1095
- userToFollow: import("../types").UserToFollow | null;
1096
- followedBy: Set<import("../types").SocketId>;
1097
- isCropping: boolean;
1098
- croppingElementId: string | null;
1099
- searchMatches: Readonly<{
1100
- focusedId: string | null;
1101
- matches: readonly import("../types").SearchMatch[];
1102
- }> | null;
1103
- activeLockedId: string | null;
1104
- lockedMultiSelections: {
1105
- [groupId: string]: true;
1106
- };
1107
- };
1108
- captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1109
- };
1110
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1111
- } & {
1112
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1113
- };
1114
- export declare const actionCopyAsSvg: {
1115
- name: "copyAsSvg";
1116
- label: string;
1117
- icon: import("react/jsx-runtime").JSX.Element;
1118
- trackEvent: {
1119
- category: "element";
1120
- };
1121
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: any, app: import("../types").AppClassProperties) => Promise<{
1122
- captureUpdate: "EVENTUALLY";
1123
- appState?: undefined;
1124
- } | {
1125
- appState: {
1126
- toast: {
1127
- message: string;
1128
- };
1129
- errorMessage?: undefined;
1130
- };
1131
- captureUpdate: "EVENTUALLY";
1132
- } | {
1133
- appState: {
1134
- errorMessage: any;
1135
- toast?: undefined;
1136
- };
1137
- captureUpdate: "EVENTUALLY";
1138
- }>;
1139
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
1140
- keywords: string[];
1141
- } & {
1142
- keyTest?: undefined;
1143
- };
1144
- export declare const actionCopyAsPng: {
1145
- name: "copyAsPng";
1146
- label: string;
1147
- icon: import("react/jsx-runtime").JSX.Element;
1148
- trackEvent: {
1149
- category: "element";
1150
- };
1151
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: any, app: import("../types").AppClassProperties) => Promise<{
1152
- captureUpdate: "EVENTUALLY";
1153
- appState?: undefined;
1154
- } | {
1155
- appState: {
1156
- errorMessage: any;
1157
- contextMenu: {
1158
- items: import("../components/ContextMenu").ContextMenuItems;
1159
- top: number;
1160
- left: number;
1161
- } | null;
1162
- showWelcomeScreen: boolean;
1163
- isLoading: boolean;
1164
- activeEmbeddable: {
1165
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1166
- state: "active" | "hover";
1167
- } | null;
1168
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1169
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1170
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1171
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1172
- isBindingEnabled: boolean;
1173
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1174
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1175
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1176
- frameRendering: {
1177
- enabled: boolean;
1178
- name: boolean;
1179
- outline: boolean;
1180
- clip: boolean;
1181
- };
1182
- editingFrame: string | null;
1183
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1184
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1185
- activeTool: {
1186
- lastActiveTool: import("../types").ActiveTool | null;
1187
- locked: boolean;
1188
- fromSelection: boolean;
1189
- } & import("../types").ActiveTool;
1190
- penMode: boolean;
1191
- penDetected: boolean;
1192
- exportBackground: boolean;
1193
- exportEmbedScene: boolean;
1194
- exportWithDarkMode: boolean;
1195
- exportScale: number;
1196
- currentItemStrokeColor: string;
1197
- currentItemBackgroundColor: string;
1198
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1199
- currentItemStrokeWidth: number;
1200
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1201
- currentItemRoughness: number;
1202
- currentItemOpacity: number;
1203
- currentItemFontFamily: number;
1204
- currentItemFontSize: number;
1205
- currentItemTextAlign: string;
1206
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1207
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1208
- currentHoveredFontFamily: number | null;
1209
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1210
- currentItemArrowType: "round" | "sharp" | "elbow";
1211
- viewBackgroundColor: string;
1212
- scrollX: number;
1213
- scrollY: number;
1214
- cursorButton: "up" | "down";
1215
- scrolledOutside: boolean;
1216
- name: string | null;
1217
- isResizing: boolean;
1218
- isRotating: boolean;
1219
- zoom: Readonly<{
1220
- value: import("../types").NormalizedZoomValue;
1221
- }>;
1222
- openMenu: "canvas" | "shape" | null;
1223
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1224
- openSidebar: {
1225
- name: string;
1226
- tab?: string | undefined;
1227
- } | null;
1228
- openDialog: {
1229
- name: "help" | "imageExport" | "jsonExport";
1230
- } | {
1231
- name: "ttd";
1232
- tab: "mermaid" | "text-to-diagram";
1233
- } | {
1234
- name: "commandPalette";
1235
- } | {
1236
- name: "elementLinkSelector";
1237
- sourceElementId: string;
1238
- } | null;
1239
- defaultSidebarDockedPreference: boolean;
1240
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1241
- selectedElementIds: Readonly<{
1242
- [id: string]: true;
1243
- }>;
1244
- hoveredElementIds: Readonly<{
1245
- [id: string]: true;
1246
- }>;
1247
- previousSelectedElementIds: {
1248
- [id: string]: true;
1249
- };
1250
- selectedElementsAreBeingDragged: boolean;
1251
- shouldCacheIgnoreZoom: boolean;
1252
- toast: {
1253
- message: string;
1254
- closable?: boolean | undefined;
1255
- duration?: number | undefined;
1256
- } | null;
1257
- zenModeEnabled: boolean;
1258
- theme: import("@excalidraw/element/types").Theme;
1259
- gridSize: number;
1260
- gridStep: number;
1261
- gridModeEnabled: boolean;
1262
- viewModeEnabled: boolean;
1263
- selectedGroupIds: {
1264
- [groupId: string]: boolean;
1265
- };
1266
- editingGroupId: string | null;
1267
- width: number;
1268
- height: number;
1269
- offsetTop: number;
1270
- offsetLeft: number;
1271
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1272
- collaborators: Map<import("../types").SocketId, Readonly<{
1273
- pointer?: import("../types").CollaboratorPointer | undefined;
1274
- button?: "up" | "down" | undefined;
1275
- selectedElementIds?: Readonly<{
1276
- [id: string]: true;
1277
- }> | undefined;
1278
- username?: string | null | undefined;
1279
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1280
- color?: {
1281
- background: string;
1282
- stroke: string;
1283
- } | undefined;
1284
- avatarUrl?: string | undefined;
1285
- id?: string | undefined;
1286
- socketId?: import("../types").SocketId | undefined;
1287
- isCurrentUser?: boolean | undefined;
1288
- isInCall?: boolean | undefined;
1289
- isSpeaking?: boolean | undefined;
1290
- isMuted?: boolean | undefined;
1291
- }>>;
1292
- stats: {
1293
- open: boolean;
1294
- panels: number;
1295
- };
1296
- currentChartType: import("@excalidraw/element/types").ChartType;
1297
- pasteDialog: {
1298
- shown: false;
1299
- data: null;
1300
- } | {
1301
- shown: true;
1302
- data: import("../charts").Spreadsheet;
1303
- };
1304
- showHyperlinkPopup: false | "editor" | "info";
1305
- linkOpacity: number;
1306
- trayModeEnabled: boolean;
1307
- colorPalette?: {
1308
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1309
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1310
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1311
- topPicks: {
1312
- canvasBackground: [string, string, string, string, string];
1313
- elementStroke: [string, string, string, string, string];
1314
- elementBackground: [string, string, string, string, string];
1315
- };
1316
- } | undefined;
1317
- allowWheelZoom?: boolean | undefined;
1318
- allowPinchZoom?: boolean | undefined;
1319
- pinnedScripts?: string[] | undefined;
1320
- customPens?: any[] | undefined;
1321
- currentStrokeOptions?: any;
1322
- resetCustomPen?: any;
1323
- gridColor: {
1324
- Bold: string;
1325
- Regular: string;
1326
- };
1327
- gridDirection: {
1328
- horizontal: boolean;
1329
- vertical: boolean;
1330
- };
1331
- highlightSearchResult: boolean;
1332
- dynamicStyle: {
1333
- [x: string]: string;
1334
- };
1335
- frameColor: {
1336
- stroke: string;
1337
- fill: string;
1338
- nameColor: string;
1339
- };
1340
- invertBindingBehaviour: boolean;
1341
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1342
- snapLines: readonly import("../snapping").SnapLine[];
1343
- originSnapOffset: {
1344
- x: number;
1345
- y: number;
1346
- } | null;
1347
- objectsSnapModeEnabled: boolean;
1348
- userToFollow: import("../types").UserToFollow | null;
1349
- followedBy: Set<import("../types").SocketId>;
1350
- isCropping: boolean;
1351
- croppingElementId: string | null;
1352
- searchMatches: Readonly<{
1353
- focusedId: string | null;
1354
- matches: readonly import("../types").SearchMatch[];
1355
- }> | null;
1356
- activeLockedId: string | null;
1357
- lockedMultiSelections: {
1358
- [groupId: string]: true;
1359
- };
1360
- };
1361
- captureUpdate: "EVENTUALLY";
1362
- }>;
1363
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
1364
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1365
- keywords: string[];
1366
- } & {
1367
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1368
- };
1369
- export declare const copyText: {
1370
- name: "copyText";
1371
- label: string;
1372
- trackEvent: {
1373
- category: "element";
1374
- };
1375
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
1376
- captureUpdate: "EVENTUALLY";
1377
- };
1378
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1379
- keywords: string[];
1380
- } & {
1381
- keyTest?: undefined;
1382
- };
1
+ export declare const actionCopy: {
2
+ name: "copy";
3
+ label: string;
4
+ icon: import("react/jsx-runtime").JSX.Element;
5
+ trackEvent: {
6
+ category: "element";
7
+ };
8
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => Promise<{
9
+ captureUpdate: "EVENTUALLY";
10
+ appState: {
11
+ errorMessage: any;
12
+ contextMenu: {
13
+ items: import("../components/ContextMenu").ContextMenuItems;
14
+ top: number;
15
+ left: number;
16
+ } | null;
17
+ showWelcomeScreen: boolean;
18
+ isLoading: boolean;
19
+ activeEmbeddable: {
20
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
+ state: "active" | "hover";
22
+ } | null;
23
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
26
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
+ isBindingEnabled: boolean;
28
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
+ frameRendering: {
32
+ enabled: boolean;
33
+ name: boolean;
34
+ outline: boolean;
35
+ clip: boolean;
36
+ markerName: boolean;
37
+ markerEnabled: boolean;
38
+ };
39
+ editingFrame: string | null;
40
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
42
+ activeTool: {
43
+ lastActiveTool: import("../types").ActiveTool | null;
44
+ locked: boolean;
45
+ fromSelection: boolean;
46
+ } & import("../types").ActiveTool;
47
+ penMode: boolean;
48
+ penDetected: boolean;
49
+ exportBackground: boolean;
50
+ exportEmbedScene: boolean;
51
+ exportWithDarkMode: boolean;
52
+ exportScale: number;
53
+ currentItemStrokeColor: string;
54
+ currentItemBackgroundColor: string;
55
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
56
+ currentItemStrokeWidth: number;
57
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
58
+ currentItemRoughness: number;
59
+ currentItemOpacity: number;
60
+ currentItemFontFamily: number;
61
+ currentItemFontSize: number;
62
+ currentItemTextAlign: string;
63
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
64
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
65
+ currentHoveredFontFamily: number | null;
66
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
67
+ currentItemArrowType: "round" | "sharp" | "elbow";
68
+ currentItemFrameRole: ("marker" | null) | undefined;
69
+ viewBackgroundColor: string;
70
+ scrollX: number;
71
+ scrollY: number;
72
+ cursorButton: "up" | "down";
73
+ scrolledOutside: boolean;
74
+ name: string | null;
75
+ isResizing: boolean;
76
+ isRotating: boolean;
77
+ zoom: Readonly<{
78
+ value: import("../types").NormalizedZoomValue;
79
+ }>;
80
+ openMenu: "canvas" | "shape" | null;
81
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
82
+ openSidebar: {
83
+ name: string;
84
+ tab?: string | undefined;
85
+ } | null;
86
+ openDialog: {
87
+ name: "help" | "imageExport" | "jsonExport";
88
+ } | {
89
+ name: "ttd";
90
+ tab: "mermaid" | "text-to-diagram";
91
+ } | {
92
+ name: "commandPalette";
93
+ } | {
94
+ name: "elementLinkSelector";
95
+ sourceElementId: string;
96
+ } | null;
97
+ defaultSidebarDockedPreference: boolean;
98
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
99
+ selectedElementIds: Readonly<{
100
+ [id: string]: true;
101
+ }>;
102
+ hoveredElementIds: Readonly<{
103
+ [id: string]: true;
104
+ }>;
105
+ previousSelectedElementIds: {
106
+ [id: string]: true;
107
+ };
108
+ selectedElementsAreBeingDragged: boolean;
109
+ shouldCacheIgnoreZoom: boolean;
110
+ toast: {
111
+ message: string;
112
+ closable?: boolean | undefined;
113
+ duration?: number | undefined;
114
+ } | null;
115
+ zenModeEnabled: boolean;
116
+ theme: import("@excalidraw/element/types").Theme;
117
+ gridSize: number;
118
+ gridStep: number;
119
+ gridModeEnabled: boolean;
120
+ viewModeEnabled: boolean;
121
+ selectedGroupIds: {
122
+ [groupId: string]: boolean;
123
+ };
124
+ editingGroupId: string | null;
125
+ width: number;
126
+ height: number;
127
+ offsetTop: number;
128
+ offsetLeft: number;
129
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
130
+ collaborators: Map<import("../types").SocketId, Readonly<{
131
+ pointer?: import("../types").CollaboratorPointer | undefined;
132
+ button?: "up" | "down" | undefined;
133
+ selectedElementIds?: Readonly<{
134
+ [id: string]: true;
135
+ }> | undefined;
136
+ username?: string | null | undefined;
137
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
138
+ color?: {
139
+ background: string;
140
+ stroke: string;
141
+ } | undefined;
142
+ avatarUrl?: string | undefined;
143
+ id?: string | undefined;
144
+ socketId?: import("../types").SocketId | undefined;
145
+ isCurrentUser?: boolean | undefined;
146
+ isInCall?: boolean | undefined;
147
+ isSpeaking?: boolean | undefined;
148
+ isMuted?: boolean | undefined;
149
+ }>>;
150
+ stats: {
151
+ open: boolean;
152
+ panels: number;
153
+ };
154
+ currentChartType: import("@excalidraw/element/types").ChartType;
155
+ pasteDialog: {
156
+ shown: false;
157
+ data: null;
158
+ } | {
159
+ shown: true;
160
+ data: import("../charts").Spreadsheet;
161
+ };
162
+ showHyperlinkPopup: false | "editor" | "info";
163
+ linkOpacity: number;
164
+ trayModeEnabled: boolean;
165
+ colorPalette?: {
166
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
167
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
168
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
169
+ topPicks: {
170
+ canvasBackground: [string, string, string, string, string];
171
+ elementStroke: [string, string, string, string, string];
172
+ elementBackground: [string, string, string, string, string];
173
+ };
174
+ } | undefined;
175
+ allowWheelZoom?: boolean | undefined;
176
+ allowPinchZoom?: boolean | undefined;
177
+ pinnedScripts?: string[] | undefined;
178
+ customPens?: any[] | undefined;
179
+ currentStrokeOptions?: any;
180
+ resetCustomPen?: any;
181
+ gridColor: {
182
+ Bold: string;
183
+ Regular: string;
184
+ };
185
+ gridDirection: {
186
+ horizontal: boolean;
187
+ vertical: boolean;
188
+ };
189
+ highlightSearchResult: boolean;
190
+ dynamicStyle: {
191
+ [x: string]: string;
192
+ };
193
+ frameColor: {
194
+ stroke: string;
195
+ fill: string;
196
+ nameColor: string;
197
+ };
198
+ invertBindingBehaviour: boolean;
199
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
200
+ snapLines: readonly import("../snapping").SnapLine[];
201
+ originSnapOffset: {
202
+ x: number;
203
+ y: number;
204
+ } | null;
205
+ objectsSnapModeEnabled: boolean;
206
+ userToFollow: import("../types").UserToFollow | null;
207
+ followedBy: Set<import("../types").SocketId>;
208
+ isCropping: boolean;
209
+ croppingElementId: string | null;
210
+ searchMatches: Readonly<{
211
+ focusedId: string | null;
212
+ matches: readonly import("../types").SearchMatch[];
213
+ }> | null;
214
+ activeLockedId: string | null;
215
+ lockedMultiSelections: {
216
+ [groupId: string]: true;
217
+ };
218
+ };
219
+ } | {
220
+ captureUpdate: "EVENTUALLY";
221
+ appState?: undefined;
222
+ }>;
223
+ keyTest: undefined;
224
+ } & {
225
+ keyTest?: undefined;
226
+ };
227
+ export declare const actionPaste: {
228
+ name: "paste";
229
+ label: string;
230
+ trackEvent: {
231
+ category: "element";
232
+ };
233
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: any, app: import("../types").AppClassProperties) => Promise<false | {
234
+ captureUpdate: "EVENTUALLY";
235
+ appState: {
236
+ errorMessage: string;
237
+ contextMenu: {
238
+ items: import("../components/ContextMenu").ContextMenuItems;
239
+ top: number;
240
+ left: number;
241
+ } | null;
242
+ showWelcomeScreen: boolean;
243
+ isLoading: boolean;
244
+ activeEmbeddable: {
245
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
246
+ state: "active" | "hover";
247
+ } | null;
248
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
249
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
250
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
251
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
252
+ isBindingEnabled: boolean;
253
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
254
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
255
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
256
+ frameRendering: {
257
+ enabled: boolean;
258
+ name: boolean;
259
+ outline: boolean;
260
+ clip: boolean;
261
+ markerName: boolean;
262
+ markerEnabled: boolean;
263
+ };
264
+ editingFrame: string | null;
265
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
266
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
267
+ activeTool: {
268
+ lastActiveTool: import("../types").ActiveTool | null;
269
+ locked: boolean;
270
+ fromSelection: boolean;
271
+ } & import("../types").ActiveTool;
272
+ penMode: boolean;
273
+ penDetected: boolean;
274
+ exportBackground: boolean;
275
+ exportEmbedScene: boolean;
276
+ exportWithDarkMode: boolean;
277
+ exportScale: number;
278
+ currentItemStrokeColor: string;
279
+ currentItemBackgroundColor: string;
280
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
281
+ currentItemStrokeWidth: number;
282
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
283
+ currentItemRoughness: number;
284
+ currentItemOpacity: number;
285
+ currentItemFontFamily: number;
286
+ currentItemFontSize: number;
287
+ currentItemTextAlign: string;
288
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
289
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
290
+ currentHoveredFontFamily: number | null;
291
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
292
+ currentItemArrowType: "round" | "sharp" | "elbow";
293
+ currentItemFrameRole: ("marker" | null) | undefined;
294
+ viewBackgroundColor: string;
295
+ scrollX: number;
296
+ scrollY: number;
297
+ cursorButton: "up" | "down";
298
+ scrolledOutside: boolean;
299
+ name: string | null;
300
+ isResizing: boolean;
301
+ isRotating: boolean;
302
+ zoom: Readonly<{
303
+ value: import("../types").NormalizedZoomValue;
304
+ }>;
305
+ openMenu: "canvas" | "shape" | null;
306
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
307
+ openSidebar: {
308
+ name: string;
309
+ tab?: string | undefined;
310
+ } | null;
311
+ openDialog: {
312
+ name: "help" | "imageExport" | "jsonExport";
313
+ } | {
314
+ name: "ttd";
315
+ tab: "mermaid" | "text-to-diagram";
316
+ } | {
317
+ name: "commandPalette";
318
+ } | {
319
+ name: "elementLinkSelector";
320
+ sourceElementId: string;
321
+ } | null;
322
+ defaultSidebarDockedPreference: boolean;
323
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
324
+ selectedElementIds: Readonly<{
325
+ [id: string]: true;
326
+ }>;
327
+ hoveredElementIds: Readonly<{
328
+ [id: string]: true;
329
+ }>;
330
+ previousSelectedElementIds: {
331
+ [id: string]: true;
332
+ };
333
+ selectedElementsAreBeingDragged: boolean;
334
+ shouldCacheIgnoreZoom: boolean;
335
+ toast: {
336
+ message: string;
337
+ closable?: boolean | undefined;
338
+ duration?: number | undefined;
339
+ } | null;
340
+ zenModeEnabled: boolean;
341
+ theme: import("@excalidraw/element/types").Theme;
342
+ gridSize: number;
343
+ gridStep: number;
344
+ gridModeEnabled: boolean;
345
+ viewModeEnabled: boolean;
346
+ selectedGroupIds: {
347
+ [groupId: string]: boolean;
348
+ };
349
+ editingGroupId: string | null;
350
+ width: number;
351
+ height: number;
352
+ offsetTop: number;
353
+ offsetLeft: number;
354
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
355
+ collaborators: Map<import("../types").SocketId, Readonly<{
356
+ pointer?: import("../types").CollaboratorPointer | undefined;
357
+ button?: "up" | "down" | undefined;
358
+ selectedElementIds?: Readonly<{
359
+ [id: string]: true;
360
+ }> | undefined;
361
+ username?: string | null | undefined;
362
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
363
+ color?: {
364
+ background: string;
365
+ stroke: string;
366
+ } | undefined;
367
+ avatarUrl?: string | undefined;
368
+ id?: string | undefined;
369
+ socketId?: import("../types").SocketId | undefined;
370
+ isCurrentUser?: boolean | undefined;
371
+ isInCall?: boolean | undefined;
372
+ isSpeaking?: boolean | undefined;
373
+ isMuted?: boolean | undefined;
374
+ }>>;
375
+ stats: {
376
+ open: boolean;
377
+ panels: number;
378
+ };
379
+ currentChartType: import("@excalidraw/element/types").ChartType;
380
+ pasteDialog: {
381
+ shown: false;
382
+ data: null;
383
+ } | {
384
+ shown: true;
385
+ data: import("../charts").Spreadsheet;
386
+ };
387
+ showHyperlinkPopup: false | "editor" | "info";
388
+ linkOpacity: number;
389
+ trayModeEnabled: boolean;
390
+ colorPalette?: {
391
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
392
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
393
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
394
+ topPicks: {
395
+ canvasBackground: [string, string, string, string, string];
396
+ elementStroke: [string, string, string, string, string];
397
+ elementBackground: [string, string, string, string, string];
398
+ };
399
+ } | undefined;
400
+ allowWheelZoom?: boolean | undefined;
401
+ allowPinchZoom?: boolean | undefined;
402
+ pinnedScripts?: string[] | undefined;
403
+ customPens?: any[] | undefined;
404
+ currentStrokeOptions?: any;
405
+ resetCustomPen?: any;
406
+ gridColor: {
407
+ Bold: string;
408
+ Regular: string;
409
+ };
410
+ gridDirection: {
411
+ horizontal: boolean;
412
+ vertical: boolean;
413
+ };
414
+ highlightSearchResult: boolean;
415
+ dynamicStyle: {
416
+ [x: string]: string;
417
+ };
418
+ frameColor: {
419
+ stroke: string;
420
+ fill: string;
421
+ nameColor: string;
422
+ };
423
+ invertBindingBehaviour: boolean;
424
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
425
+ snapLines: readonly import("../snapping").SnapLine[];
426
+ originSnapOffset: {
427
+ x: number;
428
+ y: number;
429
+ } | null;
430
+ objectsSnapModeEnabled: boolean;
431
+ userToFollow: import("../types").UserToFollow | null;
432
+ followedBy: Set<import("../types").SocketId>;
433
+ isCropping: boolean;
434
+ croppingElementId: string | null;
435
+ searchMatches: Readonly<{
436
+ focusedId: string | null;
437
+ matches: readonly import("../types").SearchMatch[];
438
+ }> | null;
439
+ activeLockedId: string | null;
440
+ lockedMultiSelections: {
441
+ [groupId: string]: true;
442
+ };
443
+ };
444
+ } | {
445
+ captureUpdate: "EVENTUALLY";
446
+ appState?: undefined;
447
+ }>;
448
+ keyTest: undefined;
449
+ } & {
450
+ keyTest?: undefined;
451
+ };
452
+ export declare const actionCut: {
453
+ name: "cut";
454
+ label: string;
455
+ icon: import("react/jsx-runtime").JSX.Element;
456
+ trackEvent: {
457
+ category: "element";
458
+ };
459
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => false | {
460
+ elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
461
+ appState: {
462
+ selectedLinearElement: null;
463
+ contextMenu: {
464
+ items: import("../components/ContextMenu").ContextMenuItems;
465
+ top: number;
466
+ left: number;
467
+ } | null;
468
+ showWelcomeScreen: boolean;
469
+ isLoading: boolean;
470
+ errorMessage: import("react").ReactNode;
471
+ activeEmbeddable: {
472
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
473
+ state: "active" | "hover";
474
+ } | null;
475
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
476
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
477
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
478
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
479
+ isBindingEnabled: boolean;
480
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
481
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
482
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
483
+ frameRendering: {
484
+ enabled: boolean;
485
+ name: boolean;
486
+ outline: boolean;
487
+ clip: boolean;
488
+ markerName: boolean;
489
+ markerEnabled: boolean;
490
+ };
491
+ editingFrame: string | null;
492
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
493
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
494
+ activeTool: {
495
+ lastActiveTool: import("../types").ActiveTool | null;
496
+ locked: boolean;
497
+ fromSelection: boolean;
498
+ } & import("../types").ActiveTool;
499
+ penMode: boolean;
500
+ penDetected: boolean;
501
+ exportBackground: boolean;
502
+ exportEmbedScene: boolean;
503
+ exportWithDarkMode: boolean;
504
+ exportScale: number;
505
+ currentItemStrokeColor: string;
506
+ currentItemBackgroundColor: string;
507
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
508
+ currentItemStrokeWidth: number;
509
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
510
+ currentItemRoughness: number;
511
+ currentItemOpacity: number;
512
+ currentItemFontFamily: number;
513
+ currentItemFontSize: number;
514
+ currentItemTextAlign: string;
515
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
516
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
517
+ currentHoveredFontFamily: number | null;
518
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
519
+ currentItemArrowType: "round" | "sharp" | "elbow";
520
+ currentItemFrameRole: ("marker" | null) | undefined;
521
+ viewBackgroundColor: string;
522
+ scrollX: number;
523
+ scrollY: number;
524
+ cursorButton: "up" | "down";
525
+ scrolledOutside: boolean;
526
+ name: string | null;
527
+ isResizing: boolean;
528
+ isRotating: boolean;
529
+ zoom: Readonly<{
530
+ value: import("../types").NormalizedZoomValue;
531
+ }>;
532
+ openMenu: "canvas" | "shape" | null;
533
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
534
+ openSidebar: {
535
+ name: string;
536
+ tab?: string | undefined;
537
+ } | null;
538
+ openDialog: {
539
+ name: "help" | "imageExport" | "jsonExport";
540
+ } | {
541
+ name: "ttd";
542
+ tab: "mermaid" | "text-to-diagram";
543
+ } | {
544
+ name: "commandPalette";
545
+ } | {
546
+ name: "elementLinkSelector";
547
+ sourceElementId: string;
548
+ } | null;
549
+ defaultSidebarDockedPreference: boolean;
550
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
551
+ selectedElementIds: Readonly<{
552
+ [id: string]: true;
553
+ }>;
554
+ hoveredElementIds: Readonly<{
555
+ [id: string]: true;
556
+ }>;
557
+ previousSelectedElementIds: {
558
+ [id: string]: true;
559
+ };
560
+ selectedElementsAreBeingDragged: boolean;
561
+ shouldCacheIgnoreZoom: boolean;
562
+ toast: {
563
+ message: string;
564
+ closable?: boolean | undefined;
565
+ duration?: number | undefined;
566
+ } | null;
567
+ zenModeEnabled: boolean;
568
+ theme: import("@excalidraw/element/types").Theme;
569
+ gridSize: number;
570
+ gridStep: number;
571
+ gridModeEnabled: boolean;
572
+ viewModeEnabled: boolean;
573
+ selectedGroupIds: {
574
+ [groupId: string]: boolean;
575
+ };
576
+ editingGroupId: string | null;
577
+ width: number;
578
+ height: number;
579
+ offsetTop: number;
580
+ offsetLeft: number;
581
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
582
+ collaborators: Map<import("../types").SocketId, Readonly<{
583
+ pointer?: import("../types").CollaboratorPointer | undefined;
584
+ button?: "up" | "down" | undefined;
585
+ selectedElementIds?: Readonly<{
586
+ [id: string]: true;
587
+ }> | undefined;
588
+ username?: string | null | undefined;
589
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
590
+ color?: {
591
+ background: string;
592
+ stroke: string;
593
+ } | undefined;
594
+ avatarUrl?: string | undefined;
595
+ id?: string | undefined;
596
+ socketId?: import("../types").SocketId | undefined;
597
+ isCurrentUser?: boolean | undefined;
598
+ isInCall?: boolean | undefined;
599
+ isSpeaking?: boolean | undefined;
600
+ isMuted?: boolean | undefined;
601
+ }>>;
602
+ stats: {
603
+ open: boolean;
604
+ panels: number;
605
+ };
606
+ currentChartType: import("@excalidraw/element/types").ChartType;
607
+ pasteDialog: {
608
+ shown: false;
609
+ data: null;
610
+ } | {
611
+ shown: true;
612
+ data: import("../charts").Spreadsheet;
613
+ };
614
+ showHyperlinkPopup: false | "editor" | "info";
615
+ linkOpacity: number;
616
+ trayModeEnabled: boolean;
617
+ colorPalette?: {
618
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
619
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
620
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
621
+ topPicks: {
622
+ canvasBackground: [string, string, string, string, string];
623
+ elementStroke: [string, string, string, string, string];
624
+ elementBackground: [string, string, string, string, string];
625
+ };
626
+ } | undefined;
627
+ allowWheelZoom?: boolean | undefined;
628
+ allowPinchZoom?: boolean | undefined;
629
+ pinnedScripts?: string[] | undefined;
630
+ customPens?: any[] | undefined;
631
+ currentStrokeOptions?: any;
632
+ resetCustomPen?: any;
633
+ gridColor: {
634
+ Bold: string;
635
+ Regular: string;
636
+ };
637
+ gridDirection: {
638
+ horizontal: boolean;
639
+ vertical: boolean;
640
+ };
641
+ highlightSearchResult: boolean;
642
+ dynamicStyle: {
643
+ [x: string]: string;
644
+ };
645
+ frameColor: {
646
+ stroke: string;
647
+ fill: string;
648
+ nameColor: string;
649
+ };
650
+ invertBindingBehaviour: boolean;
651
+ snapLines: readonly import("../snapping").SnapLine[];
652
+ originSnapOffset: {
653
+ x: number;
654
+ y: number;
655
+ } | null;
656
+ objectsSnapModeEnabled: boolean;
657
+ userToFollow: import("../types").UserToFollow | null;
658
+ followedBy: Set<import("../types").SocketId>;
659
+ isCropping: boolean;
660
+ croppingElementId: string | null;
661
+ searchMatches: Readonly<{
662
+ focusedId: string | null;
663
+ matches: readonly import("../types").SearchMatch[];
664
+ }> | null;
665
+ activeLockedId: string | null;
666
+ lockedMultiSelections: {
667
+ [groupId: string]: true;
668
+ };
669
+ };
670
+ captureUpdate: "IMMEDIATELY";
671
+ } | {
672
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
673
+ appState: {
674
+ selectedLinearElement: {
675
+ selectedPointsIndices: number[];
676
+ startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
677
+ endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
678
+ elementId: string & {
679
+ _brand: "excalidrawLinearElementId";
680
+ };
681
+ pointerDownState: Readonly<{
682
+ prevSelectedPointsIndices: readonly number[] | null;
683
+ lastClickedPoint: number;
684
+ lastClickedIsEndPoint: boolean;
685
+ origin: Readonly<{
686
+ x: number;
687
+ y: number;
688
+ }> | null;
689
+ segmentMidpoint: {
690
+ value: import("@excalidraw/math").GlobalPoint | null;
691
+ index: number | null;
692
+ added: boolean;
693
+ };
694
+ }>;
695
+ isDragging: boolean;
696
+ lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
697
+ pointerOffset: Readonly<{
698
+ x: number;
699
+ y: number;
700
+ }>;
701
+ hoverPointIndex: number;
702
+ segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
703
+ elbowed: boolean;
704
+ customLineAngle: number | null;
705
+ isEditing: boolean;
706
+ };
707
+ contextMenu: {
708
+ items: import("../components/ContextMenu").ContextMenuItems;
709
+ top: number;
710
+ left: number;
711
+ } | null;
712
+ showWelcomeScreen: boolean;
713
+ isLoading: boolean;
714
+ errorMessage: import("react").ReactNode;
715
+ activeEmbeddable: {
716
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
717
+ state: "active" | "hover";
718
+ } | null;
719
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
720
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
721
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
722
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
723
+ isBindingEnabled: boolean;
724
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
725
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
726
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
727
+ frameRendering: {
728
+ enabled: boolean;
729
+ name: boolean;
730
+ outline: boolean;
731
+ clip: boolean;
732
+ markerName: boolean;
733
+ markerEnabled: boolean;
734
+ };
735
+ editingFrame: string | null;
736
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
737
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
738
+ activeTool: {
739
+ lastActiveTool: import("../types").ActiveTool | null;
740
+ locked: boolean;
741
+ fromSelection: boolean;
742
+ } & import("../types").ActiveTool;
743
+ penMode: boolean;
744
+ penDetected: boolean;
745
+ exportBackground: boolean;
746
+ exportEmbedScene: boolean;
747
+ exportWithDarkMode: boolean;
748
+ exportScale: number;
749
+ currentItemStrokeColor: string;
750
+ currentItemBackgroundColor: string;
751
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
752
+ currentItemStrokeWidth: number;
753
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
754
+ currentItemRoughness: number;
755
+ currentItemOpacity: number;
756
+ currentItemFontFamily: number;
757
+ currentItemFontSize: number;
758
+ currentItemTextAlign: string;
759
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
760
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
761
+ currentHoveredFontFamily: number | null;
762
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
763
+ currentItemArrowType: "round" | "sharp" | "elbow";
764
+ currentItemFrameRole: ("marker" | null) | undefined;
765
+ viewBackgroundColor: string;
766
+ scrollX: number;
767
+ scrollY: number;
768
+ cursorButton: "up" | "down";
769
+ scrolledOutside: boolean;
770
+ name: string | null;
771
+ isResizing: boolean;
772
+ isRotating: boolean;
773
+ zoom: Readonly<{
774
+ value: import("../types").NormalizedZoomValue;
775
+ }>;
776
+ openMenu: "canvas" | "shape" | null;
777
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
778
+ openSidebar: {
779
+ name: string;
780
+ tab?: string | undefined;
781
+ } | null;
782
+ openDialog: {
783
+ name: "help" | "imageExport" | "jsonExport";
784
+ } | {
785
+ name: "ttd";
786
+ tab: "mermaid" | "text-to-diagram";
787
+ } | {
788
+ name: "commandPalette";
789
+ } | {
790
+ name: "elementLinkSelector";
791
+ sourceElementId: string;
792
+ } | null;
793
+ defaultSidebarDockedPreference: boolean;
794
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
795
+ selectedElementIds: Readonly<{
796
+ [id: string]: true;
797
+ }>;
798
+ hoveredElementIds: Readonly<{
799
+ [id: string]: true;
800
+ }>;
801
+ previousSelectedElementIds: {
802
+ [id: string]: true;
803
+ };
804
+ selectedElementsAreBeingDragged: boolean;
805
+ shouldCacheIgnoreZoom: boolean;
806
+ toast: {
807
+ message: string;
808
+ closable?: boolean | undefined;
809
+ duration?: number | undefined;
810
+ } | null;
811
+ zenModeEnabled: boolean;
812
+ theme: import("@excalidraw/element/types").Theme;
813
+ gridSize: number;
814
+ gridStep: number;
815
+ gridModeEnabled: boolean;
816
+ viewModeEnabled: boolean;
817
+ selectedGroupIds: {
818
+ [groupId: string]: boolean;
819
+ };
820
+ editingGroupId: string | null;
821
+ width: number;
822
+ height: number;
823
+ offsetTop: number;
824
+ offsetLeft: number;
825
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
826
+ collaborators: Map<import("../types").SocketId, Readonly<{
827
+ pointer?: import("../types").CollaboratorPointer | undefined;
828
+ button?: "up" | "down" | undefined;
829
+ selectedElementIds?: Readonly<{
830
+ [id: string]: true;
831
+ }> | undefined;
832
+ username?: string | null | undefined;
833
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
834
+ color?: {
835
+ background: string;
836
+ stroke: string;
837
+ } | undefined;
838
+ avatarUrl?: string | undefined;
839
+ id?: string | undefined;
840
+ socketId?: import("../types").SocketId | undefined;
841
+ isCurrentUser?: boolean | undefined;
842
+ isInCall?: boolean | undefined;
843
+ isSpeaking?: boolean | undefined;
844
+ isMuted?: boolean | undefined;
845
+ }>>;
846
+ stats: {
847
+ open: boolean;
848
+ panels: number;
849
+ };
850
+ currentChartType: import("@excalidraw/element/types").ChartType;
851
+ pasteDialog: {
852
+ shown: false;
853
+ data: null;
854
+ } | {
855
+ shown: true;
856
+ data: import("../charts").Spreadsheet;
857
+ };
858
+ showHyperlinkPopup: false | "editor" | "info";
859
+ linkOpacity: number;
860
+ trayModeEnabled: boolean;
861
+ colorPalette?: {
862
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
863
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
864
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
865
+ topPicks: {
866
+ canvasBackground: [string, string, string, string, string];
867
+ elementStroke: [string, string, string, string, string];
868
+ elementBackground: [string, string, string, string, string];
869
+ };
870
+ } | undefined;
871
+ allowWheelZoom?: boolean | undefined;
872
+ allowPinchZoom?: boolean | undefined;
873
+ pinnedScripts?: string[] | undefined;
874
+ customPens?: any[] | undefined;
875
+ currentStrokeOptions?: any;
876
+ resetCustomPen?: any;
877
+ gridColor: {
878
+ Bold: string;
879
+ Regular: string;
880
+ };
881
+ gridDirection: {
882
+ horizontal: boolean;
883
+ vertical: boolean;
884
+ };
885
+ highlightSearchResult: boolean;
886
+ dynamicStyle: {
887
+ [x: string]: string;
888
+ };
889
+ frameColor: {
890
+ stroke: string;
891
+ fill: string;
892
+ nameColor: string;
893
+ };
894
+ invertBindingBehaviour: boolean;
895
+ snapLines: readonly import("../snapping").SnapLine[];
896
+ originSnapOffset: {
897
+ x: number;
898
+ y: number;
899
+ } | null;
900
+ objectsSnapModeEnabled: boolean;
901
+ userToFollow: import("../types").UserToFollow | null;
902
+ followedBy: Set<import("../types").SocketId>;
903
+ isCropping: boolean;
904
+ croppingElementId: string | null;
905
+ searchMatches: Readonly<{
906
+ focusedId: string | null;
907
+ matches: readonly import("../types").SearchMatch[];
908
+ }> | null;
909
+ activeLockedId: string | null;
910
+ lockedMultiSelections: {
911
+ [groupId: string]: true;
912
+ };
913
+ };
914
+ captureUpdate: "IMMEDIATELY";
915
+ } | {
916
+ elements: import("@excalidraw/element/types").ExcalidrawElement[];
917
+ appState: {
918
+ activeTool: {
919
+ lastActiveTool: import("../types").ActiveTool | null;
920
+ locked: boolean;
921
+ fromSelection: boolean;
922
+ } & import("../types").ActiveTool;
923
+ multiElement: null;
924
+ activeEmbeddable: null;
925
+ selectedLinearElement: null;
926
+ editingGroupId: string | null;
927
+ selectedElementIds: Readonly<{
928
+ [id: string]: true;
929
+ }>;
930
+ selectedGroupIds: {
931
+ [groupId: string]: boolean;
932
+ };
933
+ contextMenu: {
934
+ items: import("../components/ContextMenu").ContextMenuItems;
935
+ top: number;
936
+ left: number;
937
+ } | null;
938
+ showWelcomeScreen: boolean;
939
+ isLoading: boolean;
940
+ errorMessage: import("react").ReactNode;
941
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
942
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
943
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
944
+ isBindingEnabled: boolean;
945
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
946
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
947
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
948
+ frameRendering: {
949
+ enabled: boolean;
950
+ name: boolean;
951
+ outline: boolean;
952
+ clip: boolean;
953
+ markerName: boolean;
954
+ markerEnabled: boolean;
955
+ };
956
+ editingFrame: string | null;
957
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
958
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
959
+ penMode: boolean;
960
+ penDetected: boolean;
961
+ exportBackground: boolean;
962
+ exportEmbedScene: boolean;
963
+ exportWithDarkMode: boolean;
964
+ exportScale: number;
965
+ currentItemStrokeColor: string;
966
+ currentItemBackgroundColor: string;
967
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
968
+ currentItemStrokeWidth: number;
969
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
970
+ currentItemRoughness: number;
971
+ currentItemOpacity: number;
972
+ currentItemFontFamily: number;
973
+ currentItemFontSize: number;
974
+ currentItemTextAlign: string;
975
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
976
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
977
+ currentHoveredFontFamily: number | null;
978
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
979
+ currentItemArrowType: "round" | "sharp" | "elbow";
980
+ currentItemFrameRole: ("marker" | null) | undefined;
981
+ viewBackgroundColor: string;
982
+ scrollX: number;
983
+ scrollY: number;
984
+ cursorButton: "up" | "down";
985
+ scrolledOutside: boolean;
986
+ name: string | null;
987
+ isResizing: boolean;
988
+ isRotating: boolean;
989
+ zoom: Readonly<{
990
+ value: import("../types").NormalizedZoomValue;
991
+ }>;
992
+ openMenu: "canvas" | "shape" | null;
993
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
994
+ openSidebar: {
995
+ name: string;
996
+ tab?: string | undefined;
997
+ } | null;
998
+ openDialog: {
999
+ name: "help" | "imageExport" | "jsonExport";
1000
+ } | {
1001
+ name: "ttd";
1002
+ tab: "mermaid" | "text-to-diagram";
1003
+ } | {
1004
+ name: "commandPalette";
1005
+ } | {
1006
+ name: "elementLinkSelector";
1007
+ sourceElementId: string;
1008
+ } | null;
1009
+ defaultSidebarDockedPreference: boolean;
1010
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1011
+ hoveredElementIds: Readonly<{
1012
+ [id: string]: true;
1013
+ }>;
1014
+ previousSelectedElementIds: {
1015
+ [id: string]: true;
1016
+ };
1017
+ selectedElementsAreBeingDragged: boolean;
1018
+ shouldCacheIgnoreZoom: boolean;
1019
+ toast: {
1020
+ message: string;
1021
+ closable?: boolean | undefined;
1022
+ duration?: number | undefined;
1023
+ } | null;
1024
+ zenModeEnabled: boolean;
1025
+ theme: import("@excalidraw/element/types").Theme;
1026
+ gridSize: number;
1027
+ gridStep: number;
1028
+ gridModeEnabled: boolean;
1029
+ viewModeEnabled: boolean;
1030
+ width: number;
1031
+ height: number;
1032
+ offsetTop: number;
1033
+ offsetLeft: number;
1034
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1035
+ collaborators: Map<import("../types").SocketId, Readonly<{
1036
+ pointer?: import("../types").CollaboratorPointer | undefined;
1037
+ button?: "up" | "down" | undefined;
1038
+ selectedElementIds?: Readonly<{
1039
+ [id: string]: true;
1040
+ }> | undefined;
1041
+ username?: string | null | undefined;
1042
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1043
+ color?: {
1044
+ background: string;
1045
+ stroke: string;
1046
+ } | undefined;
1047
+ avatarUrl?: string | undefined;
1048
+ id?: string | undefined;
1049
+ socketId?: import("../types").SocketId | undefined;
1050
+ isCurrentUser?: boolean | undefined;
1051
+ isInCall?: boolean | undefined;
1052
+ isSpeaking?: boolean | undefined;
1053
+ isMuted?: boolean | undefined;
1054
+ }>>;
1055
+ stats: {
1056
+ open: boolean;
1057
+ panels: number;
1058
+ };
1059
+ currentChartType: import("@excalidraw/element/types").ChartType;
1060
+ pasteDialog: {
1061
+ shown: false;
1062
+ data: null;
1063
+ } | {
1064
+ shown: true;
1065
+ data: import("../charts").Spreadsheet;
1066
+ };
1067
+ showHyperlinkPopup: false | "editor" | "info";
1068
+ linkOpacity: number;
1069
+ trayModeEnabled: boolean;
1070
+ colorPalette?: {
1071
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1072
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1073
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1074
+ topPicks: {
1075
+ canvasBackground: [string, string, string, string, string];
1076
+ elementStroke: [string, string, string, string, string];
1077
+ elementBackground: [string, string, string, string, string];
1078
+ };
1079
+ } | undefined;
1080
+ allowWheelZoom?: boolean | undefined;
1081
+ allowPinchZoom?: boolean | undefined;
1082
+ pinnedScripts?: string[] | undefined;
1083
+ customPens?: any[] | undefined;
1084
+ currentStrokeOptions?: any;
1085
+ resetCustomPen?: any;
1086
+ gridColor: {
1087
+ Bold: string;
1088
+ Regular: string;
1089
+ };
1090
+ gridDirection: {
1091
+ horizontal: boolean;
1092
+ vertical: boolean;
1093
+ };
1094
+ highlightSearchResult: boolean;
1095
+ dynamicStyle: {
1096
+ [x: string]: string;
1097
+ };
1098
+ frameColor: {
1099
+ stroke: string;
1100
+ fill: string;
1101
+ nameColor: string;
1102
+ };
1103
+ invertBindingBehaviour: boolean;
1104
+ snapLines: readonly import("../snapping").SnapLine[];
1105
+ originSnapOffset: {
1106
+ x: number;
1107
+ y: number;
1108
+ } | null;
1109
+ objectsSnapModeEnabled: boolean;
1110
+ userToFollow: import("../types").UserToFollow | null;
1111
+ followedBy: Set<import("../types").SocketId>;
1112
+ isCropping: boolean;
1113
+ croppingElementId: string | null;
1114
+ searchMatches: Readonly<{
1115
+ focusedId: string | null;
1116
+ matches: readonly import("../types").SearchMatch[];
1117
+ }> | null;
1118
+ activeLockedId: string | null;
1119
+ lockedMultiSelections: {
1120
+ [groupId: string]: true;
1121
+ };
1122
+ };
1123
+ captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1124
+ };
1125
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1126
+ } & {
1127
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1128
+ };
1129
+ export declare const actionCopyAsSvg: {
1130
+ name: "copyAsSvg";
1131
+ label: string;
1132
+ icon: import("react/jsx-runtime").JSX.Element;
1133
+ trackEvent: {
1134
+ category: "element";
1135
+ };
1136
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: any, app: import("../types").AppClassProperties) => Promise<{
1137
+ captureUpdate: "EVENTUALLY";
1138
+ appState?: undefined;
1139
+ } | {
1140
+ appState: {
1141
+ toast: {
1142
+ message: string;
1143
+ };
1144
+ errorMessage?: undefined;
1145
+ };
1146
+ captureUpdate: "EVENTUALLY";
1147
+ } | {
1148
+ appState: {
1149
+ errorMessage: any;
1150
+ toast?: undefined;
1151
+ };
1152
+ captureUpdate: "EVENTUALLY";
1153
+ }>;
1154
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
1155
+ keywords: string[];
1156
+ } & {
1157
+ keyTest?: undefined;
1158
+ };
1159
+ export declare const actionCopyAsPng: {
1160
+ name: "copyAsPng";
1161
+ label: string;
1162
+ icon: import("react/jsx-runtime").JSX.Element;
1163
+ trackEvent: {
1164
+ category: "element";
1165
+ };
1166
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: any, app: import("../types").AppClassProperties) => Promise<{
1167
+ captureUpdate: "EVENTUALLY";
1168
+ appState?: undefined;
1169
+ } | {
1170
+ appState: {
1171
+ errorMessage: any;
1172
+ contextMenu: {
1173
+ items: import("../components/ContextMenu").ContextMenuItems;
1174
+ top: number;
1175
+ left: number;
1176
+ } | null;
1177
+ showWelcomeScreen: boolean;
1178
+ isLoading: boolean;
1179
+ activeEmbeddable: {
1180
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1181
+ state: "active" | "hover";
1182
+ } | null;
1183
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1184
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1185
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1186
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1187
+ isBindingEnabled: boolean;
1188
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1189
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1190
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1191
+ frameRendering: {
1192
+ enabled: boolean;
1193
+ name: boolean;
1194
+ outline: boolean;
1195
+ clip: boolean;
1196
+ markerName: boolean;
1197
+ markerEnabled: boolean;
1198
+ };
1199
+ editingFrame: string | null;
1200
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1201
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1202
+ activeTool: {
1203
+ lastActiveTool: import("../types").ActiveTool | null;
1204
+ locked: boolean;
1205
+ fromSelection: boolean;
1206
+ } & import("../types").ActiveTool;
1207
+ penMode: boolean;
1208
+ penDetected: boolean;
1209
+ exportBackground: boolean;
1210
+ exportEmbedScene: boolean;
1211
+ exportWithDarkMode: boolean;
1212
+ exportScale: number;
1213
+ currentItemStrokeColor: string;
1214
+ currentItemBackgroundColor: string;
1215
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1216
+ currentItemStrokeWidth: number;
1217
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1218
+ currentItemRoughness: number;
1219
+ currentItemOpacity: number;
1220
+ currentItemFontFamily: number;
1221
+ currentItemFontSize: number;
1222
+ currentItemTextAlign: string;
1223
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1224
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1225
+ currentHoveredFontFamily: number | null;
1226
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1227
+ currentItemArrowType: "round" | "sharp" | "elbow";
1228
+ currentItemFrameRole: ("marker" | null) | undefined;
1229
+ viewBackgroundColor: string;
1230
+ scrollX: number;
1231
+ scrollY: number;
1232
+ cursorButton: "up" | "down";
1233
+ scrolledOutside: boolean;
1234
+ name: string | null;
1235
+ isResizing: boolean;
1236
+ isRotating: boolean;
1237
+ zoom: Readonly<{
1238
+ value: import("../types").NormalizedZoomValue;
1239
+ }>;
1240
+ openMenu: "canvas" | "shape" | null;
1241
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1242
+ openSidebar: {
1243
+ name: string;
1244
+ tab?: string | undefined;
1245
+ } | null;
1246
+ openDialog: {
1247
+ name: "help" | "imageExport" | "jsonExport";
1248
+ } | {
1249
+ name: "ttd";
1250
+ tab: "mermaid" | "text-to-diagram";
1251
+ } | {
1252
+ name: "commandPalette";
1253
+ } | {
1254
+ name: "elementLinkSelector";
1255
+ sourceElementId: string;
1256
+ } | null;
1257
+ defaultSidebarDockedPreference: boolean;
1258
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1259
+ selectedElementIds: Readonly<{
1260
+ [id: string]: true;
1261
+ }>;
1262
+ hoveredElementIds: Readonly<{
1263
+ [id: string]: true;
1264
+ }>;
1265
+ previousSelectedElementIds: {
1266
+ [id: string]: true;
1267
+ };
1268
+ selectedElementsAreBeingDragged: boolean;
1269
+ shouldCacheIgnoreZoom: boolean;
1270
+ toast: {
1271
+ message: string;
1272
+ closable?: boolean | undefined;
1273
+ duration?: number | undefined;
1274
+ } | null;
1275
+ zenModeEnabled: boolean;
1276
+ theme: import("@excalidraw/element/types").Theme;
1277
+ gridSize: number;
1278
+ gridStep: number;
1279
+ gridModeEnabled: boolean;
1280
+ viewModeEnabled: boolean;
1281
+ selectedGroupIds: {
1282
+ [groupId: string]: boolean;
1283
+ };
1284
+ editingGroupId: string | null;
1285
+ width: number;
1286
+ height: number;
1287
+ offsetTop: number;
1288
+ offsetLeft: number;
1289
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1290
+ collaborators: Map<import("../types").SocketId, Readonly<{
1291
+ pointer?: import("../types").CollaboratorPointer | undefined;
1292
+ button?: "up" | "down" | undefined;
1293
+ selectedElementIds?: Readonly<{
1294
+ [id: string]: true;
1295
+ }> | undefined;
1296
+ username?: string | null | undefined;
1297
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1298
+ color?: {
1299
+ background: string;
1300
+ stroke: string;
1301
+ } | undefined;
1302
+ avatarUrl?: string | undefined;
1303
+ id?: string | undefined;
1304
+ socketId?: import("../types").SocketId | undefined;
1305
+ isCurrentUser?: boolean | undefined;
1306
+ isInCall?: boolean | undefined;
1307
+ isSpeaking?: boolean | undefined;
1308
+ isMuted?: boolean | undefined;
1309
+ }>>;
1310
+ stats: {
1311
+ open: boolean;
1312
+ panels: number;
1313
+ };
1314
+ currentChartType: import("@excalidraw/element/types").ChartType;
1315
+ pasteDialog: {
1316
+ shown: false;
1317
+ data: null;
1318
+ } | {
1319
+ shown: true;
1320
+ data: import("../charts").Spreadsheet;
1321
+ };
1322
+ showHyperlinkPopup: false | "editor" | "info";
1323
+ linkOpacity: number;
1324
+ trayModeEnabled: boolean;
1325
+ colorPalette?: {
1326
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1327
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1328
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1329
+ topPicks: {
1330
+ canvasBackground: [string, string, string, string, string];
1331
+ elementStroke: [string, string, string, string, string];
1332
+ elementBackground: [string, string, string, string, string];
1333
+ };
1334
+ } | undefined;
1335
+ allowWheelZoom?: boolean | undefined;
1336
+ allowPinchZoom?: boolean | undefined;
1337
+ pinnedScripts?: string[] | undefined;
1338
+ customPens?: any[] | undefined;
1339
+ currentStrokeOptions?: any;
1340
+ resetCustomPen?: any;
1341
+ gridColor: {
1342
+ Bold: string;
1343
+ Regular: string;
1344
+ };
1345
+ gridDirection: {
1346
+ horizontal: boolean;
1347
+ vertical: boolean;
1348
+ };
1349
+ highlightSearchResult: boolean;
1350
+ dynamicStyle: {
1351
+ [x: string]: string;
1352
+ };
1353
+ frameColor: {
1354
+ stroke: string;
1355
+ fill: string;
1356
+ nameColor: string;
1357
+ };
1358
+ invertBindingBehaviour: boolean;
1359
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1360
+ snapLines: readonly import("../snapping").SnapLine[];
1361
+ originSnapOffset: {
1362
+ x: number;
1363
+ y: number;
1364
+ } | null;
1365
+ objectsSnapModeEnabled: boolean;
1366
+ userToFollow: import("../types").UserToFollow | null;
1367
+ followedBy: Set<import("../types").SocketId>;
1368
+ isCropping: boolean;
1369
+ croppingElementId: string | null;
1370
+ searchMatches: Readonly<{
1371
+ focusedId: string | null;
1372
+ matches: readonly import("../types").SearchMatch[];
1373
+ }> | null;
1374
+ activeLockedId: string | null;
1375
+ lockedMultiSelections: {
1376
+ [groupId: string]: true;
1377
+ };
1378
+ };
1379
+ captureUpdate: "EVENTUALLY";
1380
+ }>;
1381
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
1382
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1383
+ keywords: string[];
1384
+ } & {
1385
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1386
+ };
1387
+ export declare const copyText: {
1388
+ name: "copyText";
1389
+ label: string;
1390
+ trackEvent: {
1391
+ category: "element";
1392
+ };
1393
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
1394
+ captureUpdate: "EVENTUALLY";
1395
+ };
1396
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1397
+ keywords: string[];
1398
+ } & {
1399
+ keyTest?: undefined;
1400
+ };