@zsviczian/excalidraw 0.18.0-13 → 0.18.0-15

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 (116) hide show
  1. package/dist/excalidraw.development.js +153 -153
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/styles.development.css +38 -2
  4. package/dist/styles.production.css +2 -2
  5. package/package.json +1 -1
  6. package/types/common/src/constants.d.ts +1 -0
  7. package/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  8. package/types/common/src/font-metadata.d.ts +4 -2
  9. package/types/common/src/index.d.ts +1 -0
  10. package/types/common/src/utility-types.d.ts +5 -0
  11. package/types/common/src/utils.d.ts +16 -4
  12. package/types/element/src/Scene.d.ts +4 -4
  13. package/types/element/src/ShapeCache.d.ts +1 -1
  14. package/types/element/src/align.d.ts +1 -1
  15. package/types/element/src/binding.d.ts +1 -1
  16. package/types/element/src/bounds.d.ts +1 -1
  17. package/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
  18. package/types/element/src/dragElements.d.ts +1 -1
  19. package/types/element/src/flowchart.d.ts +1 -1
  20. package/types/element/src/frame.d.ts +3 -2
  21. package/types/element/src/index.d.ts +45 -2
  22. package/types/element/src/linearElementEditor.d.ts +4 -8
  23. package/types/element/src/newElement.d.ts +1 -1
  24. package/types/element/src/resizeElements.d.ts +1 -1
  25. package/types/element/src/selection.d.ts +1 -6
  26. package/types/element/src/store.d.ts +227 -0
  27. package/types/element/src/textElement.d.ts +1 -1
  28. package/types/element/src/transformHandles.d.ts +4 -4
  29. package/types/element/src/typeChecks.d.ts +2 -1
  30. package/types/element/src/types.d.ts +6 -1
  31. package/types/element/src/zindex.d.ts +3 -3
  32. package/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -42
  33. package/types/excalidraw/actions/actionAlign.d.ts +8 -8
  34. package/types/excalidraw/actions/actionBoundText.d.ts +16 -28
  35. package/types/excalidraw/actions/actionCanvas.d.ts +238 -328
  36. package/types/excalidraw/actions/actionClipboard.d.ts +50 -86
  37. package/types/excalidraw/actions/actionCropEditor.d.ts +8 -14
  38. package/types/excalidraw/actions/actionDeleteSelected.d.ts +22 -40
  39. package/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  40. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  41. package/types/excalidraw/actions/actionElementLink.d.ts +8 -14
  42. package/types/excalidraw/actions/actionElementLock.d.ts +18 -30
  43. package/types/excalidraw/actions/actionEmbeddable.d.ts +8 -14
  44. package/types/excalidraw/actions/actionExport.d.ts +173 -227
  45. package/types/excalidraw/actions/actionFinalize.d.ts +14 -26
  46. package/types/excalidraw/actions/actionFlip.d.ts +4 -4
  47. package/types/excalidraw/actions/actionFrame.d.ts +81 -105
  48. package/types/excalidraw/actions/actionGroup.d.ts +22 -34
  49. package/types/excalidraw/actions/actionHistory.d.ts +1 -2
  50. package/types/excalidraw/actions/actionLinearEditor.d.ts +7 -13
  51. package/types/excalidraw/actions/actionLink.d.ts +9 -15
  52. package/types/excalidraw/actions/actionMenu.d.ts +26 -44
  53. package/types/excalidraw/actions/actionNavigate.d.ts +16 -28
  54. package/types/excalidraw/actions/actionProperties.d.ts +106 -196
  55. package/types/excalidraw/actions/actionSelectAll.d.ts +10 -16
  56. package/types/excalidraw/actions/actionStyles.d.ts +12 -18
  57. package/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -16
  58. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -16
  59. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -225
  60. package/types/excalidraw/actions/actionToggleStats.d.ts +10 -16
  61. package/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -16
  62. package/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -16
  63. package/types/excalidraw/actions/actionZindex.d.ts +10 -10
  64. package/types/excalidraw/actions/types.d.ts +1 -1
  65. package/types/excalidraw/appState.d.ts +23 -23
  66. package/types/excalidraw/clipboard.d.ts +4 -4
  67. package/types/excalidraw/components/App.d.ts +8 -8
  68. package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  69. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  70. package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  71. package/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  72. package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  73. package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  74. package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  75. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  76. package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  77. package/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -28
  78. package/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  79. package/types/excalidraw/components/Range.d.ts +3 -3
  80. package/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  81. package/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  82. package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +1 -1
  83. package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  84. package/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  85. package/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  86. package/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  87. package/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  88. package/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  89. package/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  90. package/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  91. package/types/excalidraw/components/Stats/Position.d.ts +1 -1
  92. package/types/excalidraw/components/Stats/utils.d.ts +1 -1
  93. package/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  94. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
  95. package/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
  96. package/types/excalidraw/components/icons.d.ts +1 -0
  97. package/types/excalidraw/components/shapes.d.ts +1 -1
  98. package/types/excalidraw/data/blob.d.ts +1 -1
  99. package/types/excalidraw/data/library.d.ts +1 -1
  100. package/types/excalidraw/data/transform.d.ts +1 -1
  101. package/types/excalidraw/fonts/Fonts.d.ts +1 -1
  102. package/types/excalidraw/history.d.ts +14 -22
  103. package/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  104. package/types/excalidraw/index.d.ts +9 -9
  105. package/types/excalidraw/renderer/helpers.d.ts +6 -1
  106. package/types/excalidraw/scene/Renderer.d.ts +1 -1
  107. package/types/excalidraw/scene/index.d.ts +2 -2
  108. package/types/excalidraw/snapping.d.ts +2 -2
  109. package/types/excalidraw/types.d.ts +13 -6
  110. package/types/excalidraw/visualdebug.d.ts +1 -1
  111. package/types/math/src/curve.d.ts +2 -0
  112. package/types/math/src/vector.d.ts +4 -0
  113. package/types/utils/src/bbox.d.ts +1 -1
  114. package/types/utils/src/index.d.ts +1 -1
  115. package/types/utils/src/withinBounds.d.ts +1 -1
  116. package/types/excalidraw/store.d.ts +0 -129
