@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,17 +1,17 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@misenkashari/excalidraw-element/types";
2
2
  import "../components/ToolIcon.scss";
3
3
  import type { AppState } from "../types";
4
4
  export declare const actionChangeProjectName: import("./types").Action<string | null> & {
5
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
5
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
6
6
  };
7
7
  export declare const actionChangeExportScale: import("./types").Action<number> & {
8
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
8
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
9
9
  };
10
10
  export declare const actionChangeExportBackground: import("./types").Action<boolean> & {
11
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
11
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
12
12
  };
13
13
  export declare const actionChangeExportEmbedScene: import("./types").Action<boolean> & {
14
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
14
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
15
15
  };
16
16
  export declare const actionSaveToActiveFile: {
17
17
  name: "saveToActiveFile";
@@ -20,8 +20,8 @@ export declare const actionSaveToActiveFile: {
20
20
  trackEvent: {
21
21
  category: "export";
22
22
  };
23
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
24
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
23
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
24
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
25
25
  captureUpdate: "EVENTUALLY";
26
26
  appState: {
27
27
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
@@ -37,17 +37,17 @@ export declare const actionSaveToActiveFile: {
37
37
  isLoading: boolean;
38
38
  errorMessage: React.ReactNode;
39
39
  activeEmbeddable: {
40
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
40
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
41
41
  state: "hover" | "active";
42
42
  } | null;
43
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
44
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
45
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
46
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
43
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
44
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
45
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
46
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
47
47
  isBindingEnabled: boolean;
48
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
49
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
50
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
48
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
49
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
50
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
51
51
  frameRendering: {
52
52
  enabled: boolean;
53
53
  name: boolean;
@@ -55,8 +55,8 @@ export declare const actionSaveToActiveFile: {
55
55
  clip: boolean;
56
56
  };
57
57
  editingFrame: string | null;
58
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
59
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
58
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
59
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
60
60
  activeTool: {
61
61
  lastActiveTool: import("../types").ActiveTool | null;
62
62
  locked: boolean;
@@ -74,18 +74,18 @@ export declare const actionSaveToActiveFile: {
74
74
  exportScale: number;
75
75
  currentItemStrokeColor: string;
76
76
  currentItemBackgroundColor: string;
77
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
77
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
78
78
  currentItemStrokeWidth: number;
79
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
79
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
80
80
  currentItemRoughness: number;
81
81
  currentItemOpacity: number;
82
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
82
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
83
83
  currentItemFontSize: number;
84
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
85
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
86
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
87
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
88
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
84
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
85
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
86
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
87
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
88
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
89
89
  currentItemArrowType: "sharp" | "round" | "elbow";
90
90
  viewBackgroundColor: string;
91
91
  scrollX: number;
@@ -113,10 +113,10 @@ export declare const actionSaveToActiveFile: {
113
113
  name: "settings";
114
114
  } | {
115
115
  name: "elementLinkSelector";
116
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
116
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
117
117
  };
118
118
  defaultSidebarDockedPreference: boolean;
119
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
119
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
120
120
  selectedElementIds: Readonly<{
121
121
  [id: string]: true;
122
122
  }>;
@@ -137,7 +137,7 @@ export declare const actionSaveToActiveFile: {
137
137
  selectedGroupIds: {
138
138
  [groupId: string]: boolean;
139
139
  };
140
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
140
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
141
141
  width: number;
142
142
  height: number;
143
143
  offsetTop: number;
@@ -147,7 +147,7 @@ export declare const actionSaveToActiveFile: {
147
147
  open: boolean;
148
148
  panels: number;
149
149
  };
150
- currentChartType: import("@excalidraw/element/types").ChartType;
150
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
151
151
  pasteDialog: {
152
152
  shown: false;
153
153
  data: null;
@@ -156,7 +156,7 @@ export declare const actionSaveToActiveFile: {
156
156
  data: import("../charts").Spreadsheet;
157
157
  };
158
158
  showHyperlinkPopup: false | "info" | "editor";
159
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
159
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
160
160
  snapLines: readonly import("../snapping").SnapLine[];
161
161
  originSnapOffset: {
162
162
  x: number;
@@ -166,16 +166,16 @@ export declare const actionSaveToActiveFile: {
166
166
  userToFollow: import("../types").UserToFollow | null;
167
167
  followedBy: Set<import("../types").SocketId>;
168
168
  isCropping: boolean;
169
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
169
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
170
170
  searchMatches: Readonly<{
171
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
171
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
172
172
  matches: readonly import("../types").SearchMatch[];
173
173
  }> | null;
174
174
  activeLockedId: string | null;
175
175
  lockedMultiSelections: {
176
176
  [groupId: string]: true;
177
177
  };
178
- bindMode: import("@excalidraw/element/types").BindMode;
178
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
179
179
  };
180
180
  } | {
181
181
  captureUpdate: "EVENTUALLY";
@@ -193,7 +193,7 @@ export declare const actionSaveFileToDisk: {
193
193
  trackEvent: {
194
194
  category: "export";
195
195
  };
196
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
196
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
197
197
  captureUpdate: "EVENTUALLY";
198
198
  appState: {
199
199
  openDialog: null;
@@ -210,17 +210,17 @@ export declare const actionSaveFileToDisk: {
210
210
  isLoading: boolean;
211
211
  errorMessage: React.ReactNode;
212
212
  activeEmbeddable: {
213
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
213
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
214
214
  state: "hover" | "active";
215
215
  } | null;
216
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
217
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
218
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
219
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
216
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
217
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
218
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
219
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
220
220
  isBindingEnabled: boolean;
221
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
222
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
223
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
221
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
222
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
223
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
224
224
  frameRendering: {
225
225
  enabled: boolean;
226
226
  name: boolean;
@@ -228,8 +228,8 @@ export declare const actionSaveFileToDisk: {
228
228
  clip: boolean;
229
229
  };
230
230
  editingFrame: string | null;
231
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
232
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
231
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
232
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
233
233
  activeTool: {
234
234
  lastActiveTool: import("../types").ActiveTool | null;
235
235
  locked: boolean;
@@ -247,18 +247,18 @@ export declare const actionSaveFileToDisk: {
247
247
  exportScale: number;
248
248
  currentItemStrokeColor: string;
249
249
  currentItemBackgroundColor: string;
250
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
250
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
251
251
  currentItemStrokeWidth: number;
252
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
252
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
253
253
  currentItemRoughness: number;
254
254
  currentItemOpacity: number;
255
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
255
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
256
256
  currentItemFontSize: number;
257
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
258
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
259
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
260
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
261
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
257
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
258
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
259
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
260
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
261
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
262
262
  currentItemArrowType: "sharp" | "round" | "elbow";
263
263
  viewBackgroundColor: string;
264
264
  scrollX: number;
@@ -276,7 +276,7 @@ export declare const actionSaveFileToDisk: {
276
276
  tab?: import("../types").SidebarTabName;
277
277
  } | null;
278
278
  defaultSidebarDockedPreference: boolean;
279
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
279
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
280
280
  selectedElementIds: Readonly<{
281
281
  [id: string]: true;
282
282
  }>;
@@ -297,7 +297,7 @@ export declare const actionSaveFileToDisk: {
297
297
  selectedGroupIds: {
298
298
  [groupId: string]: boolean;
299
299
  };
300
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
300
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
301
301
  width: number;
302
302
  height: number;
303
303
  offsetTop: number;
@@ -307,7 +307,7 @@ export declare const actionSaveFileToDisk: {
307
307
  open: boolean;
308
308
  panels: number;
309
309
  };
310
- currentChartType: import("@excalidraw/element/types").ChartType;
310
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
311
311
  pasteDialog: {
312
312
  shown: false;
313
313
  data: null;
@@ -316,7 +316,7 @@ export declare const actionSaveFileToDisk: {
316
316
  data: import("../charts").Spreadsheet;
317
317
  };
318
318
  showHyperlinkPopup: false | "info" | "editor";
319
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
319
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
320
320
  snapLines: readonly import("../snapping").SnapLine[];
321
321
  originSnapOffset: {
322
322
  x: number;
@@ -326,16 +326,16 @@ export declare const actionSaveFileToDisk: {
326
326
  userToFollow: import("../types").UserToFollow | null;
327
327
  followedBy: Set<import("../types").SocketId>;
328
328
  isCropping: boolean;
329
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
329
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
330
330
  searchMatches: Readonly<{
331
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
331
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
332
332
  matches: readonly import("../types").SearchMatch[];
333
333
  }> | null;
334
334
  activeLockedId: string | null;
335
335
  lockedMultiSelections: {
336
336
  [groupId: string]: true;
337
337
  };
338
- bindMode: import("@excalidraw/element/types").BindMode;
338
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
339
339
  };
340
340
  } | {
341
341
  captureUpdate: "EVENTUALLY";
@@ -352,9 +352,9 @@ export declare const actionLoadScene: {
352
352
  trackEvent: {
353
353
  category: "export";
354
354
  };
355
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
356
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<false | {
357
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
355
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
356
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<false | {
357
+ elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
358
358
  appState: {
359
359
  viewBackgroundColor: string;
360
360
  theme: Theme;
@@ -380,36 +380,36 @@ export declare const actionLoadScene: {
380
380
  name: "settings";
381
381
  } | {
382
382
  name: "elementLinkSelector";
383
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
383
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
384
384
  };
385
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
385
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
386
386
  selectedElementIds: Readonly<{
387
387
  [id: string]: true;
388
388
  }>;
389
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
389
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
390
390
  activeEmbeddable: {
391
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
391
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
392
392
  state: "hover" | "active";
393
393
  } | null;
394
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
394
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
395
395
  selectedGroupIds: {
396
396
  [groupId: string]: boolean;
397
397
  };
398
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
399
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
400
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
398
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
399
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
400
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
401
401
  isBindingEnabled: boolean;
402
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
402
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
403
403
  isRotating: boolean;
404
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
404
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
405
405
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
406
406
  snapLines: readonly import("../snapping").SnapLine[];
407
407
  zenModeEnabled: boolean;
408
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
408
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
409
409
  isCropping: boolean;
410
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
410
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
411
411
  searchMatches: Readonly<{
412
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
412
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
413
413
  matches: readonly import("../types").SearchMatch[];
414
414
  }> | null;
415
415
  activeLockedId: string | null;
@@ -418,7 +418,7 @@ export declare const actionLoadScene: {
418
418
  }>;
419
419
  shouldCacheIgnoreZoom: boolean;
420
420
  exportScale: number;
421
- bindMode: import("@excalidraw/element/types").BindMode;
421
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
422
422
  gridSize: number;
423
423
  contextMenu: {
424
424
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -428,8 +428,8 @@ export declare const actionLoadScene: {
428
428
  showWelcomeScreen: boolean;
429
429
  isLoading: boolean;
430
430
  errorMessage: React.ReactNode;
431
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
432
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
431
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
432
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
433
433
  editingFrame: string | null;
434
434
  activeTool: {
435
435
  lastActiveTool: import("../types").ActiveTool | null;
@@ -447,18 +447,18 @@ export declare const actionLoadScene: {
447
447
  exportWithDarkMode: boolean;
448
448
  currentItemStrokeColor: string;
449
449
  currentItemBackgroundColor: string;
450
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
450
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
451
451
  currentItemStrokeWidth: number;
452
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
452
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
453
453
  currentItemRoughness: number;
454
454
  currentItemOpacity: number;
455
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
455
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
456
456
  currentItemFontSize: number;
457
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
458
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
459
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
460
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
461
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
457
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
458
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
459
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
460
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
461
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
462
462
  currentItemArrowType: "sharp" | "round" | "elbow";
463
463
  cursorButton: "up" | "down";
464
464
  scrolledOutside: boolean;
@@ -470,7 +470,7 @@ export declare const actionLoadScene: {
470
470
  tab?: import("../types").SidebarTabName;
471
471
  } | null;
472
472
  defaultSidebarDockedPreference: boolean;
473
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
473
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
474
474
  previousSelectedElementIds: {
475
475
  [id: string]: true;
476
476
  };
@@ -487,7 +487,7 @@ export declare const actionLoadScene: {
487
487
  open: boolean;
488
488
  panels: number;
489
489
  };
490
- currentChartType: import("@excalidraw/element/types").ChartType;
490
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
491
491
  pasteDialog: {
492
492
  shown: false;
493
493
  data: null;
@@ -510,7 +510,7 @@ export declare const actionLoadScene: {
510
510
  files: import("../types").BinaryFiles;
511
511
  captureUpdate: "IMMEDIATELY";
512
512
  } | {
513
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
513
+ elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
514
514
  appState: {
515
515
  errorMessage: any;
516
516
  contextMenu: {
@@ -521,17 +521,17 @@ export declare const actionLoadScene: {
521
521
  showWelcomeScreen: boolean;
522
522
  isLoading: boolean;
523
523
  activeEmbeddable: {
524
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
524
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
525
525
  state: "hover" | "active";
526
526
  } | null;
527
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
528
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
529
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
530
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
527
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
528
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
529
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
530
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
531
531
  isBindingEnabled: boolean;
532
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
533
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
534
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
532
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
533
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
534
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
535
535
  frameRendering: {
536
536
  enabled: boolean;
537
537
  name: boolean;
@@ -539,8 +539,8 @@ export declare const actionLoadScene: {
539
539
  clip: boolean;
540
540
  };
541
541
  editingFrame: string | null;
542
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
543
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
542
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
543
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
544
544
  activeTool: {
545
545
  lastActiveTool: import("../types").ActiveTool | null;
546
546
  locked: boolean;
@@ -558,18 +558,18 @@ export declare const actionLoadScene: {
558
558
  exportScale: number;
559
559
  currentItemStrokeColor: string;
560
560
  currentItemBackgroundColor: string;
561
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
561
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
562
562
  currentItemStrokeWidth: number;
563
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
563
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
564
564
  currentItemRoughness: number;
565
565
  currentItemOpacity: number;
566
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
566
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
567
567
  currentItemFontSize: number;
568
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
569
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
570
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
571
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
572
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
568
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
569
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
570
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
571
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
572
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
573
573
  currentItemArrowType: "sharp" | "round" | "elbow";
574
574
  viewBackgroundColor: string;
575
575
  scrollX: number;
@@ -597,10 +597,10 @@ export declare const actionLoadScene: {
597
597
  name: "settings";
598
598
  } | {
599
599
  name: "elementLinkSelector";
600
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
600
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
601
601
  };
602
602
  defaultSidebarDockedPreference: boolean;
603
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
603
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
604
604
  selectedElementIds: Readonly<{
605
605
  [id: string]: true;
606
606
  }>;
@@ -626,7 +626,7 @@ export declare const actionLoadScene: {
626
626
  selectedGroupIds: {
627
627
  [groupId: string]: boolean;
628
628
  };
629
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
629
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
630
630
  width: number;
631
631
  height: number;
632
632
  offsetTop: number;
@@ -637,7 +637,7 @@ export declare const actionLoadScene: {
637
637
  open: boolean;
638
638
  panels: number;
639
639
  };
640
- currentChartType: import("@excalidraw/element/types").ChartType;
640
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
641
641
  pasteDialog: {
642
642
  shown: false;
643
643
  data: null;
@@ -646,7 +646,7 @@ export declare const actionLoadScene: {
646
646
  data: import("../charts").Spreadsheet;
647
647
  };
648
648
  showHyperlinkPopup: false | "info" | "editor";
649
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
649
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
650
650
  snapLines: readonly import("../snapping").SnapLine[];
651
651
  originSnapOffset: {
652
652
  x: number;
@@ -656,16 +656,16 @@ export declare const actionLoadScene: {
656
656
  userToFollow: import("../types").UserToFollow | null;
657
657
  followedBy: Set<import("../types").SocketId>;
658
658
  isCropping: boolean;
659
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
659
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
660
660
  searchMatches: Readonly<{
661
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
661
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
662
662
  matches: readonly import("../types").SearchMatch[];
663
663
  }> | null;
664
664
  activeLockedId: string | null;
665
665
  lockedMultiSelections: {
666
666
  [groupId: string]: true;
667
667
  };
668
- bindMode: import("@excalidraw/element/types").BindMode;
668
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
669
669
  };
670
670
  files: import("../types").BinaryFiles;
671
671
  captureUpdate: "EVENTUALLY";
@@ -675,5 +675,5 @@ export declare const actionLoadScene: {
675
675
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
676
676
  };
677
677
  export declare const actionExportWithDarkMode: import("./types").Action<boolean> & {
678
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
678
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
679
679
  };
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
2
  import type { AppState } from "../types";
3
3
  type FormData = {
4
4
  event: PointerEvent;
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
2
  import type { AppClassProperties, AppState } from "../types";
3
3
  export declare const actionFlipHorizontal: {
4
4
  name: "flipHorizontal";
@@ -7,7 +7,7 @@ export declare const actionFlipHorizontal: {
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
10
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
10
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
11
11
  elements: ExcalidrawElement[];
12
12
  appState: Readonly<AppState>;
13
13
  captureUpdate: "IMMEDIATELY";
@@ -23,7 +23,7 @@ export declare const actionFlipVertical: {
23
23
  trackEvent: {
24
24
  category: "element";
25
25
  };
26
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
26
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
27
27
  elements: ExcalidrawElement[];
28
28
  appState: Readonly<AppState>;
29
29
  captureUpdate: "IMMEDIATELY";