@excalidraw/common 0.18.0-2b1c2a9 → 0.18.0-2c3dcc0

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 (164) hide show
  1. package/dist/dev/index.js +108 -20
  2. package/dist/dev/index.js.map +3 -3
  3. package/dist/prod/index.js +3 -3
  4. package/dist/types/common/src/colors.d.ts +3 -0
  5. package/dist/types/common/src/constants.d.ts +56 -0
  6. package/dist/types/common/src/keys.d.ts +4 -0
  7. package/dist/types/common/src/random.d.ts +7 -0
  8. package/dist/types/common/src/utils.d.ts +12 -1
  9. package/dist/types/element/src/Scene.d.ts +1 -1
  10. package/dist/types/element/src/align.d.ts +4 -1
  11. package/dist/types/element/src/binding.d.ts +75 -7
  12. package/dist/types/element/src/bounds.d.ts +10 -2
  13. package/dist/types/element/src/collision.d.ts +21 -5
  14. package/dist/types/element/src/comparisons.d.ts +5 -3
  15. package/dist/types/element/src/cropElement.d.ts +36 -4
  16. package/dist/types/element/src/delta.d.ts +30 -2
  17. package/dist/types/element/src/distribute.d.ts +4 -1
  18. package/dist/types/element/src/dragElements.d.ts +8 -3
  19. package/dist/types/element/src/duplicate.d.ts +60 -0
  20. package/dist/types/element/src/elbowArrow.d.ts +5 -0
  21. package/dist/types/element/src/embeddable.d.ts +2 -1
  22. package/dist/types/element/src/flowchart.d.ts +6 -8
  23. package/dist/types/element/src/frame.d.ts +21 -3
  24. package/dist/types/element/src/groups.d.ts +1 -6
  25. package/dist/types/element/src/image.d.ts +5 -2
  26. package/dist/types/element/src/index.d.ts +3 -0
  27. package/dist/types/element/src/linearElementEditor.d.ts +4 -1
  28. package/dist/types/element/src/listMarker.d.ts +39 -0
  29. package/dist/types/element/src/mutateElement.d.ts +1 -1
  30. package/dist/types/element/src/newElement.d.ts +40 -3
  31. package/dist/types/element/src/renderElement.d.ts +31 -4
  32. package/dist/types/element/src/renderEnvironment.d.ts +66 -0
  33. package/dist/types/element/src/resizeElements.d.ts +15 -5
  34. package/dist/types/element/src/selection.d.ts +4 -10
  35. package/dist/types/element/src/shape.d.ts +17 -1
  36. package/dist/types/element/src/sizeHelpers.d.ts +6 -0
  37. package/dist/types/element/src/stickyNote.d.ts +191 -0
  38. package/dist/types/element/src/textElement.d.ts +10 -2
  39. package/dist/types/element/src/textMeasurements.d.ts +15 -11
  40. package/dist/types/element/src/textWrapping.d.ts +3 -2
  41. package/dist/types/element/src/transform.d.ts +30 -7
  42. package/dist/types/element/src/typeChecks.d.ts +3 -2
  43. package/dist/types/element/src/types.d.ts +28 -6
  44. package/dist/types/element/src/utils.d.ts +8 -1
  45. package/dist/types/element/src/zindex.d.ts +1 -1
  46. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +48 -3
  47. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
  48. package/dist/types/excalidraw/actions/actionBoundText.d.ts +62 -208
  49. package/dist/types/excalidraw/actions/actionCanvas.d.ts +124 -19
  50. package/dist/types/excalidraw/actions/actionClipboard.d.ts +32 -2
  51. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +16 -1
  52. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +4 -546
  53. package/dist/types/excalidraw/actions/actionDeselect.d.ts +19 -1
  54. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  55. package/dist/types/excalidraw/actions/actionElementLink.d.ts +16 -1
  56. package/dist/types/excalidraw/actions/actionElementLock.d.ts +32 -2
  57. package/dist/types/excalidraw/actions/actionExport.d.ts +35 -5
  58. package/dist/types/excalidraw/actions/actionFrame.d.ts +92 -479
  59. package/dist/types/excalidraw/actions/actionGroup.d.ts +32 -2
  60. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +66 -2
  61. package/dist/types/excalidraw/actions/actionLink.d.ts +16 -1
  62. package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -1
  63. package/dist/types/excalidraw/actions/actionProperties.d.ts +42 -8
  64. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -1
  65. package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -2
  66. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +452 -6
  67. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +16 -1
  68. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -1
  69. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +16 -1
  70. package/dist/types/excalidraw/actions/actionToggleMinimap.d.ts +201 -0
  71. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -1
  72. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -1
  73. package/dist/types/excalidraw/actions/actionToggleShowHints.d.ts +198 -0
  74. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -1
  75. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -1
  76. package/dist/types/excalidraw/actions/actionToggleWrap.d.ts +12 -0
  77. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -1
  78. package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
  79. package/dist/types/excalidraw/actions/index.d.ts +3 -0
  80. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  81. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  82. package/dist/types/excalidraw/appState.d.ts +24 -6
  83. package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -1
  84. package/dist/types/excalidraw/charts/charts.helpers.d.ts +6 -5
  85. package/dist/types/excalidraw/charts/charts.line.d.ts +2 -1
  86. package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -1
  87. package/dist/types/excalidraw/charts/index.d.ts +2 -1
  88. package/dist/types/excalidraw/components/Actions.d.ts +10 -2
  89. package/dist/types/excalidraw/components/App.arrowText.d.ts +5 -39
  90. package/dist/types/excalidraw/components/App.clipboard.d.ts +31 -0
  91. package/dist/types/excalidraw/components/App.d.ts +129 -218
  92. package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
  93. package/dist/types/excalidraw/components/App.host.d.ts +102 -0
  94. package/dist/types/excalidraw/components/App.modifiers.d.ts +38 -0
  95. package/dist/types/excalidraw/components/App.pan.d.ts +62 -0
  96. package/dist/types/excalidraw/components/App.selection.d.ts +265 -0
  97. package/dist/types/excalidraw/components/App.selectionTool.d.ts +94 -0
  98. package/dist/types/excalidraw/components/App.text.d.ts +194 -0
  99. package/dist/types/excalidraw/components/App.textTool.d.ts +140 -0
  100. package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
  101. package/dist/types/excalidraw/components/App.viewport.d.ts +64 -4
  102. package/dist/types/excalidraw/components/App.wheel.d.ts +30 -0
  103. package/dist/types/excalidraw/components/App.wrap.d.ts +39 -0
  104. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  105. package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
  106. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -1
  107. package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -0
  108. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
  109. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
  110. package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
  111. package/dist/types/excalidraw/components/IconButton.d.ts +2 -0
  112. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +6 -2
  113. package/dist/types/excalidraw/components/LibraryUnit.d.ts +7 -2
  114. package/dist/types/excalidraw/components/Minimap/Minimap.d.ts +15 -0
  115. package/dist/types/excalidraw/components/Minimap/MinimapAnnouncementDot.d.ts +10 -0
  116. package/dist/types/excalidraw/components/Minimap/minimap-controller.chunk.d.ts +90 -0
  117. package/dist/types/excalidraw/components/Minimap/minimap-shared.chunk.d.ts +122 -0
  118. package/dist/types/excalidraw/components/Minimap/minimap-worker.chunk.d.ts +12 -0
  119. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -2
  120. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +2 -1
  121. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
  122. package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +5 -2
  123. package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +2 -1
  124. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +4 -1
  125. package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +3 -2
  126. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +14 -1
  127. package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +16 -0
  128. package/dist/types/excalidraw/components/Tools.d.ts +7 -2
  129. package/dist/types/excalidraw/components/Tooltip.d.ts +26 -2
  130. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
  131. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
  132. package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
  133. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +0 -1
  134. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -0
  135. package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
  136. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  137. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +13 -2
  138. package/dist/types/excalidraw/components/icons.d.ts +2 -0
  139. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +3 -0
  140. package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +2 -2
  141. package/dist/types/excalidraw/data/blob.d.ts +38 -8
  142. package/dist/types/excalidraw/data/index.d.ts +3 -3
  143. package/dist/types/excalidraw/data/json.d.ts +19 -4
  144. package/dist/types/excalidraw/fonts/Fonts.d.ts +9 -6
  145. package/dist/types/excalidraw/history.d.ts +10 -4
  146. package/dist/types/excalidraw/mermaid.d.ts +7 -0
  147. package/dist/types/excalidraw/reactUtils.d.ts +1 -1
  148. package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
  149. package/dist/types/excalidraw/renderer/animation.d.ts +11 -4
  150. package/dist/types/excalidraw/renderer/helpers.d.ts +18 -0
  151. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  152. package/dist/types/excalidraw/renderer/staticScene.d.ts +11 -6
  153. package/dist/types/excalidraw/scene/Renderer.d.ts +64 -3
  154. package/dist/types/excalidraw/scene/export.d.ts +343 -20
  155. package/dist/types/excalidraw/scene/index.d.ts +1 -1
  156. package/dist/types/excalidraw/scene/types.d.ts +26 -2
  157. package/dist/types/excalidraw/types.d.ts +191 -22
  158. package/dist/types/excalidraw/viewport.d.ts +29 -1
  159. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +12 -1
  160. package/dist/types/utils/src/index.d.ts +3 -1
  161. package/dist/types/utils/src/shape.d.ts +2 -2
  162. package/package.json +1 -1
  163. package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +0 -31
  164. package/dist/types/utils/src/export.d.ts +0 -35
