@excalidraw/math 0.18.0-5fffc47 → 0.18.0-6135548

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