@excalidraw/element 0.18.0-063e025 → 0.18.0-1118751

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 (154) hide show
  1. package/dist/dev/index.js +13047 -9808
  2. package/dist/dev/index.js.map +4 -4
  3. package/dist/prod/index.js +19 -19
  4. package/dist/types/common/src/colors.d.ts +22 -0
  5. package/dist/types/common/src/constants.d.ts +54 -0
  6. package/dist/types/common/src/keys.d.ts +4 -0
  7. package/dist/types/common/src/points.d.ts +1 -1
  8. package/dist/types/common/src/random.d.ts +7 -0
  9. package/dist/types/common/src/utils.d.ts +1 -1
  10. package/dist/types/element/src/Scene.d.ts +1 -1
  11. package/dist/types/element/src/arrowEndpointText.d.ts +49 -0
  12. package/dist/types/element/src/arrows/focus.d.ts +5 -2
  13. package/dist/types/element/src/binding.d.ts +15 -8
  14. package/dist/types/element/src/bucketFill.d.ts +110 -0
  15. package/dist/types/element/src/collision.d.ts +8 -5
  16. package/dist/types/element/src/comparisons.d.ts +7 -5
  17. package/dist/types/element/src/convertToShape.d.ts +23 -0
  18. package/dist/types/element/src/delta.d.ts +23 -1
  19. package/dist/types/element/src/dragElements.d.ts +27 -0
  20. package/dist/types/element/src/duplicate.d.ts +60 -0
  21. package/dist/types/element/src/flowchart.d.ts +10 -6
  22. package/dist/types/element/src/frame.d.ts +2 -2
  23. package/dist/types/element/src/groups.d.ts +1 -1
  24. package/dist/types/element/src/index.d.ts +4 -0
  25. package/dist/types/element/src/linearElementEditor.d.ts +17 -0
  26. package/dist/types/element/src/mutateElement.d.ts +1 -1
  27. package/dist/types/element/src/newElement.d.ts +37 -2
  28. package/dist/types/element/src/renderElement.d.ts +21 -4
  29. package/dist/types/element/src/selection.d.ts +1 -1
  30. package/dist/types/element/src/shape.d.ts +27 -1
  31. package/dist/types/element/src/sizeHelpers.d.ts +6 -0
  32. package/dist/types/element/src/sortElements.d.ts +10 -0
  33. package/dist/types/element/src/stickyNote.d.ts +183 -0
  34. package/dist/types/element/src/textElement.d.ts +7 -3
  35. package/dist/types/element/src/transform.d.ts +25 -6
  36. package/dist/types/element/src/typeChecks.d.ts +3 -2
  37. package/dist/types/element/src/types.d.ts +35 -6
  38. package/dist/types/element/src/utils.d.ts +15 -4
  39. package/dist/types/element/src/zindex.d.ts +1 -1
  40. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +48 -9
  41. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
  42. package/dist/types/excalidraw/actions/actionBoundText.d.ts +32 -6
  43. package/dist/types/excalidraw/actions/actionCanvas.d.ts +173 -576
  44. package/dist/types/excalidraw/actions/actionClipboard.d.ts +32 -6
  45. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +16 -3
  46. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +50 -10
  47. package/dist/types/excalidraw/actions/actionDeselect.d.ts +13 -3
  48. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  49. package/dist/types/excalidraw/actions/actionElementLink.d.ts +16 -3
  50. package/dist/types/excalidraw/actions/actionElementLock.d.ts +32 -6
  51. package/dist/types/excalidraw/actions/actionExport.d.ts +34 -8
  52. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
  53. package/dist/types/excalidraw/actions/actionFrame.d.ts +99 -185
  54. package/dist/types/excalidraw/actions/actionGroup.d.ts +33 -7
  55. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +68 -4
  56. package/dist/types/excalidraw/actions/actionLink.d.ts +16 -3
  57. package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -3
  58. package/dist/types/excalidraw/actions/actionProperties.d.ts +45 -12
  59. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -3
  60. package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -4
  61. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  62. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +16 -3
  63. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -3
  64. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +16 -3
  65. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -3
  66. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -3
  67. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -3
  68. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +17 -4
  69. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -3
  70. package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
  71. package/dist/types/excalidraw/actions/index.d.ts +1 -2
  72. package/dist/types/excalidraw/actions/manager.d.ts +1 -0
  73. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  74. package/dist/types/excalidraw/actions/types.d.ts +5 -1
  75. package/dist/types/excalidraw/appState.d.ts +26 -5
  76. package/dist/types/excalidraw/components/Actions.d.ts +16 -10
  77. package/dist/types/excalidraw/components/App.arrowText.d.ts +104 -0
  78. package/dist/types/excalidraw/components/App.bucketFill.d.ts +48 -0
  79. package/dist/types/excalidraw/components/App.cursor.d.ts +38 -0
  80. package/dist/types/excalidraw/components/App.d.ts +468 -99
  81. package/dist/types/excalidraw/components/App.drawshape.d.ts +55 -0
  82. package/dist/types/excalidraw/components/App.duplicate.d.ts +51 -0
  83. package/dist/types/excalidraw/components/App.flowchart.d.ts +21 -0
  84. package/dist/types/excalidraw/components/App.pan.d.ts +54 -0
  85. package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
  86. package/dist/types/excalidraw/components/App.viewport.d.ts +73 -0
  87. package/dist/types/excalidraw/components/App.wheel.d.ts +26 -0
  88. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +8 -2
  89. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
  90. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +5 -1
  91. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -2
  92. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
  93. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
  94. package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
  95. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -1
  96. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
  97. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
  98. package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
  99. package/dist/types/excalidraw/components/IconButton.d.ts +48 -0
  100. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +2 -4
  101. package/dist/types/excalidraw/components/LayerUI.d.ts +5 -2
  102. package/dist/types/excalidraw/components/LockButton.d.ts +3 -4
  103. package/dist/types/excalidraw/components/MagicButton.d.ts +0 -2
  104. package/dist/types/excalidraw/components/MobileMenu.d.ts +4 -4
  105. package/dist/types/excalidraw/components/MobileToolbar.d.ts +9 -0
  106. package/dist/types/excalidraw/components/PenModeButton.d.ts +2 -5
  107. package/dist/types/excalidraw/components/Popover.d.ts +1 -3
  108. package/dist/types/excalidraw/components/{ButtonIcon.d.ts → RadioButton.d.ts} +2 -5
  109. package/dist/types/excalidraw/components/ToolPopover.d.ts +3 -6
  110. package/dist/types/excalidraw/components/Toolbar.d.ts +11 -0
  111. package/dist/types/excalidraw/components/Tools.d.ts +151 -0
  112. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
  113. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
  114. package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
  115. package/dist/types/excalidraw/components/UserList.d.ts +3 -2
  116. package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
  117. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -0
  118. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -0
  119. package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
  120. package/dist/types/excalidraw/components/icons.d.ts +5 -1
  121. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -1
  122. package/dist/types/excalidraw/components/positionElementBesideCursor.d.ts +26 -0
  123. package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +39 -0
  124. package/dist/types/excalidraw/data/blob.d.ts +36 -10
  125. package/dist/types/excalidraw/data/json.d.ts +18 -5
  126. package/dist/types/excalidraw/drawShapeTrail.d.ts +16 -0
  127. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -2
  128. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
  129. package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
  130. package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
  131. package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
  132. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  133. package/dist/types/excalidraw/scene/Renderer.d.ts +64 -2
  134. package/dist/types/excalidraw/scene/index.d.ts +1 -1
  135. package/dist/types/excalidraw/scene/types.d.ts +6 -1
  136. package/dist/types/excalidraw/types.d.ts +341 -21
  137. package/dist/types/excalidraw/viewport.d.ts +31 -66
  138. package/dist/types/laser-pointer/src/state.d.ts +1 -0
  139. package/dist/types/math/src/curve.d.ts +19 -12
  140. package/dist/types/math/src/index.d.ts +1 -0
  141. package/dist/types/math/src/pca.d.ts +79 -0
  142. package/dist/types/math/src/polygon.d.ts +25 -1
  143. package/dist/types/math/src/segment.d.ts +6 -0
  144. package/dist/types/utils/src/export.d.ts +1 -0
  145. package/dist/types/utils/src/shape.d.ts +2 -2
  146. package/package.json +4 -4
  147. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +0 -173
  148. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
  149. package/dist/types/excalidraw/components/HandButton.d.ts +0 -10
  150. package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -10
  151. package/dist/types/excalidraw/components/ToolButton.d.ts +0 -49
  152. package/dist/types/excalidraw/components/shapes.d.ts +0 -270
  153. package/dist/types/excalidraw/cursor.d.ts +0 -5
  154. package/dist/types/excalidraw/scene/zoom.d.ts +0 -12
