@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
@@ -31,7 +31,9 @@ export declare const actionShortcuts: {
31
31
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
32
32
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
33
33
  isBindingEnabled: boolean;
34
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
34
+ boxSelectionMode: import("../types").BoxSelectionMode;
35
+ bindingPreference: "enabled" | "disabled";
36
+ isMidpointSnappingEnabled: boolean;
35
37
  suggestedBinding: {
36
38
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
37
39
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -45,7 +47,7 @@ export declare const actionShortcuts: {
45
47
  };
46
48
  editingFrame: string | null;
47
49
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
48
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
50
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
49
51
  activeTool: {
50
52
  lastActiveTool: import("../types").ActiveTool | null;
51
53
  locked: boolean;
@@ -64,9 +66,10 @@ export declare const actionShortcuts: {
64
66
  currentItemStrokeColor: string;
65
67
  currentItemBackgroundColor: string;
66
68
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
67
- currentItemStrokeWidth: number;
69
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
68
70
  currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
69
71
  currentItemRoughness: number;
72
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
70
73
  currentItemOpacity: number;
71
74
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
72
75
  currentItemFontSize: number;
@@ -103,7 +106,7 @@ export declare const actionShortcuts: {
103
106
  selectedElementsAreBeingDragged: boolean;
104
107
  shouldCacheIgnoreZoom: boolean;
105
108
  toast: {
106
- message: string;
109
+ message: React.ReactNode;
107
110
  closable?: boolean;
108
111
  duration?: number;
109
112
  } | null;
@@ -121,20 +124,12 @@ export declare const actionShortcuts: {
121
124
  height: number;
122
125
  offsetTop: number;
123
126
  offsetLeft: number;
124
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
127
+ fileHandle: FileSystemFileHandle | null;
125
128
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
126
129
  stats: {
127
130
  open: boolean;
128
131
  panels: number;
129
132
  };
130
- currentChartType: import("@excalidraw/element/types").ChartType;
131
- pasteDialog: {
132
- shown: false;
133
- data: null;
134
- } | {
135
- shown: true;
136
- data: import("../charts").Spreadsheet;
137
- };
138
133
  showHyperlinkPopup: false | "info" | "editor";
139
134
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
140
135
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1,8 +1,14 @@
1
+ import { type StrokeWidthKey } from "@excalidraw/common";
1
2
  import { LinearElementEditor } from "@excalidraw/element";
2
- import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, FontFamilyValues, TextAlign } from "@excalidraw/element/types";
3
+ import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, StrokeVariability, TextAlign } from "@excalidraw/element/types";
3
4
  import type { AppClassProperties, AppState, Primitive } from "../types";
4
5
  export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
5
- export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
6
+ export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties,
7
+ /**
8
+ * input value (usually the element attribute value,
9
+ * but depends on what the action's PanelComponent input expects)
10
+ */
11
+ getValue: (element: ExcalidrawElement) => T, elementPredicate: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
6
12
  export declare const actionChangeStrokeColor: import("./types").Action<Pick<AppState, "currentItemStrokeColor">> & {
7
13
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
8
14
  };
@@ -12,12 +18,15 @@ export declare const actionChangeBackgroundColor: import("./types").Action<Pick<
12
18
  export declare const actionChangeFillStyle: import("./types").Action<import("@excalidraw/element/types").FillStyle> & {
13
19
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
14
20
  };
15
- export declare const actionChangeStrokeWidth: import("./types").Action<number> & {
21
+ export declare const actionChangeStrokeWidth: import("./types").Action<StrokeWidthKey> & {
16
22
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
17
23
  };
18
24
  export declare const actionChangeSloppiness: import("./types").Action<number> & {
19
25
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
20
26
  };
27
+ export declare const actionChangeFreedrawMode: import("./types").Action<StrokeVariability> & {
28
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
29
+ };
21
30
  export declare const actionChangeStrokeStyle: import("./types").Action<import("@excalidraw/element/types").StrokeStyle> & {
22
31
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
23
32
  };
@@ -53,7 +62,9 @@ export declare const actionDecreaseFontSize: {
53
62
  multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
54
63
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
55
64
  isBindingEnabled: boolean;
56
- startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
65
+ boxSelectionMode: import("../types").BoxSelectionMode;
66
+ bindingPreference: "enabled" | "disabled";
67
+ isMidpointSnappingEnabled: boolean;
57
68
  suggestedBinding: {
58
69
  element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
59
70
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -67,7 +78,7 @@ export declare const actionDecreaseFontSize: {
67
78
  };
68
79
  editingFrame: string | null;
69
80
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
70
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
81
+ editingTextElement: ExcalidrawTextElement | null;
71
82
  activeTool: {
72
83
  lastActiveTool: import("../types").ActiveTool | null;
73
84
  locked: boolean;
@@ -86,9 +97,10 @@ export declare const actionDecreaseFontSize: {
86
97
  currentItemStrokeColor: string;
87
98
  currentItemBackgroundColor: string;
88
99
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
89
- currentItemStrokeWidth: number;
100
+ currentItemStrokeWidthKey: StrokeWidthKey;
90
101
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
91
102
  currentItemRoughness: number;
103
+ currentItemStrokeVariability: StrokeVariability;
92
104
  currentItemOpacity: number;
93
105
  currentItemFontFamily: FontFamilyValues;
94
106
  currentItemTextAlign: TextAlign;
@@ -124,6 +136,10 @@ export declare const actionDecreaseFontSize: {
124
136
  } | {
125
137
  name: "elementLinkSelector";
126
138
  sourceElementId: ExcalidrawElement["id"];
139
+ } | {
140
+ name: "charts";
141
+ data: import("../charts").Spreadsheet;
142
+ rawText: string;
127
143
  };
128
144
  defaultSidebarDockedPreference: boolean;
129
145
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -139,7 +155,7 @@ export declare const actionDecreaseFontSize: {
139
155
  selectedElementsAreBeingDragged: boolean;
140
156
  shouldCacheIgnoreZoom: boolean;
141
157
  toast: {
142
- message: string;
158
+ message: React.ReactNode;
143
159
  closable?: boolean;
144
160
  duration?: number;
145
161
  } | null;
@@ -157,20 +173,12 @@ export declare const actionDecreaseFontSize: {
157
173
  height: number;
158
174
  offsetTop: number;
159
175
  offsetLeft: number;
160
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
176
+ fileHandle: FileSystemFileHandle | null;
161
177
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
162
178
  stats: {
163
179
  open: boolean;
164
180
  panels: number;
165
181
  };
166
- currentChartType: import("@excalidraw/element/types").ChartType;
167
- pasteDialog: {
168
- shown: false;
169
- data: null;
170
- } | {
171
- shown: true;
172
- data: import("../charts").Spreadsheet;
173
- };
174
182
  showHyperlinkPopup: false | "info" | "editor";
175
183
  selectedLinearElement: LinearElementEditor | null;
176
184
  snapLines: readonly import("../snapping").SnapLine[];
@@ -225,7 +233,9 @@ export declare const actionIncreaseFontSize: {
225
233
  multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
226
234
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
227
235
  isBindingEnabled: boolean;
228
- startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
236
+ boxSelectionMode: import("../types").BoxSelectionMode;
237
+ bindingPreference: "enabled" | "disabled";
238
+ isMidpointSnappingEnabled: boolean;
229
239
  suggestedBinding: {
230
240
  element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
231
241
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -239,7 +249,7 @@ export declare const actionIncreaseFontSize: {
239
249
  };
240
250
  editingFrame: string | null;
241
251
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
242
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
252
+ editingTextElement: ExcalidrawTextElement | null;
243
253
  activeTool: {
244
254
  lastActiveTool: import("../types").ActiveTool | null;
245
255
  locked: boolean;
@@ -258,9 +268,10 @@ export declare const actionIncreaseFontSize: {
258
268
  currentItemStrokeColor: string;
259
269
  currentItemBackgroundColor: string;
260
270
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
261
- currentItemStrokeWidth: number;
271
+ currentItemStrokeWidthKey: StrokeWidthKey;
262
272
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
263
273
  currentItemRoughness: number;
274
+ currentItemStrokeVariability: StrokeVariability;
264
275
  currentItemOpacity: number;
265
276
  currentItemFontFamily: FontFamilyValues;
266
277
  currentItemTextAlign: TextAlign;
@@ -296,6 +307,10 @@ export declare const actionIncreaseFontSize: {
296
307
  } | {
297
308
  name: "elementLinkSelector";
298
309
  sourceElementId: ExcalidrawElement["id"];
310
+ } | {
311
+ name: "charts";
312
+ data: import("../charts").Spreadsheet;
313
+ rawText: string;
299
314
  };
300
315
  defaultSidebarDockedPreference: boolean;
301
316
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -311,7 +326,7 @@ export declare const actionIncreaseFontSize: {
311
326
  selectedElementsAreBeingDragged: boolean;
312
327
  shouldCacheIgnoreZoom: boolean;
313
328
  toast: {
314
- message: string;
329
+ message: React.ReactNode;
315
330
  closable?: boolean;
316
331
  duration?: number;
317
332
  } | null;
@@ -329,20 +344,12 @@ export declare const actionIncreaseFontSize: {
329
344
  height: number;
330
345
  offsetTop: number;
331
346
  offsetLeft: number;
332
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
347
+ fileHandle: FileSystemFileHandle | null;
333
348
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
334
349
  stats: {
335
350
  open: boolean;
336
351
  panels: number;
337
352
  };
338
- currentChartType: import("@excalidraw/element/types").ChartType;
339
- pasteDialog: {
340
- shown: false;
341
- data: null;
342
- } | {
343
- shown: true;
344
- data: import("../charts").Spreadsheet;
345
- };
346
353
  showHyperlinkPopup: false | "info" | "editor";
347
354
  selectedLinearElement: LinearElementEditor | null;
348
355
  snapLines: readonly import("../snapping").SnapLine[];
@@ -31,7 +31,9 @@ export declare const actionSelectAll: {
31
31
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
32
32
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
33
33
  isBindingEnabled: boolean;
34
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
34
+ boxSelectionMode: import("../types").BoxSelectionMode;
35
+ bindingPreference: "enabled" | "disabled";
36
+ isMidpointSnappingEnabled: boolean;
35
37
  suggestedBinding: {
36
38
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
37
39
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -45,7 +47,7 @@ export declare const actionSelectAll: {
45
47
  };
46
48
  editingFrame: string | null;
47
49
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
48
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
50
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
49
51
  activeTool: {
50
52
  lastActiveTool: import("../types").ActiveTool | null;
51
53
  locked: boolean;
@@ -64,9 +66,10 @@ export declare const actionSelectAll: {
64
66
  currentItemStrokeColor: string;
65
67
  currentItemBackgroundColor: string;
66
68
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
67
- currentItemStrokeWidth: number;
69
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
68
70
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
69
71
  currentItemRoughness: number;
72
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
70
73
  currentItemOpacity: number;
71
74
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
72
75
  currentItemFontSize: number;
@@ -103,6 +106,10 @@ export declare const actionSelectAll: {
103
106
  } | {
104
107
  name: "elementLinkSelector";
105
108
  sourceElementId: ExcalidrawElement["id"];
109
+ } | {
110
+ name: "charts";
111
+ data: import("../charts").Spreadsheet;
112
+ rawText: string;
106
113
  };
107
114
  defaultSidebarDockedPreference: boolean;
108
115
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -115,7 +122,7 @@ export declare const actionSelectAll: {
115
122
  selectedElementsAreBeingDragged: boolean;
116
123
  shouldCacheIgnoreZoom: boolean;
117
124
  toast: {
118
- message: string;
125
+ message: React.ReactNode;
119
126
  closable?: boolean;
120
127
  duration?: number;
121
128
  } | null;
@@ -129,20 +136,12 @@ export declare const actionSelectAll: {
129
136
  height: number;
130
137
  offsetTop: number;
131
138
  offsetLeft: number;
132
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
139
+ fileHandle: FileSystemFileHandle | null;
133
140
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
134
141
  stats: {
135
142
  open: boolean;
136
143
  panels: number;
137
144
  };
138
- currentChartType: import("@excalidraw/element/types").ChartType;
139
- pasteDialog: {
140
- shown: false;
141
- data: null;
142
- } | {
143
- shown: true;
144
- data: import("../charts").Spreadsheet;
145
- };
146
145
  showHyperlinkPopup: false | "info" | "editor";
147
146
  snapLines: readonly import("../snapping").SnapLine[];
148
147
  originSnapOffset: {
@@ -1,3 +1,4 @@
1
+ import type { ExcalidrawTextElement } from "@excalidraw/element/types";
1
2
  export declare let copiedStyles: string;
2
3
  export declare const actionCopyStyles: {
3
4
  name: "copyStyles";
@@ -28,7 +29,9 @@ export declare const actionCopyStyles: {
28
29
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
29
30
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
30
31
  isBindingEnabled: boolean;
31
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
+ boxSelectionMode: import("../types").BoxSelectionMode;
33
+ bindingPreference: "enabled" | "disabled";
34
+ isMidpointSnappingEnabled: boolean;
32
35
  suggestedBinding: {
33
36
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
34
37
  midPoint?: import("@excalidraw/math").GlobalPoint;
@@ -42,7 +45,7 @@ export declare const actionCopyStyles: {
42
45
  };
43
46
  editingFrame: string | null;
44
47
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
45
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
48
+ editingTextElement: ExcalidrawTextElement | null;
46
49
  activeTool: {
47
50
  lastActiveTool: import("../types").ActiveTool | null;
48
51
  locked: boolean;
@@ -61,9 +64,10 @@ export declare const actionCopyStyles: {
61
64
  currentItemStrokeColor: string;
62
65
  currentItemBackgroundColor: string;
63
66
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
64
- currentItemStrokeWidth: number;
67
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
65
68
  currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
66
69
  currentItemRoughness: number;
70
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
67
71
  currentItemOpacity: number;
68
72
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
69
73
  currentItemFontSize: number;
@@ -100,6 +104,10 @@ export declare const actionCopyStyles: {
100
104
  } | {
101
105
  name: "elementLinkSelector";
102
106
  sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
107
+ } | {
108
+ name: "charts";
109
+ data: import("../charts").Spreadsheet;
110
+ rawText: string;
103
111
  };
104
112
  defaultSidebarDockedPreference: boolean;
105
113
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -128,20 +136,12 @@ export declare const actionCopyStyles: {
128
136
  height: number;
129
137
  offsetTop: number;
130
138
  offsetLeft: number;
131
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
139
+ fileHandle: FileSystemFileHandle | null;
132
140
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
133
141
  stats: {
134
142
  open: boolean;
135
143
  panels: number;
136
144
  };
137
- currentChartType: import("@excalidraw/element/types").ChartType;
138
- pasteDialog: {
139
- shown: false;
140
- data: null;
141
- } | {
142
- shown: true;
143
- data: import("../charts").Spreadsheet;
144
- };
145
145
  showHyperlinkPopup: false | "info" | "editor";
146
146
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
147
147
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1,4 +1,4 @@
1
- import type { AppClassProperties } from "../types";
1
+ import type { ExcalidrawElement } from "@excalidraw/element/types";
2
2
  export declare const actionTextAutoResize: {
3
3
  name: "autoResize";
4
4
  label: string;
@@ -6,8 +6,8 @@ export declare const actionTextAutoResize: {
6
6
  trackEvent: {
7
7
  category: "element";
8
8
  };
9
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: unknown, app: AppClassProperties) => boolean;
10
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
9
+ predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, _: unknown) => boolean;
10
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, targetElement: unknown) => {
11
11
  appState: Readonly<import("../types").AppState>;
12
12
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
13
13
  captureUpdate: "IMMEDIATELY";
@@ -0,0 +1,173 @@
1
+ export declare const actionToggleArrowBinding: {
2
+ name: "arrowBinding";
3
+ label: string;
4
+ viewMode: false;
5
+ trackEvent: {
6
+ category: "canvas";
7
+ predicate: (appState: Readonly<import("../types").AppState>) => boolean;
8
+ };
9
+ perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>): {
10
+ appState: {
11
+ bindingPreference: "enabled" | "disabled";
12
+ isBindingEnabled: boolean;
13
+ contextMenu: {
14
+ items: import("../components/ContextMenu").ContextMenuItems;
15
+ top: number;
16
+ left: number;
17
+ } | null;
18
+ showWelcomeScreen: boolean;
19
+ isLoading: boolean;
20
+ errorMessage: React.ReactNode;
21
+ activeEmbeddable: {
22
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
23
+ state: "hover" | "active";
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;
29
+ boxSelectionMode: import("../types").BoxSelectionMode;
30
+ isMidpointSnappingEnabled: boolean;
31
+ suggestedBinding: {
32
+ element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
33
+ midPoint?: import("@excalidraw/math").GlobalPoint;
34
+ } | null;
35
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
36
+ frameRendering: {
37
+ enabled: boolean;
38
+ name: boolean;
39
+ outline: boolean;
40
+ clip: boolean;
41
+ };
42
+ editingFrame: string | null;
43
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
44
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
45
+ activeTool: {
46
+ lastActiveTool: import("../types").ActiveTool | null;
47
+ locked: boolean;
48
+ fromSelection: boolean;
49
+ } & import("../types").ActiveTool;
50
+ preferredSelectionTool: {
51
+ type: "selection" | "lasso";
52
+ initialized: boolean;
53
+ };
54
+ penMode: boolean;
55
+ penDetected: boolean;
56
+ exportBackground: boolean;
57
+ exportEmbedScene: boolean;
58
+ exportWithDarkMode: boolean;
59
+ exportScale: number;
60
+ currentItemStrokeColor: string;
61
+ currentItemBackgroundColor: string;
62
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
63
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
64
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
65
+ currentItemRoughness: number;
66
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
67
+ currentItemOpacity: number;
68
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
69
+ currentItemFontSize: number;
70
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
71
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
72
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
73
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
74
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
75
+ currentItemArrowType: "sharp" | "round" | "elbow";
76
+ viewBackgroundColor: string;
77
+ scrollX: number;
78
+ scrollY: number;
79
+ cursorButton: "up" | "down";
80
+ scrolledOutside: boolean;
81
+ name: string | null;
82
+ isResizing: boolean;
83
+ isRotating: boolean;
84
+ zoom: import("../types").Zoom;
85
+ openMenu: "canvas" | null;
86
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
87
+ openSidebar: {
88
+ name: import("../types").SidebarName;
89
+ tab?: import("../types").SidebarTabName;
90
+ } | null;
91
+ openDialog: null | {
92
+ name: "imageExport" | "help" | "jsonExport";
93
+ } | {
94
+ name: "ttd";
95
+ tab: "text-to-diagram" | "mermaid";
96
+ } | {
97
+ name: "commandPalette";
98
+ } | {
99
+ name: "settings";
100
+ } | {
101
+ name: "elementLinkSelector";
102
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
103
+ } | {
104
+ name: "charts";
105
+ data: import("../charts").Spreadsheet;
106
+ rawText: string;
107
+ };
108
+ defaultSidebarDockedPreference: boolean;
109
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
110
+ selectedElementIds: Readonly<{
111
+ [id: string]: true;
112
+ }>;
113
+ hoveredElementIds: Readonly<{
114
+ [id: string]: true;
115
+ }>;
116
+ previousSelectedElementIds: {
117
+ [id: string]: true;
118
+ };
119
+ selectedElementsAreBeingDragged: boolean;
120
+ shouldCacheIgnoreZoom: boolean;
121
+ toast: {
122
+ message: React.ReactNode;
123
+ closable?: boolean;
124
+ duration?: number;
125
+ } | null;
126
+ zenModeEnabled: boolean;
127
+ theme: import("@excalidraw/element/types").Theme;
128
+ gridSize: number;
129
+ gridStep: number;
130
+ gridModeEnabled: boolean;
131
+ viewModeEnabled: boolean;
132
+ selectedGroupIds: {
133
+ [groupId: string]: boolean;
134
+ };
135
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
136
+ width: number;
137
+ height: number;
138
+ offsetTop: number;
139
+ offsetLeft: number;
140
+ fileHandle: FileSystemFileHandle | null;
141
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
142
+ stats: {
143
+ open: boolean;
144
+ panels: number;
145
+ };
146
+ showHyperlinkPopup: false | "info" | "editor";
147
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
148
+ snapLines: readonly import("../snapping").SnapLine[];
149
+ originSnapOffset: {
150
+ x: number;
151
+ y: number;
152
+ } | null;
153
+ objectsSnapModeEnabled: boolean;
154
+ userToFollow: import("../types").UserToFollow | null;
155
+ followedBy: Set<import("../types").SocketId>;
156
+ isCropping: boolean;
157
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
158
+ searchMatches: Readonly<{
159
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
160
+ matches: readonly import("../types").SearchMatch[];
161
+ }> | null;
162
+ activeLockedId: string | null;
163
+ lockedMultiSelections: {
164
+ [groupId: string]: true;
165
+ };
166
+ bindMode: import("@excalidraw/element/types").BindMode;
167
+ };
168
+ captureUpdate: "NEVER";
169
+ };
170
+ checked: (appState: Readonly<import("../types").AppState>) => boolean;
171
+ } & {
172
+ keyTest?: undefined;
173
+ };
@@ -30,7 +30,9 @@ export declare const actionToggleGridMode: {
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 actionToggleGridMode: {
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
  activeTool: {
49
51
  lastActiveTool: import("../types").ActiveTool | null;
50
52
  locked: boolean;
@@ -63,9 +65,10 @@ export declare const actionToggleGridMode: {
63
65
  currentItemStrokeColor: string;
64
66
  currentItemBackgroundColor: string;
65
67
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
66
- currentItemStrokeWidth: number;
68
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
67
69
  currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
68
70
  currentItemRoughness: number;
71
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
69
72
  currentItemOpacity: number;
70
73
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
71
74
  currentItemFontSize: number;
@@ -102,6 +105,10 @@ export declare const actionToggleGridMode: {
102
105
  } | {
103
106
  name: "elementLinkSelector";
104
107
  sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
108
+ } | {
109
+ name: "charts";
110
+ data: import("../charts").Spreadsheet;
111
+ rawText: string;
105
112
  };
106
113
  defaultSidebarDockedPreference: boolean;
107
114
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -117,7 +124,7 @@ export declare const actionToggleGridMode: {
117
124
  selectedElementsAreBeingDragged: boolean;
118
125
  shouldCacheIgnoreZoom: boolean;
119
126
  toast: {
120
- message: string;
127
+ message: React.ReactNode;
121
128
  closable?: boolean;
122
129
  duration?: number;
123
130
  } | null;
@@ -134,20 +141,12 @@ export declare const actionToggleGridMode: {
134
141
  height: number;
135
142
  offsetTop: number;
136
143
  offsetLeft: number;
137
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
144
+ fileHandle: FileSystemFileHandle | null;
138
145
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
139
146
  stats: {
140
147
  open: boolean;
141
148
  panels: number;
142
149
  };
143
- currentChartType: import("@excalidraw/element/types").ChartType;
144
- pasteDialog: {
145
- shown: false;
146
- data: null;
147
- } | {
148
- shown: true;
149
- data: import("../charts").Spreadsheet;
150
- };
151
150
  showHyperlinkPopup: false | "info" | "editor";
152
151
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
153
152
  snapLines: readonly import("../snapping").SnapLine[];