@nous-excalidraw/math 0.18.0-cy.1 → 0.18.1

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 (177) hide show
  1. package/README.md +4 -4
  2. package/dist/dev/index.js +1 -1
  3. package/dist/dev/index.js.map +1 -1
  4. package/dist/prod/index.js +1 -1
  5. package/dist/types/common/src/appEventBus.d.ts +1 -1
  6. package/dist/types/common/src/constants.d.ts +2 -4
  7. package/dist/types/common/src/emitter.d.ts +1 -1
  8. package/dist/types/common/src/font-metadata.d.ts +1 -1
  9. package/dist/types/common/src/points.d.ts +2 -2
  10. package/dist/types/common/src/utils.d.ts +3 -3
  11. package/dist/types/element/src/Scene.d.ts +4 -4
  12. package/dist/types/element/src/align.d.ts +1 -1
  13. package/dist/types/element/src/arrows/focus.d.ts +2 -2
  14. package/dist/types/element/src/arrows/helpers.d.ts +1 -1
  15. package/dist/types/element/src/binding.d.ts +4 -4
  16. package/dist/types/element/src/bounds.d.ts +3 -3
  17. package/dist/types/element/src/collision.d.ts +2 -2
  18. package/dist/types/element/src/comparisons.d.ts +1 -1
  19. package/dist/types/element/src/delta.d.ts +3 -3
  20. package/dist/types/element/src/distance.d.ts +1 -1
  21. package/dist/types/element/src/distribute.d.ts +1 -1
  22. package/dist/types/element/src/dragElements.d.ts +2 -2
  23. package/dist/types/element/src/duplicate.d.ts +2 -2
  24. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  25. package/dist/types/element/src/elementLink.d.ts +1 -1
  26. package/dist/types/element/src/embeddable.d.ts +2 -2
  27. package/dist/types/element/src/flowchart.d.ts +1 -1
  28. package/dist/types/element/src/frame.d.ts +2 -2
  29. package/dist/types/element/src/groups.d.ts +2 -2
  30. package/dist/types/element/src/heading.d.ts +2 -2
  31. package/dist/types/element/src/image.d.ts +2 -2
  32. package/dist/types/element/src/linearElementEditor.d.ts +4 -4
  33. package/dist/types/element/src/mutateElement.d.ts +1 -1
  34. package/dist/types/element/src/newElement.d.ts +1 -1
  35. package/dist/types/element/src/renderElement.d.ts +4 -4
  36. package/dist/types/element/src/resizeElements.d.ts +2 -2
  37. package/dist/types/element/src/resizeTest.d.ts +4 -4
  38. package/dist/types/element/src/selection.d.ts +1 -1
  39. package/dist/types/element/src/shape.d.ts +5 -5
  40. package/dist/types/element/src/showSelectedShapeActions.d.ts +1 -1
  41. package/dist/types/element/src/sizeHelpers.d.ts +1 -1
  42. package/dist/types/element/src/store.d.ts +4 -4
  43. package/dist/types/element/src/textElement.d.ts +3 -3
  44. package/dist/types/element/src/transform.d.ts +1 -1
  45. package/dist/types/element/src/transformHandles.d.ts +4 -4
  46. package/dist/types/element/src/typeChecks.d.ts +2 -2
  47. package/dist/types/element/src/types.d.ts +3 -3
  48. package/dist/types/element/src/utils.d.ts +3 -3
  49. package/dist/types/element/src/zindex.d.ts +2 -2
  50. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
  51. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  52. package/dist/types/excalidraw/actions/actionBoundText.d.ts +48 -48
  53. package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
  54. package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
  55. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
  56. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
  57. package/dist/types/excalidraw/actions/actionDeselect.d.ts +24 -24
  58. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  59. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  60. package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
  61. package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
  62. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
  63. package/dist/types/excalidraw/actions/actionExport.d.ts +48 -48
  64. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  65. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  66. package/dist/types/excalidraw/actions/actionFrame.d.ts +210 -210
  67. package/dist/types/excalidraw/actions/actionGroup.d.ts +41 -41
  68. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +149 -149
  69. package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
  70. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
  71. package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  72. package/dist/types/excalidraw/actions/actionProperties.d.ts +37 -37
  73. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
  74. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
  75. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  76. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +28 -28
  77. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
  78. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +28 -28
  79. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  80. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
  81. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
  82. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
  83. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
  84. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
  85. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  86. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  87. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  88. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  89. package/dist/types/excalidraw/appState.d.ts +9 -9
  90. package/dist/types/excalidraw/charts/charts.constants.d.ts +1 -1
  91. package/dist/types/excalidraw/charts/charts.helpers.d.ts +3 -3
  92. package/dist/types/excalidraw/charts/charts.types.d.ts +1 -1
  93. package/dist/types/excalidraw/charts/index.d.ts +1 -1
  94. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  95. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  96. package/dist/types/excalidraw/components/App.d.ts +10 -10
  97. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  98. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  99. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  100. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  101. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  102. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  104. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  105. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  106. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  107. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  108. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  109. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  110. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  111. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  112. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  113. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  114. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  115. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  116. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  117. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  118. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  119. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  120. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  121. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  123. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  124. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  125. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  126. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  127. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  128. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  129. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  130. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  131. package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
  132. package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
  133. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  134. package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
  135. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +2 -2
  136. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  137. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -3
  138. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  139. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  140. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  141. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  142. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  143. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
  144. package/dist/types/excalidraw/components/icons.d.ts +1 -1
  145. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  146. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +1 -1
  147. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  148. package/dist/types/excalidraw/data/blob.d.ts +49 -49
  149. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  150. package/dist/types/excalidraw/data/index.d.ts +1 -1
  151. package/dist/types/excalidraw/data/json.d.ts +24 -24
  152. package/dist/types/excalidraw/data/library.d.ts +2 -2
  153. package/dist/types/excalidraw/data/resave.d.ts +2 -2
  154. package/dist/types/excalidraw/data/restore.d.ts +2 -2
  155. package/dist/types/excalidraw/data/types.d.ts +2 -2
  156. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
  157. package/dist/types/excalidraw/history.d.ts +4 -4
  158. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  159. package/dist/types/excalidraw/i18n.d.ts +1 -1
  160. package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
  161. package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
  162. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  163. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  164. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  165. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  166. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  167. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  168. package/dist/types/excalidraw/snapping.d.ts +5 -5
  169. package/dist/types/excalidraw/textAutoResizeHandle.d.ts +4 -4
  170. package/dist/types/excalidraw/types.d.ts +7 -7
  171. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
  172. package/dist/types/utils/src/bbox.d.ts +2 -2
  173. package/dist/types/utils/src/export.d.ts +3 -3
  174. package/dist/types/utils/src/index.d.ts +1 -1
  175. package/dist/types/utils/src/shape.d.ts +4 -4
  176. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  177. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { LinearElementEditor } from "@excalidraw/element";
