@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
@@ -10,7 +10,7 @@ export declare const actionToggleSearchMenu: {
10
10
  action: string;
11
11
  predicate: (appState: Readonly<AppState>) => boolean;
12
12
  };
13
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties): false | {
13
+ perform(elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties): false | {
14
14
  appState: {
15
15
  openSidebar: {
16
16
  name: "default";
@@ -26,17 +26,17 @@ export declare const actionToggleSearchMenu: {
26
26
  isLoading: boolean;
27
27
  errorMessage: React.ReactNode;
28
28
  activeEmbeddable: {
29
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
29
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
30
30
  state: "hover" | "active";
31
31
  } | null;
32
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
33
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
34
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
35
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
32
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
33
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
34
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
35
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
36
36
  isBindingEnabled: boolean;
37
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
38
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
39
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
37
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
38
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
39
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
40
40
  frameRendering: {
41
41
  enabled: boolean;
42
42
  name: boolean;
@@ -44,8 +44,8 @@ export declare const actionToggleSearchMenu: {
44
44
  clip: boolean;
45
45
  };
46
46
  editingFrame: string | null;
47
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
48
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
47
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
48
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
49
49
  activeTool: {
50
50
  lastActiveTool: import("../types").ActiveTool | null;
51
51
  locked: boolean;
@@ -63,18 +63,18 @@ export declare const actionToggleSearchMenu: {
63
63
  exportScale: number;
64
64
  currentItemStrokeColor: string;
65
65
  currentItemBackgroundColor: string;
66
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
66
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
67
67
  currentItemStrokeWidth: number;
68
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
68
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
69
69
  currentItemRoughness: number;
70
70
  currentItemOpacity: number;
71
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
71
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
72
72
  currentItemFontSize: number;
73
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
74
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
75
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
76
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
77
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
73
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
74
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
75
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
76
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
77
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
78
78
  currentItemArrowType: "sharp" | "round" | "elbow";
79
79
  viewBackgroundColor: string;
80
80
  scrollX: number;
@@ -88,7 +88,7 @@ export declare const actionToggleSearchMenu: {
88
88
  openMenu: "canvas" | null;
89
89
  openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
90
90
  defaultSidebarDockedPreference: boolean;
91
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
91
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
92
92
  selectedElementIds: Readonly<{
93
93
  [id: string]: true;
94
94
  }>;
@@ -106,7 +106,7 @@ export declare const actionToggleSearchMenu: {
106
106
  duration?: number;
107
107
  } | null;
108
108
  zenModeEnabled: boolean;
109
- theme: import("@excalidraw/element/types").Theme;
109
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
110
110
  gridSize: number;
111
111
  gridStep: number;
112
112
  gridModeEnabled: boolean;
@@ -114,7 +114,7 @@ export declare const actionToggleSearchMenu: {
114
114
  selectedGroupIds: {
115
115
  [groupId: string]: boolean;
116
116
  };
117
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
117
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
118
118
  width: number;
119
119
  height: number;
120
120
  offsetTop: number;
@@ -125,7 +125,7 @@ export declare const actionToggleSearchMenu: {
125
125
  open: boolean;
126
126
  panels: number;
127
127
  };
128
- currentChartType: import("@excalidraw/element/types").ChartType;
128
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
129
129
  pasteDialog: {
130
130
  shown: false;
131
131
  data: null;
@@ -134,7 +134,7 @@ export declare const actionToggleSearchMenu: {
134
134
  data: import("../charts").Spreadsheet;
135
135
  };
136
136
  showHyperlinkPopup: false | "info" | "editor";
137
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
137
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
138
138
  snapLines: readonly import("../snapping").SnapLine[];
139
139
  originSnapOffset: {
140
140
  x: number;
@@ -144,21 +144,21 @@ export declare const actionToggleSearchMenu: {
144
144
  userToFollow: import("../types").UserToFollow | null;
145
145
  followedBy: Set<import("../types").SocketId>;
146
146
  isCropping: boolean;
147
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
147
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
148
148
  searchMatches: Readonly<{
149
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
149
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
150
150
  matches: readonly import("../types").SearchMatch[];
151
151
  }> | null;
152
152
  activeLockedId: string | null;
153
153
  lockedMultiSelections: {
154
154
  [groupId: string]: true;
155
155
  };
156
- bindMode: import("@excalidraw/element/types").BindMode;
156
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
157
157
  };
158
158
  captureUpdate: "EVENTUALLY";
159
159
  };
160
160
  checked: (appState: AppState) => boolean;
161
- predicate: (element: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
161
+ predicate: (element: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
162
162
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
163
163
  } & {
164
164
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
2
  export declare const actionToggleShapeSwitch: {
3
3
  name: "toggleShapeSwitch";
4
4
  label: string;
@@ -9,7 +9,7 @@ export declare const actionToggleShapeSwitch: {
9
9
  action: string;
10
10
  };
11
11
  keywords: string[];
12
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
12
+ perform(elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
13
13
  captureUpdate: "NEVER";
14
14
  };
15
15
  checked: (appState: Readonly<import("../types").AppState>) => boolean;
@@ -7,7 +7,7 @@ export declare const actionToggleStats: {
7
7
  category: "menu";
8
8
  };
9
9
  keywords: string[];
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
  stats: {
13
13
  open: boolean;
@@ -22,17 +22,17 @@ export declare const actionToggleStats: {
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 actionToggleStats: {
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 actionToggleStats: {
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 actionToggleStats: {
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,7 +119,7 @@ export declare const actionToggleStats: {
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
  gridModeEnabled: boolean;
@@ -127,14 +127,14 @@ export declare const actionToggleStats: {
127
127
  selectedGroupIds: {
128
128
  [groupId: string]: boolean;
129
129
  };
130
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
130
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
131
131
  width: number;
132
132
  height: number;
133
133
  offsetTop: number;
134
134
  offsetLeft: number;
135
135
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
136
136
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
137
- currentChartType: import("@excalidraw/element/types").ChartType;
137
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
138
138
  pasteDialog: {
139
139
  shown: false;
140
140
  data: null;
@@ -143,7 +143,7 @@ export declare const actionToggleStats: {
143
143
  data: import("../charts").Spreadsheet;
144
144
  };
145
145
  showHyperlinkPopup: false | "info" | "editor";
146
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
146
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
147
147
  snapLines: readonly import("../snapping").SnapLine[];
148
148
  originSnapOffset: {
149
149
  x: number;
@@ -153,16 +153,16 @@ export declare const actionToggleStats: {
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
  };
@@ -7,7 +7,7 @@ export declare const actionToggleViewMode: {
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
  viewModeEnabled: boolean;
13
13
  contextMenu: {
@@ -19,17 +19,17 @@ export declare const actionToggleViewMode: {
19
19
  isLoading: boolean;
20
20
  errorMessage: React.ReactNode;
21
21
  activeEmbeddable: {
22
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
22
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
23
23
  state: "hover" | "active";
24
24
  } | null;
25
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
28
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
26
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
27
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
28
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
29
29
  isBindingEnabled: boolean;
30
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
30
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
31
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
32
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
33
33
  frameRendering: {
34
34
  enabled: boolean;
35
35
  name: boolean;
@@ -37,8 +37,8 @@ export declare const actionToggleViewMode: {
37
37
  clip: boolean;
38
38
  };
39
39
  editingFrame: string | null;
40
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
41
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
42
42
  activeTool: {
43
43
  lastActiveTool: import("../types").ActiveTool | null;
44
44
  locked: boolean;
@@ -56,18 +56,18 @@ export declare const actionToggleViewMode: {
56
56
  exportScale: number;
57
57
  currentItemStrokeColor: string;
58
58
  currentItemBackgroundColor: string;
59
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
59
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
60
60
  currentItemStrokeWidth: number;
61
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
61
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
62
62
  currentItemRoughness: number;
63
63
  currentItemOpacity: number;
64
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
64
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
65
65
  currentItemFontSize: number;
66
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
67
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
68
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
69
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
70
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
66
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
67
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
68
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
69
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
70
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
71
71
  currentItemArrowType: "sharp" | "round" | "elbow";
72
72
  viewBackgroundColor: string;
73
73
  scrollX: number;
@@ -95,10 +95,10 @@ export declare const actionToggleViewMode: {
95
95
  name: "settings";
96
96
  } | {
97
97
  name: "elementLinkSelector";
98
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
98
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
99
99
  };
100
100
  defaultSidebarDockedPreference: boolean;
101
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
101
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
102
102
  selectedElementIds: Readonly<{
103
103
  [id: string]: true;
104
104
  }>;
@@ -116,14 +116,14 @@ export declare const actionToggleViewMode: {
116
116
  duration?: number;
117
117
  } | null;
118
118
  zenModeEnabled: boolean;
119
- theme: import("@excalidraw/element/types").Theme;
119
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
120
120
  gridSize: number;
121
121
  gridStep: number;
122
122
  gridModeEnabled: boolean;
123
123
  selectedGroupIds: {
124
124
  [groupId: string]: boolean;
125
125
  };
126
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
126
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
127
127
  width: number;
128
128
  height: number;
129
129
  offsetTop: number;
@@ -134,7 +134,7 @@ export declare const actionToggleViewMode: {
134
134
  open: boolean;
135
135
  panels: number;
136
136
  };
137
- currentChartType: import("@excalidraw/element/types").ChartType;
137
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
138
138
  pasteDialog: {
139
139
  shown: false;
140
140
  data: null;
@@ -143,7 +143,7 @@ export declare const actionToggleViewMode: {
143
143
  data: import("../charts").Spreadsheet;
144
144
  };
145
145
  showHyperlinkPopup: false | "info" | "editor";
146
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
146
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
147
147
  snapLines: readonly import("../snapping").SnapLine[];
148
148
  originSnapOffset: {
149
149
  x: number;
@@ -153,21 +153,21 @@ export declare const actionToggleViewMode: {
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;
@@ -7,7 +7,7 @@ export declare const actionToggleZenMode: {
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
  zenModeEnabled: boolean;
13
13
  contextMenu: {
@@ -19,17 +19,17 @@ export declare const actionToggleZenMode: {
19
19
  isLoading: boolean;
20
20
  errorMessage: React.ReactNode;
21
21
  activeEmbeddable: {
22
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
22
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
23
23
  state: "hover" | "active";
24
24
  } | null;
25
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
28
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
26
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
27
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
28
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
29
29
  isBindingEnabled: boolean;
30
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
30
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
31
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
32
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
33
33
  frameRendering: {
34
34
  enabled: boolean;
35
35
  name: boolean;
@@ -37,8 +37,8 @@ export declare const actionToggleZenMode: {
37
37
  clip: boolean;
38
38
  };
39
39
  editingFrame: string | null;
40
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
41
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
42
42
  activeTool: {
43
43
  lastActiveTool: import("../types").ActiveTool | null;
44
44
  locked: boolean;
@@ -56,18 +56,18 @@ export declare const actionToggleZenMode: {
56
56
  exportScale: number;
57
57
  currentItemStrokeColor: string;
58
58
  currentItemBackgroundColor: string;
59
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
59
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
60
60
  currentItemStrokeWidth: number;
61
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
61
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
62
62
  currentItemRoughness: number;
63
63
  currentItemOpacity: number;
64
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
64
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
65
65
  currentItemFontSize: number;
66
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
67
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
68
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
69
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
70
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
66
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
67
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
68
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
69
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
70
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
71
71
  currentItemArrowType: "sharp" | "round" | "elbow";
72
72
  viewBackgroundColor: string;
73
73
  scrollX: number;
@@ -95,10 +95,10 @@ export declare const actionToggleZenMode: {
95
95
  name: "settings";
96
96
  } | {
97
97
  name: "elementLinkSelector";
98
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
98
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
99
99
  };
100
100
  defaultSidebarDockedPreference: boolean;
101
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
101
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
102
102
  selectedElementIds: Readonly<{
103
103
  [id: string]: true;
104
104
  }>;
@@ -115,7 +115,7 @@ export declare const actionToggleZenMode: {
115
115
  closable?: boolean;
116
116
  duration?: number;
117
117
  } | null;
118
- theme: import("@excalidraw/element/types").Theme;
118
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
119
119
  gridSize: number;
120
120
  gridStep: number;
121
121
  gridModeEnabled: boolean;
@@ -123,7 +123,7 @@ export declare const actionToggleZenMode: {
123
123
  selectedGroupIds: {
124
124
  [groupId: string]: boolean;
125
125
  };
126
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
126
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
127
127
  width: number;
128
128
  height: number;
129
129
  offsetTop: number;
@@ -134,7 +134,7 @@ export declare const actionToggleZenMode: {
134
134
  open: boolean;
135
135
  panels: number;
136
136
  };
137
- currentChartType: import("@excalidraw/element/types").ChartType;
137
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
138
138
  pasteDialog: {
139
139
  shown: false;
140
140
  data: null;
@@ -143,7 +143,7 @@ export declare const actionToggleZenMode: {
143
143
  data: import("../charts").Spreadsheet;
144
144
  };
145
145
  showHyperlinkPopup: false | "info" | "editor";
146
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
146
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
147
147
  snapLines: readonly import("../snapping").SnapLine[];
148
148
  originSnapOffset: {
149
149
  x: number;
@@ -153,21 +153,21 @@ export declare const actionToggleZenMode: {
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, app: import("../types").AppClassProperties) => boolean;
170
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
171
171
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
172
172
  } & {
173
173
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;