@@ -60,11 +60,20 @@ export declare const actionLinkToElement: {
60
60
  boxSelectionMode: import("../types").BoxSelectionMode;
61
61
  bindingPreference: "enabled" | "disabled";
62
62
  isMidpointSnappingEnabled: boolean;
63
+ showHints: boolean;
64
+ inputDevice: import("../types").InputDevice;
63
65
  suggestedBinding: {
64
66
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
65
67
  midPoint?: import("@excalidraw/math").GlobalPoint;
66
68
  } | null;
67
- hoveredArrowTextAnchor: {
69
+ textToolHover: {
70
+ type: "text";
71
+ elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
72
+ } | {
73
+ type: "container";
74
+ elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
75
+ } | {
76
+ type: "arrow";
68
77
  elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
69
78
  anchor: "start" | "end" | "label";
70
79
  } | null;
@@ -94,6 +103,8 @@ export declare const actionLinkToElement: {
94
103
  exportWithDarkMode: boolean;
95
104
  exportScale: number;
96
105
  currentItemStrokeColor: string;
106
+ currentItemStickynoteStrokeColor: string;
107
+ currentItemStickynoteBackgroundColor: string;
97
108
  currentItemBackgroundColor: string;
98
109
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
99
110
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -144,6 +155,7 @@ export declare const actionLinkToElement: {
144
155
  duration?: number;
145
156
  } | null;
146
157
  zenModeEnabled: boolean;
158
+ minimapEnabled: boolean;
147
159
  theme: import("@excalidraw/element/types").Theme;
148
160
  gridSize: number;
149
161
  gridStep: number;
@@ -186,7 +198,10 @@ export declare const actionLinkToElement: {
186
198
  elementStroke: readonly string[] | null;
187
199
  elementBackground: readonly string[] | null;
188
200
  bucketFill: readonly string[] | null;
201
+ stickyNoteStroke: readonly string[] | null;
202
+ stickyNoteBackground: readonly string[] | null;
189
203
  };
204
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
190
205
  };
191
206
  captureUpdate: "IMMEDIATELY";
192
207
  elements?: undefined;
@@ -42,11 +42,20 @@ export declare const actionToggleElementLock: {
42
42
  boxSelectionMode: import("../types").BoxSelectionMode;
43
43
  bindingPreference: "enabled" | "disabled";
44
44
  isMidpointSnappingEnabled: boolean;
45
+ showHints: boolean;
46
+ inputDevice: import("../types").InputDevice;
45
47
  suggestedBinding: {
46
48
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
47
49
  midPoint?: import("@excalidraw/math").GlobalPoint;
48
50
  } | null;
49
- hoveredArrowTextAnchor: {
51
+ textToolHover: {
52
+ type: "text";
53
+ elementId: ExcalidrawElement["id"];
54
+ } | {
55
+ type: "container";
56
+ elementId: ExcalidrawElement["id"];
57
+ } | {
58
+ type: "arrow";
50
59
  elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
51
60
  anchor: "start" | "end" | "label";
52
61
  } | null;
@@ -76,6 +85,8 @@ export declare const actionToggleElementLock: {
76
85
  exportWithDarkMode: boolean;
77
86
  exportScale: number;
78
87
  currentItemStrokeColor: string;
88
+ currentItemStickynoteStrokeColor: string;
89
+ currentItemStickynoteBackgroundColor: string;
79
90
  currentItemBackgroundColor: string;
80
91
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
81
92
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -140,6 +151,7 @@ export declare const actionToggleElementLock: {
140
151
  duration?: number;
141
152
  } | null;
142
153
  zenModeEnabled: boolean;
154
+ minimapEnabled: boolean;
143
155
  theme: import("@excalidraw/element/types").Theme;
144
156
  gridSize: number;
145
157
  gridStep: number;
@@ -174,7 +186,10 @@ export declare const actionToggleElementLock: {
174
186
  elementStroke: readonly string[] | null;
175
187
  elementBackground: readonly string[] | null;
176
188
  bucketFill: readonly string[] | null;
189
+ stickyNoteStroke: readonly string[] | null;
190
+ stickyNoteBackground: readonly string[] | null;
177
191
  };
192
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
178
193
  };
179
194
  captureUpdate: "IMMEDIATELY";
180
195
  };
@@ -221,11 +236,20 @@ export declare const actionUnlockAllElements: {
221
236
  boxSelectionMode: import("../types").BoxSelectionMode;
222
237
  bindingPreference: "enabled" | "disabled";
223
238
  isMidpointSnappingEnabled: boolean;
239
+ showHints: boolean;
240
+ inputDevice: import("../types").InputDevice;
224
241
  suggestedBinding: {
225
242
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
226
243
  midPoint?: import("@excalidraw/math").GlobalPoint;
227
244
  } | null;
228
- hoveredArrowTextAnchor: {
245
+ textToolHover: {
246
+ type: "text";
247
+ elementId: ExcalidrawElement["id"];
248
+ } | {
249
+ type: "container";
250
+ elementId: ExcalidrawElement["id"];
251
+ } | {
252
+ type: "arrow";
229
253
  elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
230
254
  anchor: "start" | "end" | "label";
231
255
  } | null;
@@ -255,6 +279,8 @@ export declare const actionUnlockAllElements: {
255
279
  exportWithDarkMode: boolean;
256
280
  exportScale: number;
257
281
  currentItemStrokeColor: string;
282
+ currentItemStickynoteStrokeColor: string;
283
+ currentItemStickynoteBackgroundColor: string;
258
284
  currentItemBackgroundColor: string;
259
285
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
260
286
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -319,6 +345,7 @@ export declare const actionUnlockAllElements: {
319
345
  duration?: number;
320
346
  } | null;
321
347
  zenModeEnabled: boolean;
348
+ minimapEnabled: boolean;
322
349
  theme: import("@excalidraw/element/types").Theme;
323
350
  gridSize: number;
324
351
  gridStep: number;
@@ -354,7 +381,10 @@ export declare const actionUnlockAllElements: {
354
381
  elementStroke: readonly string[] | null;
355
382
  elementBackground: readonly string[] | null;
356
383
  bucketFill: readonly string[] | null;
384
+ stickyNoteStroke: readonly string[] | null;
385
+ stickyNoteBackground: readonly string[] | null;
357
386
  };
387
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
358
388
  };
359
389
  captureUpdate: "IMMEDIATELY";
360
390
  };
@@ -82,6 +82,7 @@ export declare const actionLoadScene: {
82
82
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => Promise<false | {
83
83
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
84
84
  appState: {
85
+ zoom: import("../types").Zoom;
85
86
  viewModeEnabled: boolean;
86
87
  activeTool: {
87
88
  lastActiveTool: import("../types").ActiveTool | null;
@@ -95,6 +96,8 @@ export declare const actionLoadScene: {
95
96
  name: string | null;
96
97
  currentItemArrowType: "sharp" | "round" | "elbow";
97
98
  gridSize: number;
99
+ scrollX: number;
100
+ scrollY: number;
98
101
  contextMenu: {
99
102
  items: import("../components/ContextMenu").ContextMenuItems;
100
103
  top: number;
@@ -115,11 +118,20 @@ export declare const actionLoadScene: {
115
118
  boxSelectionMode: import("../types").BoxSelectionMode;
116
119
  bindingPreference: "enabled" | "disabled";
117
120
  isMidpointSnappingEnabled: boolean;
121
+ showHints: boolean;
122
+ inputDevice: import("../types").InputDevice;
118
123
  suggestedBinding: {
119
124
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
120
125
  midPoint?: import("@excalidraw/math").GlobalPoint;
121
126
  } | null;
122
- hoveredArrowTextAnchor: {
127
+ textToolHover: {
128
+ type: "text";
129
+ elementId: ExcalidrawElement["id"];
130
+ } | {
131
+ type: "container";
132
+ elementId: ExcalidrawElement["id"];
133
+ } | {
134
+ type: "arrow";
123
135
  elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
124
136
  anchor: "start" | "end" | "label";
125
137
  } | null;
@@ -144,6 +156,8 @@ export declare const actionLoadScene: {
144
156
  exportWithDarkMode: boolean;
145
157
  exportScale: number;
146
158
  currentItemStrokeColor: string;
159
+ currentItemStickynoteStrokeColor: string;
160
+ currentItemStickynoteBackgroundColor: string;
147
161
  currentItemBackgroundColor: string;
148
162
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
149
163
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -159,14 +173,11 @@ export declare const actionLoadScene: {
159
173
  currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
160
174
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
161
175
  viewBackgroundColor: string;
162
- scrollX: number;
163
- scrollY: number;
164
176
  scrollConstraints: import("../types").ScrollConstraints | null;
165
177
  cursorButton: "up" | "down";
166
178
  scrolledOutside: boolean;
167
179
  isResizing: boolean;
168
180
  isRotating: boolean;
169
- zoom: import("../types").Zoom;
170
181
  openMenu: "canvas" | null;
171
182
  openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
172
183
  openSidebar: {
@@ -208,6 +219,7 @@ export declare const actionLoadScene: {
208
219
  closable?: boolean;
209
220
  duration?: number;
210
221
  } | null;
222
+ minimapEnabled: boolean;
211
223
  gridStep: number;
212
224
  selectedGroupIds: {
213
225
  [groupId: string]: boolean;
@@ -241,7 +253,10 @@ export declare const actionLoadScene: {
241
253
  elementStroke: readonly string[] | null;
242
254
  elementBackground: readonly string[] | null;
243
255
  bucketFill: readonly string[] | null;
256
+ stickyNoteStroke: readonly string[] | null;
257
+ stickyNoteBackground: readonly string[] | null;
244
258
  };
259
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
245
260
  };
246
261
  files: BinaryFiles;
247
262
  captureUpdate: "IMMEDIATELY";
@@ -268,11 +283,20 @@ export declare const actionLoadScene: {
268
283
  boxSelectionMode: import("../types").BoxSelectionMode;
269
284
  bindingPreference: "enabled" | "disabled";
270
285
  isMidpointSnappingEnabled: boolean;
286
+ showHints: boolean;
287
+ inputDevice: import("../types").InputDevice;
271
288
  suggestedBinding: {
272
289
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
273
290
  midPoint?: import("@excalidraw/math").GlobalPoint;
274
291
  } | null;
275
- hoveredArrowTextAnchor: {
292
+ textToolHover: {
293
+ type: "text";
294
+ elementId: ExcalidrawElement["id"];
295
+ } | {
296
+ type: "container";
297
+ elementId: ExcalidrawElement["id"];
298
+ } | {
299
+ type: "arrow";
276
300
  elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
277
301
  anchor: "start" | "end" | "label";
278
302
  } | null;
@@ -302,6 +326,8 @@ export declare const actionLoadScene: {
302
326
  exportWithDarkMode: boolean;
303
327
  exportScale: number;
304
328
  currentItemStrokeColor: string;
329
+ currentItemStickynoteStrokeColor: string;
330
+ currentItemStickynoteBackgroundColor: string;
305
331
  currentItemBackgroundColor: string;
306
332
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
307
333
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -369,6 +395,7 @@ export declare const actionLoadScene: {
369
395
  duration?: number;
370
396
  } | null;
371
397
  zenModeEnabled: boolean;
398
+ minimapEnabled: boolean;
372
399
  theme: Theme;
373
400
  gridSize: number;
374
401
  gridStep: number;
@@ -411,7 +438,10 @@ export declare const actionLoadScene: {
411
438
  elementStroke: readonly string[] | null;
412
439
  elementBackground: readonly string[] | null;
413
440
  bucketFill: readonly string[] | null;
441
+ stickyNoteStroke: readonly string[] | null;
442
+ stickyNoteBackground: readonly string[] | null;
414
443
  };
444
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
415
445
  };
416
446
  files: BinaryFiles;
417
447
  captureUpdate: "EVENTUALLY";