@excalidraw/element 0.18.0-2874f9e → 0.18.0-2a82821

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 (144) hide show
  1. package/dist/dev/index.js +5228 -4610
  2. package/dist/dev/index.js.map +4 -4
  3. package/dist/prod/index.js +19 -18
  4. package/dist/types/common/src/appEventBus.d.ts +27 -0
  5. package/dist/types/common/src/colors.d.ts +2 -2
  6. package/dist/types/common/src/constants.d.ts +9 -7
  7. package/dist/types/common/src/index.d.ts +2 -0
  8. package/dist/types/common/src/utils.d.ts +1 -3
  9. package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
  10. package/dist/types/element/src/Scene.d.ts +7 -3
  11. package/dist/types/element/src/arrowheads.d.ts +3 -0
  12. package/dist/types/element/src/binding.d.ts +3 -4
  13. package/dist/types/element/src/bounds.d.ts +22 -3
  14. package/dist/types/element/src/comparisons.d.ts +1 -0
  15. package/dist/types/element/src/duplicate.d.ts +1 -0
  16. package/dist/types/element/src/elbowArrow.d.ts +2 -0
  17. package/dist/types/element/src/frame.d.ts +7 -6
  18. package/dist/types/element/src/index.d.ts +1 -0
  19. package/dist/types/element/src/linearElementEditor.d.ts +5 -2
  20. package/dist/types/element/src/mutateElement.d.ts +2 -0
  21. package/dist/types/element/src/newElement.d.ts +1 -0
  22. package/dist/types/element/src/selection.d.ts +7 -3
  23. package/dist/types/element/src/shape.d.ts +1 -1
  24. package/dist/types/element/src/textElement.d.ts +1 -1
  25. package/dist/types/element/src/textWrapping.d.ts +26 -0
  26. package/dist/types/element/src/typeChecks.d.ts +1 -0
  27. package/dist/types/element/src/types.d.ts +11 -2
  28. package/dist/types/element/src/utils.d.ts +2 -2
  29. package/dist/types/element/src/visualdebug.d.ts +1 -2
  30. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +35 -38
  31. package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -27
  32. package/dist/types/excalidraw/actions/actionCanvas.d.ts +144 -156
  33. package/dist/types/excalidraw/actions/actionClipboard.d.ts +24 -26
  34. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -13
  35. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +36 -39
  36. package/dist/types/excalidraw/actions/actionDeselect.d.ts +160 -0
  37. package/dist/types/excalidraw/actions/actionElementLink.d.ts +8 -13
  38. package/dist/types/excalidraw/actions/actionElementLock.d.ts +24 -26
  39. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -13
  40. package/dist/types/excalidraw/actions/actionExport.d.ts +67 -349
  41. package/dist/types/excalidraw/actions/actionFrame.d.ts +49 -52
  42. package/dist/types/excalidraw/actions/actionGroup.d.ts +25 -27
  43. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +13 -13
  44. package/dist/types/excalidraw/actions/actionLink.d.ts +12 -13
  45. package/dist/types/excalidraw/actions/actionMenu.d.ts +8 -13
  46. package/dist/types/excalidraw/actions/actionProperties.d.ts +36 -29
  47. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -13
  48. package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -12
  49. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  50. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +173 -0
  51. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -13
  52. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +173 -0
  53. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -13
  54. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -13
  55. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +12 -13
  56. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -13
  57. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -13
  58. package/dist/types/excalidraw/actions/index.d.ts +4 -1
  59. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  60. package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
  61. package/dist/types/excalidraw/appState.d.ts +6 -2
  62. package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
  63. package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
  64. package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
  65. package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
  66. package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
  67. package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
  68. package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
  69. package/dist/types/excalidraw/charts/index.d.ts +7 -0
  70. package/dist/types/excalidraw/clipboard.d.ts +2 -5
  71. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
  72. package/dist/types/excalidraw/components/App.d.ts +54 -14
  73. package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
  74. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  75. package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
  76. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
  77. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  78. package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
  79. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  80. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
  81. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
  82. package/dist/types/excalidraw/components/Range.d.ts +10 -4
  83. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
  84. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
  85. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
  86. package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
  87. package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +4 -4
  88. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
  89. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +4 -1
  90. package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
  91. package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +3 -3
  92. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
  93. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
  94. package/dist/types/excalidraw/components/Toast.d.ts +8 -4
  95. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -1
  96. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -0
  97. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  98. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -1
  99. package/dist/types/excalidraw/components/icons.d.ts +19 -8
  100. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +9 -3
  101. package/dist/types/excalidraw/components/shapes.d.ts +7 -0
  102. package/dist/types/excalidraw/data/blob.d.ts +31 -34
  103. package/dist/types/excalidraw/data/filesystem.d.ts +3 -5
  104. package/dist/types/excalidraw/data/index.d.ts +2 -3
  105. package/dist/types/excalidraw/data/json.d.ts +30 -23
  106. package/dist/types/excalidraw/data/library.d.ts +1 -1
  107. package/dist/types/excalidraw/data/resave.d.ts +7 -2
  108. package/dist/types/excalidraw/eraser/index.d.ts +2 -3
  109. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  110. package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
  111. package/dist/types/excalidraw/lasso/index.d.ts +2 -3
  112. package/dist/types/excalidraw/renderer/animation.d.ts +4 -1
  113. package/dist/types/excalidraw/scene/Renderer.d.ts +426 -19
  114. package/dist/types/excalidraw/scene/index.d.ts +1 -1
  115. package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
  116. package/dist/types/excalidraw/types.d.ts +110 -18
  117. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +5 -1
  118. package/dist/types/fractional-indexing/src/index.d.ts +29 -0
  119. package/dist/types/laser-pointer/src/index.d.ts +2 -0
  120. package/dist/types/laser-pointer/src/math.d.ts +16 -0
  121. package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
  122. package/dist/types/laser-pointer/src/state.d.ts +35 -0
  123. package/dist/types/math/src/constants.d.ts +0 -1
  124. package/dist/types/math/src/curve.d.ts +4 -1
  125. package/dist/types/math/src/point.d.ts +2 -1
  126. package/dist/types/utils/src/index.d.ts +1 -2
  127. package/package.json +4 -3
  128. package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
  129. package/dist/types/excalidraw/charts.d.ts +0 -27
  130. package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
  131. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -15
  132. package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
  133. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +0 -8
  134. package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +0 -24
  135. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
  136. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -11
  137. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
  138. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
  139. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -84
  140. package/dist/types/excalidraw/data/reconcile.d.ts +0 -7
  141. package/dist/types/excalidraw/index.d.ts +0 -47
  142. package/dist/types/excalidraw/polyfill.d.ts +0 -2
  143. package/dist/types/utils/src/bbox.d.ts +0 -9
  144. package/dist/types/utils/src/withinBounds.d.ts +0 -19