2
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import { LinearElementEditor } from "@nous-excalidraw/element";
2
+ import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
3
3
  export declare const actionSelectAll: {
4
4
  name: "selectAll";
5
5
  label: string;
@@ -8,7 +8,7 @@ export declare const actionSelectAll: {
8
8
  category: "canvas";
9
9
  };
10
10
  viewMode: false;
11
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => false | {
11
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => false | {
12
12
  appState: {
13
13
  selectedLinearElement: LinearElementEditor | null;
14
14
  editingGroupId: import("../types").AppState["editingGroupId"];
@@ -23,23 +23,23 @@ export declare const actionSelectAll: {
23
23
  isLoading: boolean;
24
24
  errorMessage: React.ReactNode;
25
25
  activeEmbeddable: {
26
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
26
+ element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
27
27
  state: "hover" | "active";
28
28
  } | null;
29
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
30
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
31
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
32
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
+ newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
30
+ resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
31
+ multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
32
+ selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
33
33
  isBindingEnabled: boolean;
34
34
  boxSelectionMode: import("../types").BoxSelectionMode;
35
35
  bindingPreference: "enabled" | "disabled";
36
36
  isMidpointSnappingEnabled: boolean;
37
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
37
+ startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
38
38
  suggestedBinding: {
39
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
40
- midPoint?: import("@excalidraw/math").GlobalPoint;
39
+ element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
40
+ midPoint?: import("@nous-excalidraw/math").GlobalPoint;
41
41
  } | null;
42
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
42
+ frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
43
43
  frameRendering: {
44
44
  enabled: boolean;
45
45
  name: boolean;
@@ -47,8 +47,8 @@ export declare const actionSelectAll: {
47
47
  clip: boolean;
48
48
  };
49
49
  editingFrame: string | null;
50
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
51
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
50
+ elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
51
+ editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
52
52
  activeTool: {
53
53
  lastActiveTool: import("../types").ActiveTool | null;
54
54
  locked: boolean;
@@ -71,13 +71,13 @@ export declare const actionSelectAll: {
71
71
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
72
72
  currentItemRoughness: number;
73
73
  currentItemOpacity: number;
74
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
74
+ currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
75
75
  currentItemFontSize: number;
76
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
77
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
78
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
79
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
80
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
76
+ currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
77
+ currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
78
+ currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
79
+ currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
80
+ currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
81
81
  currentItemArrowType: "sharp" | "round" | "elbow";
82
82
  viewBackgroundColor: string;
83
83
  scrollX: number;
@@ -112,7 +112,7 @@ export declare const actionSelectAll: {
112
112
  rawText: string;
113
113
  };
114
114
  defaultSidebarDockedPreference: boolean;
115
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
115
+ lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
116
116
  hoveredElementIds: Readonly<{
117
117
  [id: string]: true;
118
118
  }>;
@@ -127,7 +127,7 @@ export declare const actionSelectAll: {
127
127
  duration?: number;
128
128
  } | null;
129
129
  zenModeEnabled: boolean;
130
- theme: import("@excalidraw/element/types").Theme;
130
+ theme: import("@nous-excalidraw/element/types").Theme;
131
131
  gridSize: number;
132
132
  gridStep: number;
133
133
  gridModeEnabled: boolean;
@@ -161,7 +161,7 @@ export declare const actionSelectAll: {
161
161
  lockedMultiSelections: {
162
162
  [groupId: string]: true;
163
163
  };
164
- bindMode: import("@excalidraw/element/types").BindMode;
164
+ bindMode: import("@nous-excalidraw/element/types").BindMode;
165
165
  };
166
166
  captureUpdate: "IMMEDIATELY";
167
167
  };
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawTextElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawTextElement } from "@nous-excalidraw/element/types";
2
2
  export declare let copiedStyles: string;
3
3
  export declare const actionCopyStyles: {
4
4
  name: "copyStyles";
@@ -7,7 +7,7 @@ export declare const actionCopyStyles: {
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
10
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => {
10
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => {
11
11
  appState: {
12
12
  toast: {
13
13
  message: string;
@@ -21,23 +21,23 @@ export declare const actionCopyStyles: {
21
21
  isLoading: boolean;
22
22
  errorMessage: React.ReactNode;
23
23
  activeEmbeddable: {
24
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
24
+ element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
25
25
  state: "hover" | "active";
26
26
  } | null;
27
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
28
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
30
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
+ newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
28
+ resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
+ multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
30
+ selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
31
31
  isBindingEnabled: boolean;
32
32
  boxSelectionMode: import("../types").BoxSelectionMode;
33
33
  bindingPreference: "enabled" | "disabled";
34
34
  isMidpointSnappingEnabled: boolean;
35
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
35
+ startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
36
36
  suggestedBinding: {
37
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
38
- midPoint?: import("@excalidraw/math").GlobalPoint;
37
+ element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
38
+ midPoint?: import("@nous-excalidraw/math").GlobalPoint;
39
39
  } | null;
40
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
40
+ frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
41
41
  frameRendering: {
42
42
  enabled: boolean;
43
43
  name: boolean;
@@ -45,7 +45,7 @@ export declare const actionCopyStyles: {
45
45
  clip: boolean;
46
46
  };
47
47
  editingFrame: string | null;
48
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
48
+ elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
49
49
  editingTextElement: ExcalidrawTextElement | null;
50
50
  activeTool: {
51
51
  lastActiveTool: import("../types").ActiveTool | null;
@@ -64,18 +64,18 @@ export declare const actionCopyStyles: {
64
64
  exportScale: number;
65
65
  currentItemStrokeColor: string;
66
66
  currentItemBackgroundColor: string;
67
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
67
+ currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
68
68
  currentItemStrokeWidth: number;
69
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
69
+ currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
70
70
  currentItemRoughness: number;
71
71
  currentItemOpacity: number;
72
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
72
+ currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
73
73
  currentItemFontSize: number;
74
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
75
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
76
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
77
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
78
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
74
+ currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
75
+ currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
76
+ currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
77
+ currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
78
+ currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
79
79
  currentItemArrowType: "sharp" | "round" | "elbow";
80
80
  viewBackgroundColor: string;
81
81
  scrollX: number;
@@ -103,14 +103,14 @@ export declare const actionCopyStyles: {
103
103
  name: "settings";
104
104
  } | {
105
105
  name: "elementLinkSelector";
106
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
106
+ sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
107
107
  } | {
108
108
  name: "charts";
109
109
  data: import("../charts").Spreadsheet;
110
110
  rawText: string;
111
111
  };
112
112
  defaultSidebarDockedPreference: boolean;
113
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
113
+ lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
114
114
  selectedElementIds: Readonly<{
115
115
  [id: string]: true;
116
116
  }>;
@@ -123,7 +123,7 @@ export declare const actionCopyStyles: {
123
123
  selectedElementsAreBeingDragged: boolean;
124
124
  shouldCacheIgnoreZoom: boolean;
125
125
  zenModeEnabled: boolean;
126
- theme: import("@excalidraw/element/types").Theme;
126
+ theme: import("@nous-excalidraw/element/types").Theme;
127
127
  gridSize: number;
128
128
  gridStep: number;
129
129
  gridModeEnabled: boolean;
@@ -131,7 +131,7 @@ export declare const actionCopyStyles: {
131
131
  selectedGroupIds: {
132
132
  [groupId: string]: boolean;
133
133
  };
134
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
134
+ editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
135
135
  width: number;
136
136
  height: number;
137
137
  offsetTop: number;
@@ -143,7 +143,7 @@ export declare const actionCopyStyles: {
143
143
  panels: number;
144
144
  };
145
145
  showHyperlinkPopup: false | "info" | "editor";
146
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
146
+ selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
147
147
  snapLines: readonly import("../snapping").SnapLine[];
148
148
  originSnapOffset: {
149
149
  x: number;
@@ -153,16 +153,16 @@ export declare const actionCopyStyles: {
153
153
  userToFollow: import("../types").UserToFollow | null;
154
154
  followedBy: Set<import("../types").SocketId>;
155
155
  isCropping: boolean;
156
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
156
+ croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
157
157
  searchMatches: Readonly<{
158
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
158
+ focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
159
159
  matches: readonly import("../types").SearchMatch[];
160
160
  }> | null;
161
161
  activeLockedId: string | null;
162
162
  lockedMultiSelections: {
163
163
  [groupId: string]: true;
164
164
  };
165
- bindMode: import("@excalidraw/element/types").BindMode;
165
+ bindMode: import("@nous-excalidraw/element/types").BindMode;
166
166
  };
167
167
  captureUpdate: "EVENTUALLY";
168
168
  };
@@ -177,11 +177,11 @@ export declare const actionPasteStyles: {
177
177
  trackEvent: {
178
178
  category: "element";
179
179
  };
180
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => {
181
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
180
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => {
181
+ elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
182
182
  captureUpdate: "EVENTUALLY";
183
183
  } | {
184
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
184
+ elements: import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
185
185
  captureUpdate: "IMMEDIATELY";
186
186
  };
187
187
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
2
2
  export declare const actionTextAutoResize: {
3
3
  name: "autoResize";
4
4
  label: string;
@@ -7,9 +7,9 @@ export declare const actionTextAutoResize: {
7
7
  category: "element";
8
8
  };
9
9
  predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, _: unknown) => boolean;
10
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, targetElement: unknown) => {
10
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, targetElement: unknown) => {
11
11
  appState: Readonly<import("../types").AppState>;
12
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
12
+ elements: import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
13
13
  captureUpdate: "IMMEDIATELY";
14
14
  };
15
15
  } & {
@@ -6,7 +6,7 @@ export declare const actionToggleArrowBinding: {
6
6
  category: "canvas";
7
7
  predicate: (appState: Readonly<import("../types").AppState>) => boolean;
8
8
  };
9
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>): {
9
+ perform(elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>): {
10
10
  appState: {
11
11
  bindingPreference: "enabled" | "disabled";
12
12
  isBindingEnabled: boolean;
@@ -19,21 +19,21 @@ export declare const actionToggleArrowBinding: {
19
19
  isLoading: boolean;
20
20
  errorMessage: React.ReactNode;
21
21
  activeEmbeddable: {
22
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
22
+ element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
23
23
  state: "hover" | "active";
24
24
  } | null;
25
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
28
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
+ newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
+ resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
+ multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
28
+ selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
29
  boxSelectionMode: import("../types").BoxSelectionMode;
30
30
  isMidpointSnappingEnabled: boolean;
31
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
+ startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
32
32
  suggestedBinding: {
33
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
34
- midPoint?: import("@excalidraw/math").GlobalPoint;
33
+ element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
34
+ midPoint?: import("@nous-excalidraw/math").GlobalPoint;
35
35
  } | null;
36
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
36
+ frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
37
37
  frameRendering: {
38
38
  enabled: boolean;
39
39
  name: boolean;
@@ -41,8 +41,8 @@ export declare const actionToggleArrowBinding: {
41
41
  clip: boolean;
42
42
  };
43
43
  editingFrame: string | null;
44
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
45
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
44
+ elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
45
+ editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
46
46
  activeTool: {
47
47
  lastActiveTool: import("../types").ActiveTool | null;
48
48
  locked: boolean;
@@ -60,18 +60,18 @@ export declare const actionToggleArrowBinding: {
60
60
  exportScale: number;
61
61
  currentItemStrokeColor: string;
62
62
  currentItemBackgroundColor: string;
63
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
63
+ currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
64
64
  currentItemStrokeWidth: number;
65
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
65
+ currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
66
66
  currentItemRoughness: number;
67
67
  currentItemOpacity: number;
68
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
68
+ currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
69
69
  currentItemFontSize: number;
70
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
71
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
72
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
73
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
74
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
70
+ currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
71
+ currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
72
+ currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
73
+ currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
74
+ currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
75
75
  currentItemArrowType: "sharp" | "round" | "elbow";
76
76
  viewBackgroundColor: string;
77
77
  scrollX: number;
@@ -99,14 +99,14 @@ export declare const actionToggleArrowBinding: {
99
99
  name: "settings";
100
100
  } | {
101
101
  name: "elementLinkSelector";
102
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
102
+ sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
103
103
  } | {
104
104
  name: "charts";
105
105
  data: import("../charts").Spreadsheet;
106
106
  rawText: string;
107
107
  };
108
108
  defaultSidebarDockedPreference: boolean;
109
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
109
+ lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
110
110
  selectedElementIds: Readonly<{
111
111
  [id: string]: true;
112
112
  }>;
@@ -124,7 +124,7 @@ export declare const actionToggleArrowBinding: {
124
124
  duration?: number;
125
125
  } | null;
126
126
  zenModeEnabled: boolean;
127
- theme: import("@excalidraw/element/types").Theme;
127
+ theme: import("@nous-excalidraw/element/types").Theme;
128
128
  gridSize: number;
129
129
  gridStep: number;
130
130
  gridModeEnabled: boolean;
@@ -132,7 +132,7 @@ export declare const actionToggleArrowBinding: {
132
132
  selectedGroupIds: {
133
133
  [groupId: string]: boolean;
134
134
  };
135
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
135
+ editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
136
136
  width: number;
137
137
  height: number;
138
138
  offsetTop: number;
@@ -144,7 +144,7 @@ export declare const actionToggleArrowBinding: {
144
144
  panels: number;
145
145
  };
146
146
  showHyperlinkPopup: false | "info" | "editor";
147
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
147
+ selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
148
148
  snapLines: readonly import("../snapping").SnapLine[];
149
149
  originSnapOffset: {
150
150
  x: number;
@@ -154,16 +154,16 @@ export declare const actionToggleArrowBinding: {
154
154
  userToFollow: import("../types").UserToFollow | null;
155
155
  followedBy: Set<import("../types").SocketId>;
156
156
  isCropping: boolean;
157
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
157
+ croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
158
158
  searchMatches: Readonly<{
159
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
159
+ focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
160
160
  matches: readonly import("../types").SearchMatch[];
161
161
  }> | null;
162
162
  activeLockedId: string | null;
163
163
  lockedMultiSelections: {
164
164
  [groupId: string]: true;
165
165
  };
166
- bindMode: import("@excalidraw/element/types").BindMode;
166
+ bindMode: import("@nous-excalidraw/element/types").BindMode;
167
167
  };
168
168
  captureUpdate: "NEVER";
169
169
  };
@@ -9,7 +9,7 @@ export declare const actionToggleGridMode: {
9
9
  category: "canvas";
10
10
  predicate: (appState: Readonly<AppState>) => boolean;
11
11
  };
12
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>): {
12
+ perform(elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>): {
13
13
  appState: {
14
14
  gridModeEnabled: boolean;
15
15
  objectsSnapModeEnabled: false;
@@ -22,23 +22,23 @@ export declare const actionToggleGridMode: {
22
22
  isLoading: boolean;
23
23
  errorMessage: React.ReactNode;
24
24
  activeEmbeddable: {
25
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
25
+ element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
26
26
  state: "hover" | "active";
27
27
  } | null;
28
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
29
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
30
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
31
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
28
+ newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
29
+ resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
30
+ multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
31
+ selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
32
32
  isBindingEnabled: boolean;
33
33
  boxSelectionMode: import("../types").BoxSelectionMode;
34
34
  bindingPreference: "enabled" | "disabled";
35
35
  isMidpointSnappingEnabled: boolean;
36
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
36
+ startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
37
37
  suggestedBinding: {
38
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
39
- midPoint?: import("@excalidraw/math").GlobalPoint;
38
+ element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
39
+ midPoint?: import("@nous-excalidraw/math").GlobalPoint;
40
40
  } | null;
41
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
41
+ frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
42
42
  frameRendering: {
43
43
  enabled: boolean;
44
44
  name: boolean;
@@ -46,8 +46,8 @@ export declare const actionToggleGridMode: {
46
46
  clip: boolean;
47
47
  };
48
48
  editingFrame: string | null;
49
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
50
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
49
+ elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawElement>[] | null;
50
+ editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
51
51
  activeTool: {
52
52
  lastActiveTool: import("../types").ActiveTool | null;
53
53
  locked: boolean;
@@ -65,18 +65,18 @@ export declare const actionToggleGridMode: {
65
65
  exportScale: number;
66
66
  currentItemStrokeColor: string;
67
67
  currentItemBackgroundColor: string;
68
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
68
+ currentItemFillStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["fillStyle"];
69
69
  currentItemStrokeWidth: number;
70
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
70
+ currentItemStrokeStyle: import("@nous-excalidraw/element/types").ExcalidrawElement["strokeStyle"];
71
71
  currentItemRoughness: number;
72
72
  currentItemOpacity: number;
73
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
73
+ currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
74
74
  currentItemFontSize: number;
75
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
76
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
77
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
78
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
79
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
75
+ currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
76
+ currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
77
+ currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
78
+ currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
79
+ currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
80
80
  currentItemArrowType: "sharp" | "round" | "elbow";
81
81
  viewBackgroundColor: string;
82
82
  scrollX: number;
@@ -104,14 +104,14 @@ export declare const actionToggleGridMode: {
104
104
  name: "settings";
105
105
  } | {
106
106
  name: "elementLinkSelector";
107
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
107
+ sourceElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"];
108
108
  } | {
109
109
  name: "charts";
110
110
  data: import("../charts").Spreadsheet;
111
111
  rawText: string;
112
112
  };
113
113
  defaultSidebarDockedPreference: boolean;
114
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
114
+ lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
115
115
  selectedElementIds: Readonly<{
116
116
  [id: string]: true;
117
117
  }>;
@@ -129,14 +129,14 @@ export declare const actionToggleGridMode: {
129
129
  duration?: number;
130
130
  } | null;
131
131
  zenModeEnabled: boolean;
132
- theme: import("@excalidraw/element/types").Theme;
132
+ theme: import("@nous-excalidraw/element/types").Theme;
133
133
  gridSize: number;
134
134
  gridStep: number;
135
135
  viewModeEnabled: boolean;
136
136
  selectedGroupIds: {
137
137
  [groupId: string]: boolean;
138
138
  };
139
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
139
+ editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
140
140
  width: number;
141
141
  height: number;
142
142
  offsetTop: number;
@@ -148,7 +148,7 @@ export declare const actionToggleGridMode: {
148
148
  panels: number;
149
149
  };
150
150
  showHyperlinkPopup: false | "info" | "editor";
151
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
151
+ selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
152
152
  snapLines: readonly import("../snapping").SnapLine[];
153
153
  originSnapOffset: {
154
154
  x: number;
@@ -157,21 +157,21 @@ export declare const actionToggleGridMode: {
157
157
  userToFollow: import("../types").UserToFollow | null;
158
158
  followedBy: Set<import("../types").SocketId>;
159
159
  isCropping: boolean;
160
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
160
+ croppingElementId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
161
161
  searchMatches: Readonly<{
162
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
162
+ focusedId: import("@nous-excalidraw/element/types").ExcalidrawElement["id"] | null;
163
163
  matches: readonly import("../types").SearchMatch[];
164
164
  }> | null;
165
165
  activeLockedId: string | null;
166
166
  lockedMultiSelections: {
167
167
  [groupId: string]: true;
168
168
  };
169
- bindMode: import("@excalidraw/element/types").BindMode;
169
+ bindMode: import("@nous-excalidraw/element/types").BindMode;
170
170
  };
171
171
  captureUpdate: "EVENTUALLY";
172
172
  };
173
173
  checked: (appState: AppState) => boolean;
174
- predicate: (element: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
174
+ predicate: (element: readonly import("@nous-excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
175
175
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
176
176
  } & {
177
177
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;