@zsviczian/excalidraw 0.18.0-5 → 0.18.0-50

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 (188) hide show
  1. package/dist/excalidraw.development.js +745 -503
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +0 -2
  4. package/dist/styles.development.css +1062 -429
  5. package/dist/styles.production.css +26 -22
  6. package/package.json +14 -3
  7. package/types/common/src/commonObsidianUtils.d.ts +13 -0
  8. package/types/common/src/constants.d.ts +42 -18
  9. package/types/common/src/editorInterface.d.ts +35 -0
  10. package/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  11. package/types/common/src/font-metadata.d.ts +4 -2
  12. package/types/common/src/index.d.ts +2 -0
  13. package/types/common/src/utility-types.d.ts +5 -0
  14. package/types/common/src/utils.d.ts +20 -5
  15. package/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
  16. package/types/element/src/align.d.ts +4 -3
  17. package/types/element/src/binding.d.ts +27 -17
  18. package/types/element/src/bounds.d.ts +14 -6
  19. package/types/element/src/collision.d.ts +18 -12
  20. package/types/element/src/cropElement.d.ts +1 -1
  21. package/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
  22. package/types/element/src/distance.d.ts +2 -2
  23. package/types/element/src/distribute.d.ts +2 -1
  24. package/types/element/src/dragElements.d.ts +3 -2
  25. package/types/element/src/duplicate.d.ts +10 -13
  26. package/types/element/src/elbowArrow.d.ts +1 -1
  27. package/types/element/src/flowchart.d.ts +3 -2
  28. package/types/element/src/fractionalIndex.d.ts +9 -3
  29. package/types/element/src/frame.d.ts +5 -4
  30. package/types/element/src/groups.d.ts +1 -0
  31. package/types/element/src/index.d.ts +44 -2
  32. package/types/element/src/linearElementEditor.d.ts +23 -36
  33. package/types/element/src/mutateElement.d.ts +11 -3
  34. package/types/element/src/newElement.d.ts +6 -4
  35. package/types/element/src/positionElementsOnGrid.d.ts +2 -0
  36. package/types/element/src/renderElement.d.ts +4 -1
  37. package/types/element/src/resizeElements.d.ts +6 -5
  38. package/types/element/src/resizeTest.d.ts +5 -4
  39. package/types/element/src/selection.d.ts +11 -5
  40. package/types/element/src/shape.d.ts +42 -0
  41. package/types/element/src/sizeHelpers.d.ts +2 -2
  42. package/types/element/src/store.d.ts +237 -0
  43. package/types/element/src/textElement.d.ts +5 -3
  44. package/types/element/src/transformHandles.d.ts +5 -4
  45. package/types/element/src/typeChecks.d.ts +19 -1
  46. package/types/element/src/types.d.ts +25 -2
  47. package/types/element/src/utils.d.ts +16 -6
  48. package/types/element/src/zindex.d.ts +1 -1
  49. package/types/excalidraw/actions/actionAddToLibrary.d.ts +75 -54
  50. package/types/excalidraw/actions/actionBoundText.d.ts +50 -36
  51. package/types/excalidraw/actions/actionCanvas.d.ts +388 -282
  52. package/types/excalidraw/actions/actionClipboard.d.ts +151 -107
  53. package/types/excalidraw/actions/actionCropEditor.d.ts +25 -18
  54. package/types/excalidraw/actions/actionDeleteSelected.d.ts +77 -55
  55. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
  56. package/types/excalidraw/actions/actionElementLink.d.ts +25 -18
  57. package/types/excalidraw/actions/actionElementLock.d.ts +65 -52
  58. package/types/excalidraw/actions/actionEmbeddable.d.ts +25 -18
  59. package/types/excalidraw/actions/actionExport.d.ts +237 -174
  60. package/types/excalidraw/actions/actionFinalize.d.ts +307 -43
  61. package/types/excalidraw/actions/actionFrame.d.ts +157 -120
  62. package/types/excalidraw/actions/actionGroup.d.ts +50 -36
  63. package/types/excalidraw/actions/actionHistory.d.ts +1 -2
  64. package/types/excalidraw/actions/actionLinearEditor.d.ts +563 -20
  65. package/types/excalidraw/actions/actionLink.d.ts +23 -16
  66. package/types/excalidraw/actions/actionMenu.d.ts +25 -456
  67. package/types/excalidraw/actions/actionNavigate.d.ts +49 -35
  68. package/types/excalidraw/actions/actionProperties.d.ts +629 -273
  69. package/types/excalidraw/actions/actionSelectAll.d.ts +25 -18
  70. package/types/excalidraw/actions/actionStyles.d.ts +25 -18
  71. package/types/excalidraw/actions/actionToggleGridMode.d.ts +25 -18
  72. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +25 -18
  73. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -223
  74. package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  75. package/types/excalidraw/actions/actionToggleStats.d.ts +25 -18
  76. package/types/excalidraw/actions/actionToggleViewMode.d.ts +25 -18
  77. package/types/excalidraw/actions/actionToggleZenMode.d.ts +26 -19
  78. package/types/excalidraw/actions/actionTrayMenu.d.ts +226 -0
  79. package/types/excalidraw/actions/index.d.ts +4 -2
  80. package/types/excalidraw/actions/types.d.ts +4 -3
  81. package/types/excalidraw/appState.d.ts +24 -10
  82. package/types/excalidraw/clipboard.d.ts +68 -5
  83. package/types/excalidraw/components/Actions.d.ts +20 -7
  84. package/types/excalidraw/components/App.d.ts +63 -38
  85. package/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  86. package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  87. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  88. package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  89. package/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -3
  90. package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -3
  91. package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -2
  92. package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  93. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  94. package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  95. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  96. package/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  97. package/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  98. package/types/excalidraw/components/Ellipsify.d.ts +3 -0
  99. package/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  100. package/types/excalidraw/components/FixedSideContainer.d.ts +2 -1
  101. package/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  102. package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  103. package/types/excalidraw/components/HintViewer.d.ts +4 -3
  104. package/types/excalidraw/components/InlineIcon.d.ts +3 -1
  105. package/types/excalidraw/components/LayerUI.d.ts +2 -1
  106. package/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  107. package/types/excalidraw/components/MobileMenu.d.ts +4 -5
  108. package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  109. package/types/excalidraw/components/Popover.d.ts +2 -1
  110. package/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  111. package/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  112. package/types/excalidraw/components/Range.d.ts +3 -3
  113. package/types/excalidraw/components/Section.d.ts +1 -0
  114. package/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  115. package/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  116. package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +1 -1
  117. package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  118. package/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  119. package/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
  120. package/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  121. package/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  122. package/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  123. package/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  124. package/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  125. package/types/excalidraw/components/Stats/Position.d.ts +1 -1
  126. package/types/excalidraw/components/Stats/utils.d.ts +4 -11
  127. package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
  128. package/types/excalidraw/components/TextField.d.ts +1 -0
  129. package/types/excalidraw/components/ToolPopover.d.ts +25 -0
  130. package/types/excalidraw/components/TrayMenu.d.ts +26 -0
  131. package/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  132. package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +4 -2
  133. package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  134. package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  135. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  136. package/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  137. package/types/excalidraw/components/icons.d.ts +13 -0
  138. package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +14 -1
  139. package/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
  140. package/types/excalidraw/components/shapes.d.ts +115 -5
  141. package/types/excalidraw/data/blob.d.ts +3 -7
  142. package/types/excalidraw/data/reconcile.d.ts +1 -0
  143. package/types/excalidraw/data/restore.d.ts +6 -1
  144. package/types/excalidraw/data/transform.d.ts +1 -1
  145. package/types/excalidraw/data/types.d.ts +4 -1
  146. package/types/excalidraw/editor-jotai.d.ts +6 -6
  147. package/types/excalidraw/eraser/index.d.ts +12 -0
  148. package/types/excalidraw/fonts/Fonts.d.ts +1 -1
  149. package/types/excalidraw/history.d.ts +30 -22
  150. package/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  151. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  152. package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  153. package/types/excalidraw/index.d.ts +15 -14
  154. package/types/excalidraw/lasso/index.d.ts +1 -0
  155. package/types/excalidraw/lasso/utils.d.ts +3 -3
  156. package/types/excalidraw/obsidianUtils.d.ts +22 -4
  157. package/types/excalidraw/renderer/helpers.d.ts +7 -2
  158. package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  159. package/types/excalidraw/renderer/staticScene.d.ts +4 -1
  160. package/types/excalidraw/scene/Renderer.d.ts +1 -2
  161. package/types/excalidraw/scene/index.d.ts +2 -2
  162. package/types/excalidraw/scene/scrollbars.d.ts +2 -3
  163. package/types/excalidraw/scene/types.d.ts +5 -3
  164. package/types/excalidraw/shortcut.d.ts +1 -0
  165. package/types/excalidraw/snapping.d.ts +2 -2
  166. package/types/excalidraw/types.d.ts +68 -30
  167. package/types/excalidraw/webpack.dev.config.d.ts +2 -0
  168. package/types/excalidraw/webpack.prod.config.d.ts +2 -0
  169. package/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  170. package/types/math/src/angle.d.ts +2 -0
  171. package/types/math/src/constants.d.ts +3 -0
  172. package/types/math/src/curve.d.ts +34 -0
  173. package/types/math/src/index.d.ts +1 -0
  174. package/types/math/src/point.d.ts +1 -1
  175. package/types/math/src/rectangle.d.ts +2 -0
  176. package/types/math/src/segment.d.ts +1 -0
  177. package/types/math/src/types.d.ts +1 -0
  178. package/types/math/src/vector.d.ts +8 -2
  179. package/types/utils/src/bbox.d.ts +1 -1
  180. package/types/utils/src/index.d.ts +1 -1
  181. package/types/utils/src/withinBounds.d.ts +1 -1
  182. package/types/element/src/Shape.d.ts +0 -17
  183. package/types/element/src/ShapeCache.d.ts +0 -25
  184. package/types/element/src/shapes.d.ts +0 -23
  185. package/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  186. package/types/excalidraw/store.d.ts +0 -129
  187. package/types/excalidraw/visualdebug.d.ts +0 -41
  188. package/types/utils/src/collision.d.ts +0 -8