@@ -7,7 +7,7 @@ export declare const actionGroup: {
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
10
- perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
10
+ perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => false | {
11
11
  appState: Readonly<import("../types").AppState>;
12
12
  elements: readonly OrderedExcalidrawElement[];
13
13
  captureUpdate: "EVENTUALLY";
@@ -36,10 +36,15 @@ export declare const actionGroup: {
36
36
  boxSelectionMode: import("../types").BoxSelectionMode;
37
37
  bindingPreference: "enabled" | "disabled";
38
38
  isMidpointSnappingEnabled: boolean;
39
+ inputDevice: import("../types").InputDevice;
39
40
  suggestedBinding: {
40
41
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
41
42
  midPoint?: import("@excalidraw/math").GlobalPoint;
42
43
  } | null;
44
+ hoveredArrowTextAnchor: {
45
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
46
+ anchor: "start" | "end" | "label";
47
+ } | null;
43
48
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
44
49
  frameRendering: {
45
50
  enabled: boolean;
@@ -47,7 +52,7 @@ export declare const actionGroup: {
47
52
  outline: boolean;
48
53
  clip: boolean;
49
54
  };
50
- editingFrame: string | null;
55
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
51
56
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
52
57
  editingTextElement: ExcalidrawTextElement | null;
53
58
  activeTool: {
@@ -66,6 +71,8 @@ export declare const actionGroup: {
66
71
  exportWithDarkMode: boolean;
67
72
  exportScale: number;
68
73
  currentItemStrokeColor: string;
74
+ currentItemStickynoteStrokeColor: string;
75
+ currentItemStickynoteBackgroundColor: string;
69
76
  currentItemBackgroundColor: string;
70
77
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
71
78
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -153,8 +160,6 @@ export declare const actionGroup: {
153
160
  y: number;
154
161
  } | null;
155
162
  objectsSnapModeEnabled: boolean;
156
- userToFollow: import("../types").UserToFollow | null;
157
- followedBy: Set<import("../types").SocketId>;
158
163
  isCropping: boolean;
159
164
  croppingElementId: ExcalidrawElement["id"] | null;
160
165
  searchMatches: Readonly<{
@@ -166,6 +171,14 @@ export declare const actionGroup: {
166
171
  [groupId: string]: true;
167
172
  };
168
173
  bindMode: import("@excalidraw/element/types").BindMode;
174
+ colorTopPicks: {
175
+ elementStroke: readonly string[] | null;
176
+ elementBackground: readonly string[] | null;
177
+ bucketFill: readonly string[] | null;
178
+ stickyNoteStroke: readonly string[] | null;
179
+ stickyNoteBackground: readonly string[] | null;
180
+ };
181
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
169
182
  };
170
183
  elements: OrderedExcalidrawElement[];
171
184
  captureUpdate: "IMMEDIATELY";
@@ -212,10 +225,15 @@ export declare const actionUngroup: {
212
225
  boxSelectionMode: import("../types").BoxSelectionMode;
213
226
  bindingPreference: "enabled" | "disabled";
214
227
  isMidpointSnappingEnabled: boolean;
228
+ inputDevice: import("../types").InputDevice;
215
229
  suggestedBinding: {
216
230
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
217
231
  midPoint?: import("@excalidraw/math").GlobalPoint;
218
232
  } | null;
233
+ hoveredArrowTextAnchor: {
234
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
235
+ anchor: "start" | "end" | "label";
236
+ } | null;
219
237
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
220
238
  frameRendering: {
221
239
  enabled: boolean;
@@ -223,7 +241,7 @@ export declare const actionUngroup: {
223
241
  outline: boolean;
224
242
  clip: boolean;
225
243
  };
226
- editingFrame: string | null;
244
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
227
245
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
228
246
  editingTextElement: ExcalidrawTextElement | null;
229
247
  activeTool: {
@@ -242,6 +260,8 @@ export declare const actionUngroup: {
242
260
  exportWithDarkMode: boolean;
243
261
  exportScale: number;
244
262
  currentItemStrokeColor: string;
263
+ currentItemStickynoteStrokeColor: string;
264
+ currentItemStickynoteBackgroundColor: string;
245
265
  currentItemBackgroundColor: string;
246
266
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
247
267
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -329,8 +349,6 @@ export declare const actionUngroup: {
329
349
  y: number;
330
350
  } | null;
331
351
  objectsSnapModeEnabled: boolean;
332
- userToFollow: import("../types").UserToFollow | null;
333
- followedBy: Set<import("../types").SocketId>;
334
352
  isCropping: boolean;
335
353
  croppingElementId: ExcalidrawElement["id"] | null;
336
354
  searchMatches: Readonly<{
@@ -342,6 +360,14 @@ export declare const actionUngroup: {
342
360
  [groupId: string]: true;
343
361
  };
344
362
  bindMode: import("@excalidraw/element/types").BindMode;
363
+ colorTopPicks: {
364
+ elementStroke: readonly string[] | null;
365
+ elementBackground: readonly string[] | null;
366
+ bucketFill: readonly string[] | null;
367
+ stickyNoteStroke: readonly string[] | null;
368
+ stickyNoteBackground: readonly string[] | null;
369
+ };
370
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
345
371
  };
346
372
  elements: OrderedExcalidrawElement[];
347
373
  captureUpdate: "IMMEDIATELY";
@@ -27,6 +27,7 @@ export declare const actionToggleLinearEditor: {
27
27
  };
28
28
  arrowStartIsInside: boolean;
29
29
  altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
30
+ arrowOtherEndpointInitialBinding: import("@excalidraw/element/types").FixedPointBinding | null;
30
31
  }>;
31
32
  isDragging: boolean;
32
33
  lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
@@ -63,10 +64,15 @@ export declare const actionToggleLinearEditor: {
63
64
  boxSelectionMode: import("../types").BoxSelectionMode;
64
65
  bindingPreference: "enabled" | "disabled";
65
66
  isMidpointSnappingEnabled: boolean;
67
+ inputDevice: import("../types").InputDevice;
66
68
  suggestedBinding: {
67
69
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
68
70
  midPoint?: import("@excalidraw/math").GlobalPoint;
69
71
  } | null;
72
+ hoveredArrowTextAnchor: {
73
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
74
+ anchor: "start" | "end" | "label";
75
+ } | null;
70
76
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
71
77
  frameRendering: {
72
78
  enabled: boolean;
@@ -74,7 +80,7 @@ export declare const actionToggleLinearEditor: {
74
80
  outline: boolean;
75
81
  clip: boolean;
76
82
  };
77
- editingFrame: string | null;
83
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
78
84
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
79
85
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
80
86
  activeTool: {
@@ -93,6 +99,8 @@ export declare const actionToggleLinearEditor: {
93
99
  exportWithDarkMode: boolean;
94
100
  exportScale: number;
95
101
  currentItemStrokeColor: string;
102
+ currentItemStickynoteStrokeColor: string;
103
+ currentItemStickynoteBackgroundColor: string;
96
104
  currentItemBackgroundColor: string;
97
105
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
98
106
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -186,8 +194,6 @@ export declare const actionToggleLinearEditor: {
186
194
  y: number;
187
195
  } | null;
188
196
  objectsSnapModeEnabled: boolean;
189
- userToFollow: import("../types").UserToFollow | null;
190
- followedBy: Set<import("../types").SocketId>;
191
197
  isCropping: boolean;
192
198
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
193
199
  searchMatches: Readonly<{
@@ -199,6 +205,14 @@ export declare const actionToggleLinearEditor: {
199
205
  [groupId: string]: true;
200
206
  };
201
207
  bindMode: import("@excalidraw/element/types").BindMode;
208
+ colorTopPicks: {
209
+ elementStroke: readonly string[] | null;
210
+ elementBackground: readonly string[] | null;
211
+ bucketFill: readonly string[] | null;
212
+ stickyNoteStroke: readonly string[] | null;
213
+ stickyNoteBackground: readonly string[] | null;
214
+ };
215
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
202
216
  };
203
217
  captureUpdate: "IMMEDIATELY";
204
218
  };
@@ -244,6 +258,7 @@ export declare const actionTogglePolygon: {
244
258
  frameId: string | null;
245
259
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
246
260
  updated: number;
261
+ created: number | null;
247
262
  link: string | null;
248
263
  locked: boolean;
249
264
  customData?: Record<string, any>;
@@ -283,6 +298,7 @@ export declare const actionTogglePolygon: {
283
298
  frameId: string | null;
284
299
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
285
300
  updated: number;
301
+ created: number | null;
286
302
  link: string | null;
287
303
  locked: boolean;
288
304
  customData?: Record<string, any>;
@@ -317,6 +333,7 @@ export declare const actionTogglePolygon: {
317
333
  frameId: string | null;
318
334
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
319
335
  updated: number;
336
+ created: number | null;
320
337
  link: string | null;
321
338
  locked: boolean;
322
339
  customData?: Record<string, any>;
@@ -351,6 +368,43 @@ export declare const actionTogglePolygon: {
351
368
  frameId: string | null;
352
369
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
353
370
  updated: number;
371
+ created: number | null;
372
+ link: string | null;
373
+ locked: boolean;
374
+ customData?: Record<string, any>;
375
+ }> & Readonly<{
376
+ type: "stickynote";
377
+ baseHeight: number;
378
+ }> & {
379
+ index: import("@excalidraw/element/types").FractionalIndex;
380
+ }) | (Readonly<{
381
+ id: string;
382
+ x: number;
383
+ y: number;
384
+ strokeColor: string;
385
+ backgroundColor: string;
386
+ fillStyle: import("@excalidraw/element/types").FillStyle;
387
+ strokeWidth: number;
388
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
389
+ roundness: null | {
390
+ type: import("@excalidraw/element/types").RoundnessType;
391
+ value?: number;
392
+ };
393
+ roughness: number;
394
+ opacity: number;
395
+ width: number;
396
+ height: number;
397
+ angle: import("@excalidraw/math").Radians;
398
+ seed: number;
399
+ version: number;
400
+ versionNonce: number;
401
+ index: import("@excalidraw/element/types").FractionalIndex | null;
402
+ isDeleted: boolean;
403
+ groupIds: readonly import("@excalidraw/element/types").GroupId[];
404
+ frameId: string | null;
405
+ boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
406
+ updated: number;
407
+ created: number | null;
354
408
  link: string | null;
355
409
  locked: boolean;
356
410
  customData?: Record<string, any>;
@@ -385,6 +439,7 @@ export declare const actionTogglePolygon: {
385
439
  frameId: string | null;
386
440
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
387
441
  updated: number;
442
+ created: number | null;
388
443
  link: string | null;
389
444
  locked: boolean;
390
445
  customData?: Record<string, any>;
@@ -419,6 +474,7 @@ export declare const actionTogglePolygon: {
419
474
  frameId: string | null;
420
475
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
421
476
  updated: number;
477
+ created: number | null;
422
478
  link: string | null;
423
479
  locked: boolean;
424
480
  customData?: Record<string, any>;
@@ -453,6 +509,7 @@ export declare const actionTogglePolygon: {
453
509
  frameId: string | null;
454
510
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
455
511
  updated: number;
512
+ created: number | null;
456
513
  link: string | null;
457
514
  locked: boolean;
458
515
  customData?: Record<string, any>;
@@ -490,6 +547,7 @@ export declare const actionTogglePolygon: {
490
547
  frameId: string | null;
491
548
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
492
549
  updated: number;
550
+ created: number | null;
493
551
  link: string | null;
494
552
  locked: boolean;
495
553
  customData?: Record<string, any>;
@@ -528,6 +586,7 @@ export declare const actionTogglePolygon: {
528
586
  frameId: string | null;
529
587
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
530
588
  updated: number;
589
+ created: number | null;
531
590
  link: string | null;
532
591
  locked: boolean;
533
592
  customData?: Record<string, any>;
@@ -563,6 +622,7 @@ export declare const actionTogglePolygon: {
563
622
  frameId: string | null;
564
623
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
565
624
  updated: number;
625
+ created: number | null;
566
626
  link: string | null;
567
627
  locked: boolean;
568
628
  customData?: Record<string, any>;
@@ -598,6 +658,7 @@ export declare const actionTogglePolygon: {
598
658
  frameId: string | null;
599
659
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
600
660
  updated: number;
661
+ created: number | null;
601
662
  link: string | null;
602
663
  locked: boolean;
603
664
  customData?: Record<string, any>;
@@ -605,15 +666,17 @@ export declare const actionTogglePolygon: {
605
666
  type: "text";
606
667
  fontSize: number;
607
668
  fontFamily: import("@excalidraw/element/types").FontFamilyValues;
669
+ baseFontSize: number | null;
608
670
  text: string;
609
671
  textAlign: import("@excalidraw/element/types").TextAlign;
610
672
  verticalAlign: import("@excalidraw/element/types").VerticalAlign;
611
- containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
673
+ containerId: import("@excalidraw/element/types").ExcalidrawTextContainer["id"] | null;
612
674
  originalText: string;
613
675
  autoResize: boolean;
614
676
  lineHeight: number & {
615
677
  _brand: "unitlessLineHeight";
616
678
  };
679
+ labelPosition?: number | null;
617
680
  }> & {
618
681
  index: import("@excalidraw/element/types").FractionalIndex;
619
682
  }) | (Readonly<{
@@ -643,6 +706,7 @@ export declare const actionTogglePolygon: {
643
706
  frameId: string | null;
644
707
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
645
708
  updated: number;
709
+ created: number | null;
646
710
  link: string | null;
647
711
  locked: boolean;
648
712
  customData?: Record<string, any>;
@@ -27,10 +27,15 @@ export declare const actionLink: {
27
27
  boxSelectionMode: import("../types").BoxSelectionMode;
28
28
  bindingPreference: "enabled" | "disabled";
29
29
  isMidpointSnappingEnabled: boolean;
30
+ inputDevice: import("../types").InputDevice;
30
31
  suggestedBinding: {
31
32
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
32
33
  midPoint?: import("@excalidraw/math").GlobalPoint;
33
34
  } | null;
35
+ hoveredArrowTextAnchor: {
36
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
37
+ anchor: "start" | "end" | "label";
38
+ } | null;
34
39
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
35
40
  frameRendering: {
36
41
  enabled: boolean;
@@ -38,7 +43,7 @@ export declare const actionLink: {
38
43
  outline: boolean;
39
44
  clip: boolean;
40
45
  };
41
- editingFrame: string | null;
46
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
42
47
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
43
48
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
44
49
  activeTool: {
@@ -57,6 +62,8 @@ export declare const actionLink: {
57
62
  exportWithDarkMode: boolean;
58
63
  exportScale: number;
59
64
  currentItemStrokeColor: string;
65
+ currentItemStickynoteStrokeColor: string;
66
+ currentItemStickynoteBackgroundColor: string;
60
67
  currentItemBackgroundColor: string;
61
68
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
62
69
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -149,8 +156,6 @@ export declare const actionLink: {
149
156
  y: number;
150
157
  } | null;
151
158
  objectsSnapModeEnabled: boolean;
152
- userToFollow: import("../types").UserToFollow | null;
153
- followedBy: Set<import("../types").SocketId>;
154
159
  isCropping: boolean;
155
160
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
156
161
  searchMatches: Readonly<{
@@ -162,6 +167,14 @@ export declare const actionLink: {
162
167
  [groupId: string]: true;
163
168
  };
164
169
  bindMode: import("@excalidraw/element/types").BindMode;
170
+ colorTopPicks: {
171
+ elementStroke: readonly string[] | null;
172
+ elementBackground: readonly string[] | null;
173
+ bucketFill: readonly string[] | null;
174
+ stickyNoteStroke: readonly string[] | null;
175
+ stickyNoteBackground: readonly string[] | null;
176
+ };
177
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
165
178
  };
166
179
  captureUpdate: "IMMEDIATELY";
167
180
  };
@@ -34,10 +34,15 @@ export declare const actionShortcuts: {
34
34
  boxSelectionMode: import("../types").BoxSelectionMode;
35
35
  bindingPreference: "enabled" | "disabled";
36
36
  isMidpointSnappingEnabled: boolean;
37
+ inputDevice: import("../types").InputDevice;
37
38
  suggestedBinding: {
38
39
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
39
40
  midPoint?: import("@excalidraw/math").GlobalPoint;
40
41
  } | null;
42
+ hoveredArrowTextAnchor: {
43
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
44
+ anchor: "start" | "end" | "label";
45
+ } | null;
41
46
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
42
47
  frameRendering: {
43
48
  enabled: boolean;
@@ -45,7 +50,7 @@ export declare const actionShortcuts: {
45
50
  outline: boolean;
46
51
  clip: boolean;
47
52
  };
48
- editingFrame: string | null;
53
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
49
54
  elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
50
55
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
51
56
  activeTool: {
@@ -64,6 +69,8 @@ export declare const actionShortcuts: {
64
69
  exportWithDarkMode: boolean;
65
70
  exportScale: number;
66
71
  currentItemStrokeColor: string;
72
+ currentItemStickynoteStrokeColor: string;
73
+ currentItemStickynoteBackgroundColor: string;
67
74
  currentItemBackgroundColor: string;
68
75
  currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
69
76
  currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
@@ -139,8 +146,6 @@ export declare const actionShortcuts: {
139
146
  y: number;
140
147
  } | null;
141
148
  objectsSnapModeEnabled: boolean;
142
- userToFollow: import("../types").UserToFollow | null;
143
- followedBy: Set<import("../types").SocketId>;
144
149
  isCropping: boolean;
145
150
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
146
151
  searchMatches: Readonly<{
@@ -152,6 +157,14 @@ export declare const actionShortcuts: {
152
157
  [groupId: string]: true;
153
158
  };
154
159
  bindMode: import("@excalidraw/element/types").BindMode;
160
+ colorTopPicks: {
161
+ elementStroke: readonly string[] | null;
162
+ elementBackground: readonly string[] | null;
163
+ bucketFill: readonly string[] | null;
164
+ stickyNoteStroke: readonly string[] | null;
165
+ stickyNoteBackground: readonly string[] | null;
166
+ };
167
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
155
168
  };
156
169
  captureUpdate: "EVENTUALLY";
157
170
  };
@@ -1,18 +1,25 @@
1
1
  import { type StrokeWidthKey } from "@excalidraw/common";
2
2
  import { LinearElementEditor } from "@excalidraw/element";
3
- import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, StrokeVariability, NonDeleted, NonDeletedExcalidrawElement, TextAlign } from "@excalidraw/element/types";
3
+ import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawFreeDrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, StrokeVariability, NonDeleted, NonDeletedExcalidrawElement, TextAlign } from "@excalidraw/element/types";
4
4
  import type { AppClassProperties, AppState, Primitive } from "../types";
5
- export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: NonDeletedExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
5
+ export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: NonDeletedExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => (ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | ExcalidrawTextElement | ExcalidrawFreeDrawElement)[];
6
6
  export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties,
7
7
  /**
8
8
  * input value (usually the element attribute value,
9
9
  * but depends on what the action's PanelComponent input expects)
10
10
  */
11
11
  getValue: (element: ExcalidrawElement) => T, elementPredicate: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
12
- export declare const actionChangeStrokeColor: import("./types").Action<Pick<AppState, "currentItemStrokeColor">> & {
12
+ export declare const actionChangeStrokeColor: import("./types").Action<Partial<AppState> & {
13
+ color?: string;
14
+ }> & {
15
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
16
+ };
17
+ export declare const actionChangeBackgroundColor: import("./types").Action<Partial<AppState> & {
18
+ color?: string;
19
+ }> & {
13
20
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
14
21
  };
15
- export declare const actionChangeBackgroundColor: import("./types").Action<Pick<AppState, "viewBackgroundColor" | "currentItemBackgroundColor">> & {
22
+ export declare const actionChangeBucketFillBackgroundColor: import("./types").Action<Pick<AppState, "currentItemBackgroundColor">> & {
16
23
  keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
17
24
  };
18
25
  export declare const actionChangeFillStyle: import("./types").Action<import("@excalidraw/element/types").FillStyle> & {
@@ -42,7 +49,7 @@ export declare const actionDecreaseFontSize: {
42
49
  icon: import("react/jsx-runtime").JSX.Element;
43
50
  trackEvent: false;
44
51
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
45
- elements: ExcalidrawElement[];
52
+ elements: (ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | ExcalidrawTextElement | ExcalidrawFreeDrawElement)[];
46
53
  appState: {
47
54
  currentItemFontSize: number;
48
55
  contextMenu: {
@@ -65,10 +72,15 @@ export declare const actionDecreaseFontSize: {
65
72
  boxSelectionMode: import("../types").BoxSelectionMode;
66
73
  bindingPreference: "enabled" | "disabled";
67
74
  isMidpointSnappingEnabled: boolean;
75
+ inputDevice: import("../types").InputDevice;
68
76
  suggestedBinding: {
69
77
  element: NonDeleted<ExcalidrawBindableElement>;
70
78
  midPoint?: import("@excalidraw/math").GlobalPoint;
71
79
  } | null;
80
+ hoveredArrowTextAnchor: {
81
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
82
+ anchor: "start" | "end" | "label";
83
+ } | null;
72
84
  frameToHighlight: NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
73
85
  frameRendering: {
74
86
  enabled: boolean;
@@ -76,7 +88,7 @@ export declare const actionDecreaseFontSize: {
76
88
  outline: boolean;
77
89
  clip: boolean;
78
90
  };
79
- editingFrame: string | null;
91
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
80
92
  elementsToHighlight: readonly NonDeletedExcalidrawElement[] | null;
81
93
  editingTextElement: ExcalidrawTextElement | null;
82
94
  activeTool: {
@@ -95,6 +107,8 @@ export declare const actionDecreaseFontSize: {
95
107
  exportWithDarkMode: boolean;
96
108
  exportScale: number;
97
109
  currentItemStrokeColor: string;
110
+ currentItemStickynoteStrokeColor: string;
111
+ currentItemStickynoteBackgroundColor: string;
98
112
  currentItemBackgroundColor: string;
99
113
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
100
114
  currentItemStrokeWidthKey: StrokeWidthKey;
@@ -188,8 +202,6 @@ export declare const actionDecreaseFontSize: {
188
202
  y: number;
189
203
  } | null;
190
204
  objectsSnapModeEnabled: boolean;
191
- userToFollow: import("../types").UserToFollow | null;
192
- followedBy: Set<import("../types").SocketId>;
193
205
  isCropping: boolean;
194
206
  croppingElementId: ExcalidrawElement["id"] | null;
195
207
  searchMatches: Readonly<{
@@ -201,6 +213,14 @@ export declare const actionDecreaseFontSize: {
201
213
  [groupId: string]: true;
202
214
  };
203
215
  bindMode: import("@excalidraw/element/types").BindMode;
216
+ colorTopPicks: {
217
+ elementStroke: readonly string[] | null;
218
+ elementBackground: readonly string[] | null;
219
+ bucketFill: readonly string[] | null;
220
+ stickyNoteStroke: readonly string[] | null;
221
+ stickyNoteBackground: readonly string[] | null;
222
+ };
223
+ fontTopPicks: readonly FontFamilyValues[] | null;
204
224
  };
205
225
  captureUpdate: "IMMEDIATELY";
206
226
  };
@@ -214,7 +234,7 @@ export declare const actionIncreaseFontSize: {
214
234
  icon: import("react/jsx-runtime").JSX.Element;
215
235
  trackEvent: false;
216
236
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => {
217
- elements: ExcalidrawElement[];
237
+ elements: (ExcalidrawLinearElement | import("@excalidraw/element/types").ExcalidrawSelectionElement | import("@excalidraw/element/types").ExcalidrawRectangleElement | import("@excalidraw/element/types").ExcalidrawStickyNoteElement | import("@excalidraw/element/types").ExcalidrawDiamondElement | import("@excalidraw/element/types").ExcalidrawEllipseElement | import("@excalidraw/element/types").ExcalidrawEmbeddableElement | import("@excalidraw/element/types").ExcalidrawIframeElement | import("@excalidraw/element/types").ExcalidrawImageElement | import("@excalidraw/element/types").ExcalidrawFrameElement | import("@excalidraw/element/types").ExcalidrawMagicFrameElement | ExcalidrawTextElement | ExcalidrawFreeDrawElement)[];
218
238
  appState: {
219
239
  currentItemFontSize: number;
220
240
  contextMenu: {
@@ -237,10 +257,15 @@ export declare const actionIncreaseFontSize: {
237
257
  boxSelectionMode: import("../types").BoxSelectionMode;
238
258
  bindingPreference: "enabled" | "disabled";
239
259
  isMidpointSnappingEnabled: boolean;
260
+ inputDevice: import("../types").InputDevice;
240
261
  suggestedBinding: {
241
262
  element: NonDeleted<ExcalidrawBindableElement>;
242
263
  midPoint?: import("@excalidraw/math").GlobalPoint;
243
264
  } | null;
265
+ hoveredArrowTextAnchor: {
266
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
267
+ anchor: "start" | "end" | "label";
268
+ } | null;
244
269
  frameToHighlight: NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
245
270
  frameRendering: {
246
271
  enabled: boolean;
@@ -248,7 +273,7 @@ export declare const actionIncreaseFontSize: {
248
273
  outline: boolean;
249
274
  clip: boolean;
250
275
  };
251
- editingFrame: string | null;
276
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
252
277
  elementsToHighlight: readonly NonDeletedExcalidrawElement[] | null;
253
278
  editingTextElement: ExcalidrawTextElement | null;
254
279
  activeTool: {
@@ -267,6 +292,8 @@ export declare const actionIncreaseFontSize: {
267
292
  exportWithDarkMode: boolean;
268
293
  exportScale: number;
269
294
  currentItemStrokeColor: string;
295
+ currentItemStickynoteStrokeColor: string;
296
+ currentItemStickynoteBackgroundColor: string;
270
297
  currentItemBackgroundColor: string;
271
298
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
272
299
  currentItemStrokeWidthKey: StrokeWidthKey;
@@ -360,8 +387,6 @@ export declare const actionIncreaseFontSize: {
360
387
  y: number;
361
388
  } | null;
362
389
  objectsSnapModeEnabled: boolean;
363
- userToFollow: import("../types").UserToFollow | null;
364
- followedBy: Set<import("../types").SocketId>;
365
390
  isCropping: boolean;
366
391
  croppingElementId: ExcalidrawElement["id"] | null;
367
392
  searchMatches: Readonly<{
@@ -373,6 +398,14 @@ export declare const actionIncreaseFontSize: {
373
398
  [groupId: string]: true;
374
399
  };
375
400
  bindMode: import("@excalidraw/element/types").BindMode;
401
+ colorTopPicks: {
402
+ elementStroke: readonly string[] | null;
403
+ elementBackground: readonly string[] | null;
404
+ bucketFill: readonly string[] | null;
405
+ stickyNoteStroke: readonly string[] | null;
406
+ stickyNoteBackground: readonly string[] | null;
407
+ };
408
+ fontTopPicks: readonly FontFamilyValues[] | null;
376
409
  };
377
410
  captureUpdate: "IMMEDIATELY";
378
411
  };