@@ -39,7 +39,9 @@ export declare const actionToggleElementLock: {
39
39
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
40
40
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
41
41
  isBindingEnabled: boolean;
42
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
42
+ boxSelectionMode: import("../types").BoxSelectionMode;
43
+ bindingPreference: "enabled" | "disabled";
44
+ isMidpointSnappingEnabled: boolean;
43
45
  suggestedBinding: {
44
46
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
45
47
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -53,7 +55,7 @@ export declare const actionToggleElementLock: {
53
55
  };
54
56
  editingFrame: string | null;
55
57
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
56
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
58
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
57
59
  activeTool: {
58
60
  lastActiveTool: import("../types").ActiveTool | null;
59
61
  locked: boolean;
@@ -72,9 +74,10 @@ export declare const actionToggleElementLock: {
72
74
  currentItemStrokeColor: string;
73
75
  currentItemBackgroundColor: string;
74
76
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
75
- currentItemStrokeWidth: number;
77
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
76
78
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
77
79
  currentItemRoughness: number;
80
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
78
81
  currentItemOpacity: number;
79
82
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
80
83
  currentItemFontSize: number;
@@ -111,6 +114,10 @@ export declare const actionToggleElementLock: {
111
114
  } | {
112
115
  name: "elementLinkSelector";
113
116
  sourceElementId: ExcalidrawElement["id"];
117
+ } | {
118
+ name: "charts";
119
+ data: import("../charts").Spreadsheet;
120
+ rawText: string;
114
121
  };
115
122
  defaultSidebarDockedPreference: boolean;
116
123
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -123,7 +130,7 @@ export declare const actionToggleElementLock: {
123
130
  selectedElementsAreBeingDragged: boolean;
124
131
  shouldCacheIgnoreZoom: boolean;
125
132
  toast: {
126
- message: string;
133
+ message: React.ReactNode;
127
134
  closable?: boolean;
128
135
  duration?: number;
129
136
  } | null;
@@ -138,20 +145,12 @@ export declare const actionToggleElementLock: {
138
145
  height: number;
139
146
  offsetTop: number;
140
147
  offsetLeft: number;
141
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
148
+ fileHandle: FileSystemFileHandle | null;
142
149
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
143
150
  stats: {
144
151
  open: boolean;
145
152
  panels: number;
146
153
  };
147
- currentChartType: import("@excalidraw/element/types").ChartType;
148
- pasteDialog: {
149
- shown: false;
150
- data: null;
151
- } | {
152
- shown: true;
153
- data: import("../charts").Spreadsheet;
154
- };
155
154
  showHyperlinkPopup: false | "info" | "editor";
156
155
  snapLines: readonly import("../snapping").SnapLine[];
157
156
  originSnapOffset: {
@@ -211,7 +210,9 @@ export declare const actionUnlockAllElements: {
211
210
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
212
211
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
213
212
  isBindingEnabled: boolean;
214
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
213
+ boxSelectionMode: import("../types").BoxSelectionMode;
214
+ bindingPreference: "enabled" | "disabled";
215
+ isMidpointSnappingEnabled: boolean;
215
216
  suggestedBinding: {
216
217
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
217
218
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -225,7 +226,7 @@ export declare const actionUnlockAllElements: {
225
226
  };
226
227
  editingFrame: string | null;
227
228
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
228
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
229
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
229
230
  activeTool: {
230
231
  lastActiveTool: import("../types").ActiveTool | null;
231
232
  locked: boolean;
@@ -244,9 +245,10 @@ export declare const actionUnlockAllElements: {
244
245
  currentItemStrokeColor: string;
245
246
  currentItemBackgroundColor: string;
246
247
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
247
- currentItemStrokeWidth: number;
248
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
248
249
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
249
250
  currentItemRoughness: number;
251
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
250
252
  currentItemOpacity: number;
251
253
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
252
254
  currentItemFontSize: number;
@@ -283,6 +285,10 @@ export declare const actionUnlockAllElements: {
283
285
  } | {
284
286
  name: "elementLinkSelector";
285
287
  sourceElementId: ExcalidrawElement["id"];
288
+ } | {
289
+ name: "charts";
290
+ data: import("../charts").Spreadsheet;
291
+ rawText: string;
286
292
  };
287
293
  defaultSidebarDockedPreference: boolean;
288
294
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -295,7 +301,7 @@ export declare const actionUnlockAllElements: {
295
301
  selectedElementsAreBeingDragged: boolean;
296
302
  shouldCacheIgnoreZoom: boolean;
297
303
  toast: {
298
- message: string;
304
+ message: React.ReactNode;
299
305
  closable?: boolean;
300
306
  duration?: number;
301
307
  } | null;
@@ -310,20 +316,12 @@ export declare const actionUnlockAllElements: {
310
316
  height: number;
311
317
  offsetTop: number;
312
318
  offsetLeft: number;
313
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
319
+ fileHandle: FileSystemFileHandle | null;
314
320
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
315
321
  stats: {
316
322
  open: boolean;
317
323
  panels: number;
318
324
  };
319
- currentChartType: import("@excalidraw/element/types").ChartType;
320
- pasteDialog: {
321
- shown: false;
322
- data: null;
323
- } | {
324
- shown: true;
325
- data: import("../charts").Spreadsheet;
326
- };
327
325
  showHyperlinkPopup: false | "info" | "editor";
328
326
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
329
327
  snapLines: readonly import("../snapping").SnapLine[];
@@ -30,7 +30,9 @@ export declare const actionSetEmbeddableAsActiveTool: {
30
30
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
31
31
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
32
32
  isBindingEnabled: boolean;
33
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
33
+ boxSelectionMode: import("../types").BoxSelectionMode;
34
+ bindingPreference: "enabled" | "disabled";
35
+ isMidpointSnappingEnabled: boolean;
34
36
  suggestedBinding: {
35
37
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
36
38
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -44,7 +46,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
44
46
  };
45
47
  editingFrame: string | null;
46
48
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
47
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
49
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
48
50
  preferredSelectionTool: {
49
51
  type: "selection" | "lasso";
50
52
  initialized: boolean;
@@ -58,9 +60,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
58
60
  currentItemStrokeColor: string;
59
61
  currentItemBackgroundColor: string;
60
62
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
61
- currentItemStrokeWidth: number;
63
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
62
64
  currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
63
65
  currentItemRoughness: number;
66
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
64
67
  currentItemOpacity: number;
65
68
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
66
69
  currentItemFontSize: number;
@@ -97,6 +100,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
97
100
  } | {
98
101
  name: "elementLinkSelector";
99
102
  sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
103
+ } | {
104
+ name: "charts";
105
+ data: import("../charts").Spreadsheet;
106
+ rawText: string;
100
107
  };
101
108
  defaultSidebarDockedPreference: boolean;
102
109
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -112,7 +119,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
112
119
  selectedElementsAreBeingDragged: boolean;
113
120
  shouldCacheIgnoreZoom: boolean;
114
121
  toast: {
115
- message: string;
122
+ message: React.ReactNode;
116
123
  closable?: boolean;
117
124
  duration?: number;
118
125
  } | null;
@@ -130,20 +137,12 @@ export declare const actionSetEmbeddableAsActiveTool: {
130
137
  height: number;
131
138
  offsetTop: number;
132
139
  offsetLeft: number;
133
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
140
+ fileHandle: FileSystemFileHandle | null;
134
141
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
135
142
  stats: {
136
143
  open: boolean;
137
144
  panels: number;
138
145
  };
139
- currentChartType: import("@excalidraw/element/types").ChartType;
140
- pasteDialog: {
141
- shown: false;
142
- data: null;
143
- } | {
144
- shown: true;
145
- data: import("../charts").Spreadsheet;
146
- };
147
146
  showHyperlinkPopup: false | "info" | "editor";
148
147
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
149
148
  snapLines: readonly import("../snapping").SnapLine[];