@@ -25,7 +25,7 @@ export declare const actionChangeProjectName: {
25
25
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
26
26
  isBindingEnabled: boolean;
27
27
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
28
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
28
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
29
29
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
30
30
  frameRendering: {
31
31
  enabled: boolean;
@@ -36,7 +36,7 @@ export declare const actionChangeProjectName: {
36
36
  editingFrame: string | null;
37
37
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
38
38
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
39
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
39
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
40
40
  activeTool: {
41
41
  lastActiveTool: import("../types").ActiveTool | null;
42
42
  locked: boolean;
@@ -156,7 +156,7 @@ export declare const actionChangeProjectName: {
156
156
  data: import("../charts").Spreadsheet;
157
157
  };
158
158
  pendingImageElementId: string | null;
159
- showHyperlinkPopup: false | "editor" | "info";
159
+ showHyperlinkPopup: false | "info" | "editor";
160
160
  linkOpacity: number;
161
161
  trayModeEnabled: boolean;
162
162
  colorPalette?: {
@@ -193,7 +193,7 @@ export declare const actionChangeProjectName: {
193
193
  nameColor: string;
194
194
  };
195
195
  invertBindingBehaviour: boolean;
196
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
196
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
197
197
  snapLines: readonly import("../snapping").SnapLine[];
198
198
  originSnapOffset: {
199
199
  x: number;
@@ -204,16 +204,10 @@ export declare const actionChangeProjectName: {
204
204
  followedBy: Set<import("../types").SocketId>;
205
205
  isCropping: boolean;
206
206
  croppingElementId: string | null;
207
- searchMatches: readonly {
208
- id: string;
209
- focus: boolean;
210
- matchedLines: {
211
- offsetX: number;
212
- offsetY: number;
213
- width: number;
214
- height: number;
215
- }[];
216
- }[];
207
+ searchMatches: Readonly<{
208
+ focusedId: string | null;
209
+ matches: readonly import("../types").SearchMatch[];
210
+ }> | null;
217
211
  };
218
212
  captureUpdate: "EVENTUALLY";
219
213
  };
@@ -249,7 +243,7 @@ export declare const actionChangeExportScale: {
249
243
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
250
244
  isBindingEnabled: boolean;
251
245
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
252
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
246
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
253
247
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
254
248
  frameRendering: {
255
249
  enabled: boolean;
@@ -260,7 +254,7 @@ export declare const actionChangeExportScale: {
260
254
  editingFrame: string | null;
261
255
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
262
256
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
263
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
257
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
264
258
  activeTool: {
265
259
  lastActiveTool: import("../types").ActiveTool | null;
266
260
  locked: boolean;
@@ -380,7 +374,7 @@ export declare const actionChangeExportScale: {
380
374
  data: import("../charts").Spreadsheet;
381
375
  };
382
376
  pendingImageElementId: string | null;
383
- showHyperlinkPopup: false | "editor" | "info";
377
+ showHyperlinkPopup: false | "info" | "editor";
384
378
  linkOpacity: number;
385
379
  trayModeEnabled: boolean;
386
380
  colorPalette?: {
@@ -417,7 +411,7 @@ export declare const actionChangeExportScale: {
417
411
  nameColor: string;
418
412
  };
419
413
  invertBindingBehaviour: boolean;
420
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
414
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
421
415
  snapLines: readonly import("../snapping").SnapLine[];
422
416
  originSnapOffset: {
423
417
  x: number;
@@ -428,16 +422,10 @@ export declare const actionChangeExportScale: {
428
422
  followedBy: Set<import("../types").SocketId>;
429
423
  isCropping: boolean;
430
424
  croppingElementId: string | null;
431
- searchMatches: readonly {
432
- id: string;
433
- focus: boolean;
434
- matchedLines: {
435
- offsetX: number;
436
- offsetY: number;
437
- width: number;
438
- height: number;
439
- }[];
440
- }[];
425
+ searchMatches: Readonly<{
426
+ focusedId: string | null;
427
+ matches: readonly import("../types").SearchMatch[];
428
+ }> | null;
441
429
  };
442
430
  captureUpdate: "EVENTUALLY";
443
431
  };
@@ -473,7 +461,7 @@ export declare const actionChangeExportBackground: {
473
461
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
474
462
  isBindingEnabled: boolean;
475
463
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
476
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
464
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
477
465
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
478
466
  frameRendering: {
479
467
  enabled: boolean;
@@ -484,7 +472,7 @@ export declare const actionChangeExportBackground: {
484
472
  editingFrame: string | null;
485
473
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
486
474
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
487
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
475
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
488
476
  activeTool: {
489
477
  lastActiveTool: import("../types").ActiveTool | null;
490
478
  locked: boolean;
@@ -604,7 +592,7 @@ export declare const actionChangeExportBackground: {
604
592
  data: import("../charts").Spreadsheet;
605
593
  };
606
594
  pendingImageElementId: string | null;
607
- showHyperlinkPopup: false | "editor" | "info";
595
+ showHyperlinkPopup: false | "info" | "editor";
608
596
  linkOpacity: number;
609
597
  trayModeEnabled: boolean;
610
598
  colorPalette?: {
@@ -641,7 +629,7 @@ export declare const actionChangeExportBackground: {
641
629
  nameColor: string;
642
630
  };
643
631
  invertBindingBehaviour: boolean;
644
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
632
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
645
633
  snapLines: readonly import("../snapping").SnapLine[];
646
634
  originSnapOffset: {
647
635
  x: number;
@@ -652,16 +640,10 @@ export declare const actionChangeExportBackground: {
652
640
  followedBy: Set<import("../types").SocketId>;
653
641
  isCropping: boolean;
654
642
  croppingElementId: string | null;
655
- searchMatches: readonly {
656
- id: string;
657
- focus: boolean;
658
- matchedLines: {
659
- offsetX: number;
660
- offsetY: number;
661
- width: number;
662
- height: number;
663
- }[];
664
- }[];
643
+ searchMatches: Readonly<{
644
+ focusedId: string | null;
645
+ matches: readonly import("../types").SearchMatch[];
646
+ }> | null;
665
647
  };
666
648
  captureUpdate: "EVENTUALLY";
667
649
  };
@@ -697,7 +679,7 @@ export declare const actionChangeExportEmbedScene: {
697
679
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
698
680
  isBindingEnabled: boolean;
699
681
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
700
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
682
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
701
683
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
702
684
  frameRendering: {
703
685
  enabled: boolean;
@@ -708,7 +690,7 @@ export declare const actionChangeExportEmbedScene: {
708
690
  editingFrame: string | null;
709
691
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
710
692
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
711
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
693
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
712
694
  activeTool: {
713
695
  lastActiveTool: import("../types").ActiveTool | null;
714
696
  locked: boolean;
@@ -828,7 +810,7 @@ export declare const actionChangeExportEmbedScene: {
828
810
  data: import("../charts").Spreadsheet;
829
811
  };
830
812
  pendingImageElementId: string | null;
831
- showHyperlinkPopup: false | "editor" | "info";
813
+ showHyperlinkPopup: false | "info" | "editor";
832
814
  linkOpacity: number;
833
815
  trayModeEnabled: boolean;
834
816
  colorPalette?: {
@@ -865,7 +847,7 @@ export declare const actionChangeExportEmbedScene: {
865
847
  nameColor: string;
866
848
  };
867
849
  invertBindingBehaviour: boolean;
868
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
850
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
869
851
  snapLines: readonly import("../snapping").SnapLine[];
870
852
  originSnapOffset: {
871
853
  x: number;
@@ -876,16 +858,10 @@ export declare const actionChangeExportEmbedScene: {
876
858
  followedBy: Set<import("../types").SocketId>;
877
859
  isCropping: boolean;
878
860
  croppingElementId: string | null;
879
- searchMatches: readonly {
880
- id: string;
881
- focus: boolean;
882
- matchedLines: {
883
- offsetX: number;
884
- offsetY: number;
885
- width: number;
886
- height: number;
887
- }[];
888
- }[];
861
+ searchMatches: Readonly<{
862
+ focusedId: string | null;
863
+ matches: readonly import("../types").SearchMatch[];
864
+ }> | null;
889
865
  };
890
866
  captureUpdate: "EVENTUALLY";
891
867
  };
@@ -926,7 +902,7 @@ export declare const actionSaveToActiveFile: {
926
902
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
927
903
  isBindingEnabled: boolean;
928
904
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
929
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
905
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
930
906
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
931
907
  frameRendering: {
932
908
  enabled: boolean;
@@ -937,7 +913,7 @@ export declare const actionSaveToActiveFile: {
937
913
  editingFrame: string | null;
938
914
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
939
915
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
940
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
916
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
941
917
  activeTool: {
942
918
  lastActiveTool: import("../types").ActiveTool | null;
943
919
  locked: boolean;
@@ -1052,7 +1028,7 @@ export declare const actionSaveToActiveFile: {
1052
1028
  data: import("../charts").Spreadsheet;
1053
1029
  };
1054
1030
  pendingImageElementId: string | null;
1055
- showHyperlinkPopup: false | "editor" | "info";
1031
+ showHyperlinkPopup: false | "info" | "editor";
1056
1032
  linkOpacity: number;
1057
1033
  trayModeEnabled: boolean;
1058
1034
  colorPalette?: {
@@ -1089,7 +1065,7 @@ export declare const actionSaveToActiveFile: {
1089
1065
  nameColor: string;
1090
1066
  };
1091
1067
  invertBindingBehaviour: boolean;
1092
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1068
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1093
1069
  snapLines: readonly import("../snapping").SnapLine[];
1094
1070
  originSnapOffset: {
1095
1071
  x: number;
@@ -1100,24 +1076,18 @@ export declare const actionSaveToActiveFile: {
1100
1076
  followedBy: Set<import("../types").SocketId>;
1101
1077
  isCropping: boolean;
1102
1078
  croppingElementId: string | null;
1103
- searchMatches: readonly {
1104
- id: string;
1105
- focus: boolean;
1106
- matchedLines: {
1107
- offsetX: number;
1108
- offsetY: number;
1109
- width: number;
1110
- height: number;
1111
- }[];
1112
- }[];
1079
+ searchMatches: Readonly<{
1080
+ focusedId: string | null;
1081
+ matches: readonly import("../types").SearchMatch[];
1082
+ }> | null;
1113
1083
  };
1114
1084
  } | {
1115
1085
  captureUpdate: "EVENTUALLY";
1116
1086
  appState?: undefined;
1117
1087
  }>;
1118
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1088
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1119
1089
  } & {
1120
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1090
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1121
1091
  };
1122
1092
  export declare const actionSaveFileToDisk: {
1123
1093
  name: "saveFileToDisk";
@@ -1153,7 +1123,7 @@ export declare const actionSaveFileToDisk: {
1153
1123
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1154
1124
  isBindingEnabled: boolean;
1155
1125
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1156
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1126
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1157
1127
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1158
1128
  frameRendering: {
1159
1129
  enabled: boolean;
@@ -1164,7 +1134,7 @@ export declare const actionSaveFileToDisk: {
1164
1134
  editingFrame: string | null;
1165
1135
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1166
1136
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1167
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1137
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1168
1138
  activeTool: {
1169
1139
  lastActiveTool: import("../types").ActiveTool | null;
1170
1140
  locked: boolean;
@@ -1268,7 +1238,7 @@ export declare const actionSaveFileToDisk: {
1268
1238
  data: import("../charts").Spreadsheet;
1269
1239
  };
1270
1240
  pendingImageElementId: string | null;
1271
- showHyperlinkPopup: false | "editor" | "info";
1241
+ showHyperlinkPopup: false | "info" | "editor";
1272
1242
  linkOpacity: number;
1273
1243
  trayModeEnabled: boolean;
1274
1244
  colorPalette?: {
@@ -1305,7 +1275,7 @@ export declare const actionSaveFileToDisk: {
1305
1275
  nameColor: string;
1306
1276
  };
1307
1277
  invertBindingBehaviour: boolean;
1308
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1278
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1309
1279
  snapLines: readonly import("../snapping").SnapLine[];
1310
1280
  originSnapOffset: {
1311
1281
  x: number;
@@ -1316,25 +1286,19 @@ export declare const actionSaveFileToDisk: {
1316
1286
  followedBy: Set<import("../types").SocketId>;
1317
1287
  isCropping: boolean;
1318
1288
  croppingElementId: string | null;
1319
- searchMatches: readonly {
1320
- id: string;
1321
- focus: boolean;
1322
- matchedLines: {
1323
- offsetX: number;
1324
- offsetY: number;
1325
- width: number;
1326
- height: number;
1327
- }[];
1328
- }[];
1289
+ searchMatches: Readonly<{
1290
+ focusedId: string | null;
1291
+ matches: readonly import("../types").SearchMatch[];
1292
+ }> | null;
1329
1293
  };
1330
1294
  } | {
1331
1295
  captureUpdate: "EVENTUALLY";
1332
1296
  appState?: undefined;
1333
1297
  }>;
1334
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1298
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1335
1299
  PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1336
1300
  } & {
1337
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1301
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1338
1302
  };
1339
1303
  export declare const actionLoadScene: {
1340
1304
  name: "loadScene";
@@ -1346,124 +1310,53 @@ export declare const actionLoadScene: {
1346
1310
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1347
1311
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1348
1312
  appState: {
1349
- name: string | null;
1350
- activeTool: {
1351
- lastActiveTool: import("../types").ActiveTool | null;
1352
- locked: boolean;
1353
- fromSelection: boolean;
1354
- } & import("../types").ActiveTool;
1355
- zoom: Readonly<{
1356
- value: import("../types").NormalizedZoomValue;
1357
- }>;
1358
- scrollX: number;
1359
- scrollY: number;
1360
- viewBackgroundColor: string;
1361
- frameRendering: {
1362
- enabled: boolean;
1363
- name: boolean;
1364
- outline: boolean;
1365
- clip: boolean;
1366
- };
1367
- frameColor: {
1368
- stroke: string;
1369
- fill: string;
1370
- nameColor: string;
1371
- };
1372
- viewModeEnabled: boolean;
1373
- openDialog: {
1374
- name: "help" | "imageExport" | "jsonExport";
1375
- } | {
1376
- name: "ttd";
1377
- tab: "mermaid" | "text-to-diagram";
1378
- } | {
1379
- name: "commandPalette";
1380
- } | {
1381
- name: "elementLinkSelector";
1382
- sourceElementId: string;
1383
- } | null;
1384
- editingGroupId: string | null;
1385
- selectedElementIds: Readonly<{
1386
- [id: string]: true;
1387
- }>;
1388
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1389
- theme: Theme;
1390
- pendingImageElementId: string | null;
1391
- activeEmbeddable: {
1392
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1393
- state: "active" | "hover";
1394
- } | null;
1395
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1396
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1397
- selectedGroupIds: {
1398
- [groupId: string]: boolean;
1399
- };
1400
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1401
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1402
- isBindingEnabled: boolean;
1403
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1404
- isRotating: boolean;
1405
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1406
- collaborators: Map<import("../types").SocketId, Readonly<{
1407
- pointer?: import("../types").CollaboratorPointer | undefined;
1408
- button?: "up" | "down" | undefined;
1409
- selectedElementIds?: Readonly<{
1410
- [id: string]: true;
1411
- }> | undefined;
1412
- username?: string | null | undefined;
1413
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1414
- color?: {
1415
- background: string;
1416
- stroke: string;
1417
- } | undefined;
1418
- avatarUrl?: string | undefined;
1419
- id?: string | undefined;
1420
- socketId?: import("../types").SocketId | undefined;
1421
- isCurrentUser?: boolean | undefined;
1422
- isInCall?: boolean | undefined;
1423
- isSpeaking?: boolean | undefined;
1424
- isMuted?: boolean | undefined;
1425
- }>>;
1426
- snapLines: readonly import("../snapping").SnapLine[];
1427
- zenModeEnabled: boolean;
1428
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1429
- gridColor: {
1430
- Bold: string;
1431
- Regular: string;
1432
- };
1433
- gridDirection: {
1434
- horizontal: boolean;
1435
- vertical: boolean;
1436
- };
1437
- highlightSearchResult: boolean;
1438
- isCropping: boolean;
1439
- croppingElementId: string | null;
1440
- searchMatches: readonly {
1441
- id: string;
1442
- focus: boolean;
1443
- matchedLines: {
1444
- offsetX: number;
1445
- offsetY: number;
1446
- width: number;
1447
- height: number;
1448
- }[];
1449
- }[];
1450
1313
  contextMenu: {
1451
1314
  items: import("../components/ContextMenu").ContextMenuItems;
1452
1315
  top: number;
1453
1316
  left: number;
1454
1317
  } | null;
1318
+ stats: {
1319
+ open: boolean;
1320
+ panels: number;
1321
+ };
1322
+ exportWithDarkMode: boolean;
1323
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1324
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1325
+ cursorButton: "up" | "down";
1326
+ scrollX: number;
1327
+ scrollY: number;
1455
1328
  showWelcomeScreen: boolean;
1456
1329
  isLoading: boolean;
1457
1330
  errorMessage: import("react").ReactNode;
1331
+ activeEmbeddable: {
1332
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1333
+ state: "active" | "hover";
1334
+ } | null;
1458
1335
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1459
1336
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1460
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1337
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1338
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1339
+ isBindingEnabled: boolean;
1340
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1341
+ frameRendering: {
1342
+ enabled: boolean;
1343
+ name: boolean;
1344
+ outline: boolean;
1345
+ clip: boolean;
1346
+ };
1461
1347
  editingFrame: string | null;
1348
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1349
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1350
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1351
+ activeTool: {
1352
+ lastActiveTool: import("../types").ActiveTool | null;
1353
+ locked: boolean;
1354
+ fromSelection: boolean;
1355
+ } & import("../types").ActiveTool;
1462
1356
  penMode: boolean;
1463
1357
  penDetected: boolean;
1464
1358
  exportBackground: boolean;
1465
1359
  exportEmbedScene: boolean;
1466
- exportWithDarkMode: boolean;
1467
1360
  exportScale: number;
1468
1361
  currentItemStrokeColor: string;
1469
1362
  currentItemBackgroundColor: string;
@@ -1480,17 +1373,36 @@ export declare const actionLoadScene: {
1480
1373
  currentHoveredFontFamily: number | null;
1481
1374
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1482
1375
  currentItemArrowType: "round" | "sharp" | "elbow";
1483
- cursorButton: "up" | "down";
1376
+ viewBackgroundColor: string;
1484
1377
  scrolledOutside: boolean;
1378
+ name: string | null;
1485
1379
  isResizing: boolean;
1380
+ isRotating: boolean;
1381
+ zoom: Readonly<{
1382
+ value: import("../types").NormalizedZoomValue;
1383
+ }>;
1486
1384
  openMenu: "canvas" | "shape" | null;
1487
1385
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1488
1386
  openSidebar: {
1489
1387
  name: string;
1490
1388
  tab?: string | undefined;
1491
1389
  } | null;
1390
+ openDialog: {
1391
+ name: "help" | "imageExport" | "jsonExport";
1392
+ } | {
1393
+ name: "ttd";
1394
+ tab: "mermaid" | "text-to-diagram";
1395
+ } | {
1396
+ name: "commandPalette";
1397
+ } | {
1398
+ name: "elementLinkSelector";
1399
+ sourceElementId: string;
1400
+ } | null;
1492
1401
  defaultSidebarDockedPreference: boolean;
1493
1402
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1403
+ selectedElementIds: Readonly<{
1404
+ [id: string]: true;
1405
+ }>;
1494
1406
  hoveredElementIds: Readonly<{
1495
1407
  [id: string]: true;
1496
1408
  }>;
@@ -1504,14 +1416,37 @@ export declare const actionLoadScene: {
1504
1416
  closable?: boolean | undefined;
1505
1417
  duration?: number | undefined;
1506
1418
  } | null;
1419
+ zenModeEnabled: boolean;
1420
+ theme: Theme;
1507
1421
  gridSize: number;
1508
1422
  gridStep: number;
1509
1423
  gridModeEnabled: boolean;
1510
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1511
- stats: {
1512
- open: boolean;
1513
- panels: number;
1424
+ viewModeEnabled: boolean;
1425
+ selectedGroupIds: {
1426
+ [groupId: string]: boolean;
1514
1427
  };
1428
+ editingGroupId: string | null;
1429
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1430
+ collaborators: Map<import("../types").SocketId, Readonly<{
1431
+ pointer?: import("../types").CollaboratorPointer | undefined;
1432
+ button?: "up" | "down" | undefined;
1433
+ selectedElementIds?: Readonly<{
1434
+ [id: string]: true;
1435
+ }> | undefined;
1436
+ username?: string | null | undefined;
1437
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1438
+ color?: {
1439
+ background: string;
1440
+ stroke: string;
1441
+ } | undefined;
1442
+ avatarUrl?: string | undefined;
1443
+ id?: string | undefined;
1444
+ socketId?: import("../types").SocketId | undefined;
1445
+ isCurrentUser?: boolean | undefined;
1446
+ isInCall?: boolean | undefined;
1447
+ isSpeaking?: boolean | undefined;
1448
+ isMuted?: boolean | undefined;
1449
+ }>>;
1515
1450
  currentChartType: import("@excalidraw/element/types").ChartType;
1516
1451
  pasteDialog: {
1517
1452
  shown: false;
@@ -1520,7 +1455,8 @@ export declare const actionLoadScene: {
1520
1455
  shown: true;
1521
1456
  data: import("../charts").Spreadsheet;
1522
1457
  };
1523
- showHyperlinkPopup: false | "editor" | "info";
1458
+ pendingImageElementId: string | null;
1459
+ showHyperlinkPopup: false | "info" | "editor";
1524
1460
  linkOpacity: number;
1525
1461
  trayModeEnabled: boolean;
1526
1462
  colorPalette?: {
@@ -1539,10 +1475,26 @@ export declare const actionLoadScene: {
1539
1475
  customPens?: any[] | undefined;
1540
1476
  currentStrokeOptions?: any;
1541
1477
  resetCustomPen?: any;
1478
+ gridColor: {
1479
+ Bold: string;
1480
+ Regular: string;
1481
+ };
1482
+ gridDirection: {
1483
+ horizontal: boolean;
1484
+ vertical: boolean;
1485
+ };
1486
+ highlightSearchResult: boolean;
1542
1487
  dynamicStyle: {
1543
1488
  [x: string]: string;
1544
1489
  };
1490
+ frameColor: {
1491
+ stroke: string;
1492
+ fill: string;
1493
+ nameColor: string;
1494
+ };
1545
1495
  invertBindingBehaviour: boolean;
1496
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1497
+ snapLines: readonly import("../snapping").SnapLine[];
1546
1498
  originSnapOffset: {
1547
1499
  x: number;
1548
1500
  y: number;
@@ -1550,6 +1502,12 @@ export declare const actionLoadScene: {
1550
1502
  objectsSnapModeEnabled: boolean;
1551
1503
  userToFollow: import("../types").UserToFollow | null;
1552
1504
  followedBy: Set<import("../types").SocketId>;
1505
+ isCropping: boolean;
1506
+ croppingElementId: string | null;
1507
+ searchMatches: Readonly<{
1508
+ focusedId: string | null;
1509
+ matches: readonly import("../types").SearchMatch[];
1510
+ }> | null;
1553
1511
  };
1554
1512
  files: import("../types").BinaryFiles;
1555
1513
  captureUpdate: "IMMEDIATELY";
@@ -1574,7 +1532,7 @@ export declare const actionLoadScene: {
1574
1532
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1575
1533
  isBindingEnabled: boolean;
1576
1534
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1577
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1535
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1578
1536
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1579
1537
  frameRendering: {
1580
1538
  enabled: boolean;
@@ -1585,7 +1543,7 @@ export declare const actionLoadScene: {
1585
1543
  editingFrame: string | null;
1586
1544
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1587
1545
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1588
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1546
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1589
1547
  activeTool: {
1590
1548
  lastActiveTool: import("../types").ActiveTool | null;
1591
1549
  locked: boolean;
@@ -1706,7 +1664,7 @@ export declare const actionLoadScene: {
1706
1664
  data: import("../charts").Spreadsheet;
1707
1665
  };
1708
1666
  pendingImageElementId: string | null;
1709
- showHyperlinkPopup: false | "editor" | "info";
1667
+ showHyperlinkPopup: false | "info" | "editor";
1710
1668
  linkOpacity: number;
1711
1669
  trayModeEnabled: boolean;
1712
1670
  colorPalette?: {
@@ -1743,7 +1701,7 @@ export declare const actionLoadScene: {
1743
1701
  nameColor: string;
1744
1702
  };
1745
1703
  invertBindingBehaviour: boolean;
1746
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1704
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1747
1705
  snapLines: readonly import("../snapping").SnapLine[];
1748
1706
  originSnapOffset: {
1749
1707
  x: number;
@@ -1754,23 +1712,17 @@ export declare const actionLoadScene: {
1754
1712
  followedBy: Set<import("../types").SocketId>;
1755
1713
  isCropping: boolean;
1756
1714
  croppingElementId: string | null;
1757
- searchMatches: readonly {
1758
- id: string;
1759
- focus: boolean;
1760
- matchedLines: {
1761
- offsetX: number;
1762
- offsetY: number;
1763
- width: number;
1764
- height: number;
1765
- }[];
1766
- }[];
1715
+ searchMatches: Readonly<{
1716
+ focusedId: string | null;
1717
+ matches: readonly import("../types").SearchMatch[];
1718
+ }> | null;
1767
1719
  };
1768
1720
  files: import("../types").BinaryFiles;
1769
1721
  captureUpdate: "EVENTUALLY";
1770
1722
  }>;
1771
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1723
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1772
1724
  } & {
1773
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1725
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1774
1726
  };
1775
1727
  export declare const actionExportWithDarkMode: {
1776
1728
  name: "exportWithDarkMode";
@@ -1800,7 +1752,7 @@ export declare const actionExportWithDarkMode: {
1800
1752
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1801
1753
  isBindingEnabled: boolean;
1802
1754
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1803
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1755
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1804
1756
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1805
1757
  frameRendering: {
1806
1758
  enabled: boolean;
@@ -1811,7 +1763,7 @@ export declare const actionExportWithDarkMode: {
1811
1763
  editingFrame: string | null;
1812
1764
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1813
1765
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1814
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1766
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1815
1767
  activeTool: {
1816
1768
  lastActiveTool: import("../types").ActiveTool | null;
1817
1769
  locked: boolean;
@@ -1931,7 +1883,7 @@ export declare const actionExportWithDarkMode: {
1931
1883
  data: import("../charts").Spreadsheet;
1932
1884
  };
1933
1885
  pendingImageElementId: string | null;
1934
- showHyperlinkPopup: false | "editor" | "info";
1886
+ showHyperlinkPopup: false | "info" | "editor";
1935
1887
  linkOpacity: number;
1936
1888
  trayModeEnabled: boolean;
1937
1889
  colorPalette?: {
@@ -1968,7 +1920,7 @@ export declare const actionExportWithDarkMode: {
1968
1920
  nameColor: string;
1969
1921
  };
1970
1922
  invertBindingBehaviour: boolean;
1971
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1923
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1972
1924
  snapLines: readonly import("../snapping").SnapLine[];
1973
1925
  originSnapOffset: {
1974
1926
  x: number;
@@ -1979,16 +1931,10 @@ export declare const actionExportWithDarkMode: {
1979
1931
  followedBy: Set<import("../types").SocketId>;
1980
1932
  isCropping: boolean;
1981
1933
  croppingElementId: string | null;
1982
- searchMatches: readonly {
1983
- id: string;
1984
- focus: boolean;
1985
- matchedLines: {
1986
- offsetX: number;
1987
- offsetY: number;
1988
- width: number;
1989
- height: number;
1990
- }[];
1991
- }[];
1934
+ searchMatches: Readonly<{
1935
+ focusedId: string | null;
1936
+ matches: readonly import("../types").SearchMatch[];
1937
+ }> | null;
1992
1938
  };
1993
1939
  captureUpdate: "EVENTUALLY";
1994
1940
  };