@@ -27,23 +27,28 @@ export declare const actionGoToCollaborator: {
27
27
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
28
28
  isBindingEnabled: boolean;
29
29
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
30
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
30
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
31
31
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
32
32
  frameRendering: {
33
33
  enabled: boolean;
34
34
  name: boolean;
35
35
  outline: boolean;
36
36
  clip: boolean;
37
+ markerName: boolean;
38
+ markerEnabled: boolean;
37
39
  };
38
40
  editingFrame: string | null;
39
41
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
40
42
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
41
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
42
43
  activeTool: {
43
44
  lastActiveTool: import("../types").ActiveTool | null;
44
45
  locked: boolean;
45
46
  fromSelection: boolean;
46
47
  } & import("../types").ActiveTool;
48
+ preferredSelectionTool: {
49
+ type: "selection" | "lasso";
50
+ initialized: boolean;
51
+ };
47
52
  penMode: boolean;
48
53
  penDetected: boolean;
49
54
  exportBackground: boolean;
@@ -65,6 +70,7 @@ export declare const actionGoToCollaborator: {
65
70
  currentHoveredFontFamily: number | null;
66
71
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
67
72
  currentItemArrowType: "round" | "sharp" | "elbow";
73
+ currentItemFrameRole: ("marker" | null) | undefined;
68
74
  viewBackgroundColor: string;
69
75
  scrollX: number;
70
76
  scrollY: number;
@@ -76,8 +82,8 @@ export declare const actionGoToCollaborator: {
76
82
  zoom: Readonly<{
77
83
  value: import("../types").NormalizedZoomValue;
78
84
  }>;
79
- openMenu: "shape" | "canvas" | null;
80
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
85
+ openMenu: "canvas" | "shape" | null;
86
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
81
87
  openSidebar: {
82
88
  name: string;
83
89
  tab?: string | undefined;
@@ -158,10 +164,8 @@ export declare const actionGoToCollaborator: {
158
164
  shown: true;
159
165
  data: import("../charts").Spreadsheet;
160
166
  };
161
- pendingImageElementId: string | null;
162
- showHyperlinkPopup: false | "editor" | "info";
167
+ showHyperlinkPopup: false | "info" | "editor";
163
168
  linkOpacity: number;
164
- trayModeEnabled: boolean;
165
169
  colorPalette?: {
166
170
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
167
171
  elementBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -174,6 +178,7 @@ export declare const actionGoToCollaborator: {
174
178
  } | undefined;
175
179
  allowWheelZoom?: boolean | undefined;
176
180
  allowPinchZoom?: boolean | undefined;
181
+ disableContextMenu: boolean;
177
182
  pinnedScripts?: string[] | undefined;
178
183
  customPens?: any[] | undefined;
179
184
  currentStrokeOptions?: any;
@@ -182,6 +187,10 @@ export declare const actionGoToCollaborator: {
182
187
  Bold: string;
183
188
  Regular: string;
184
189
  };
190
+ gridDirection: {
191
+ horizontal: boolean;
192
+ vertical: boolean;
193
+ };
185
194
  highlightSearchResult: boolean;
186
195
  dynamicStyle: {
187
196
  [x: string]: string;
@@ -192,7 +201,7 @@ export declare const actionGoToCollaborator: {
192
201
  nameColor: string;
193
202
  };
194
203
  invertBindingBehaviour: boolean;
195
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
204
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
196
205
  snapLines: readonly import("../snapping").SnapLine[];
197
206
  originSnapOffset: {
198
207
  x: number;
@@ -202,16 +211,14 @@ export declare const actionGoToCollaborator: {
202
211
  followedBy: Set<import("../types").SocketId>;
203
212
  isCropping: boolean;
204
213
  croppingElementId: string | null;
205
- searchMatches: readonly {
206
- id: string;
207
- focus: boolean;
208
- matchedLines: {
209
- offsetX: number;
210
- offsetY: number;
211
- width: number;
212
- height: number;
213
- }[];
214
- }[];
214
+ searchMatches: Readonly<{
215
+ focusedId: string | null;
216
+ matches: readonly import("../types").SearchMatch[];
217
+ }> | null;
218
+ activeLockedId: string | null;
219
+ lockedMultiSelections: {
220
+ [groupId: string]: true;
221
+ };
215
222
  };
216
223
  captureUpdate: "EVENTUALLY";
217
224
  } | {
@@ -239,23 +246,28 @@ export declare const actionGoToCollaborator: {
239
246
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
240
247
  isBindingEnabled: boolean;
241
248
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
242
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
249
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
243
250
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
244
251
  frameRendering: {
245
252
  enabled: boolean;
246
253
  name: boolean;
247
254
  outline: boolean;
248
255
  clip: boolean;
256
+ markerName: boolean;
257
+ markerEnabled: boolean;
249
258
  };
250
259
  editingFrame: string | null;
251
260
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
252
261
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
253
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
254
262
  activeTool: {
255
263
  lastActiveTool: import("../types").ActiveTool | null;
256
264
  locked: boolean;
257
265
  fromSelection: boolean;
258
266
  } & import("../types").ActiveTool;
267
+ preferredSelectionTool: {
268
+ type: "selection" | "lasso";
269
+ initialized: boolean;
270
+ };
259
271
  penMode: boolean;
260
272
  penDetected: boolean;
261
273
  exportBackground: boolean;
@@ -277,6 +289,7 @@ export declare const actionGoToCollaborator: {
277
289
  currentHoveredFontFamily: number | null;
278
290
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
279
291
  currentItemArrowType: "round" | "sharp" | "elbow";
292
+ currentItemFrameRole: ("marker" | null) | undefined;
280
293
  viewBackgroundColor: string;
281
294
  scrollX: number;
282
295
  scrollY: number;
@@ -288,7 +301,7 @@ export declare const actionGoToCollaborator: {
288
301
  zoom: Readonly<{
289
302
  value: import("../types").NormalizedZoomValue;
290
303
  }>;
291
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
304
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
292
305
  openSidebar: {
293
306
  name: string;
294
307
  tab?: string | undefined;
@@ -369,10 +382,8 @@ export declare const actionGoToCollaborator: {
369
382
  shown: true;
370
383
  data: import("../charts").Spreadsheet;
371
384
  };
372
- pendingImageElementId: string | null;
373
- showHyperlinkPopup: false | "editor" | "info";
385
+ showHyperlinkPopup: false | "info" | "editor";
374
386
  linkOpacity: number;
375
- trayModeEnabled: boolean;
376
387
  colorPalette?: {
377
388
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
378
389
  elementBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -385,6 +396,7 @@ export declare const actionGoToCollaborator: {
385
396
  } | undefined;
386
397
  allowWheelZoom?: boolean | undefined;
387
398
  allowPinchZoom?: boolean | undefined;
399
+ disableContextMenu: boolean;
388
400
  pinnedScripts?: string[] | undefined;
389
401
  customPens?: any[] | undefined;
390
402
  currentStrokeOptions?: any;
@@ -393,6 +405,10 @@ export declare const actionGoToCollaborator: {
393
405
  Bold: string;
394
406
  Regular: string;
395
407
  };
408
+ gridDirection: {
409
+ horizontal: boolean;
410
+ vertical: boolean;
411
+ };
396
412
  highlightSearchResult: boolean;
397
413
  dynamicStyle: {
398
414
  [x: string]: string;
@@ -403,7 +419,7 @@ export declare const actionGoToCollaborator: {
403
419
  nameColor: string;
404
420
  };
405
421
  invertBindingBehaviour: boolean;
406
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
422
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
407
423
  snapLines: readonly import("../snapping").SnapLine[];
408
424
  originSnapOffset: {
409
425
  x: number;
@@ -413,16 +429,14 @@ export declare const actionGoToCollaborator: {
413
429
  followedBy: Set<import("../types").SocketId>;
414
430
  isCropping: boolean;
415
431
  croppingElementId: string | null;
416
- searchMatches: readonly {
417
- id: string;
418
- focus: boolean;
419
- matchedLines: {
420
- offsetX: number;
421
- offsetY: number;
422
- width: number;
423
- height: number;
424
- }[];
425
- }[];
432
+ searchMatches: Readonly<{
433
+ focusedId: string | null;
434
+ matches: readonly import("../types").SearchMatch[];
435
+ }> | null;
436
+ activeLockedId: string | null;
437
+ lockedMultiSelections: {
438
+ [groupId: string]: true;
439
+ };
426
440
  };
427
441
  captureUpdate: "EVENTUALLY";
428
442
  };