@misenkashari/excalidraw-common 1.0.3 → 1.0.6

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