@myoc/excalidraw 0.18.16 → 0.18.18

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 (179) hide show
  1. package/dist/dev/{chunk-3HLOFB5F.js → chunk-MAGRVBVM.js} +13453 -10629
  2. package/dist/dev/chunk-MAGRVBVM.js.map +7 -0
  3. package/dist/dev/{chunk-PEI7EPYO.js → chunk-QO4EFL6B.js} +15 -5
  4. package/dist/dev/chunk-QO4EFL6B.js.map +7 -0
  5. package/dist/dev/chunk-WUH7JFG4.js +7 -0
  6. package/dist/dev/chunk-WUH7JFG4.js.map +7 -0
  7. package/dist/dev/data/{image-XPEIZ6XQ.js → image-BBHDGXQ3.js} +3 -3
  8. package/dist/dev/index.css +101 -24
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +6587 -7610
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-R455UJTM.js → en-2WXBKZE2.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-4Z2WWUCC.js +7 -0
  16. package/dist/prod/chunk-KZXLT4YB.js +12 -0
  17. package/dist/prod/chunk-YBT3HBS6.js +33 -0
  18. package/dist/prod/data/image-JFILZTP3.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +18 -17
  21. package/dist/prod/locales/{en-YWERZJD6.js → en-XFR6MADM.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +19 -2
  25. package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  26. package/dist/types/common/src/font-metadata.d.ts +4 -2
  27. package/dist/types/common/src/index.d.ts +1 -0
  28. package/dist/types/common/src/points.d.ts +1 -1
  29. package/dist/types/common/src/utility-types.d.ts +5 -0
  30. package/dist/types/common/src/utils.d.ts +17 -7
  31. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
  32. package/dist/types/element/src/align.d.ts +3 -3
  33. package/dist/types/element/src/arrange.d.ts +2 -1
  34. package/dist/types/element/src/binding.d.ts +21 -14
  35. package/dist/types/element/src/bounds.d.ts +11 -5
  36. package/dist/types/element/src/collision.d.ts +18 -12
  37. package/dist/types/element/src/cropElement.d.ts +1 -1
  38. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +63 -38
  39. package/dist/types/element/src/distance.d.ts +2 -2
  40. package/dist/types/element/src/dragElements.d.ts +3 -2
  41. package/dist/types/element/src/elbowArrow.d.ts +2 -2
  42. package/dist/types/element/src/flowchart.d.ts +3 -2
  43. package/dist/types/element/src/fractionalIndex.d.ts +9 -3
  44. package/dist/types/element/src/frame.d.ts +4 -3
  45. package/dist/types/element/src/heading.d.ts +2 -2
  46. package/dist/types/element/src/index.d.ts +43 -2
  47. package/dist/types/element/src/linearElementEditor.d.ts +21 -32
  48. package/dist/types/element/src/mutateElement.d.ts +11 -3
  49. package/dist/types/element/src/newElement.d.ts +4 -3
  50. package/dist/types/element/src/resizeElements.d.ts +5 -4
  51. package/dist/types/element/src/resizeTest.d.ts +2 -2
  52. package/dist/types/element/src/selection.d.ts +1 -6
  53. package/dist/types/element/src/shape.d.ts +42 -0
  54. package/dist/types/element/src/shapes.d.ts +10 -10
  55. package/dist/types/element/src/sizeHelpers.d.ts +2 -2
  56. package/dist/types/element/src/store.d.ts +231 -0
  57. package/dist/types/element/src/textElement.d.ts +4 -3
  58. package/dist/types/element/src/typeChecks.d.ts +19 -1
  59. package/dist/types/element/src/types.d.ts +15 -2
  60. package/dist/types/element/src/utils.d.ts +5 -1
  61. package/dist/types/element/src/zindex.d.ts +1 -1
  62. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +42 -51
  63. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  64. package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
  65. package/dist/types/excalidraw/actions/actionBoundText.d.ts +28 -34
  66. package/dist/types/excalidraw/actions/actionCanvas.d.ts +187 -223
  67. package/dist/types/excalidraw/actions/actionClipboard.d.ts +87 -104
  68. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +14 -17
  69. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +41 -49
  70. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  71. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  72. package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
  73. package/dist/types/excalidraw/actions/actionElementLock.d.ts +43 -50
  74. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +14 -17
  75. package/dist/types/excalidraw/actions/actionExport.d.ts +219 -246
  76. package/dist/types/excalidraw/actions/actionFinalize.d.ts +74 -40
  77. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  78. package/dist/types/excalidraw/actions/actionFrame.d.ts +100 -112
  79. package/dist/types/excalidraw/actions/actionGroup.d.ts +34 -40
  80. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  81. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +506 -16
  82. package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
  83. package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
  84. package/dist/types/excalidraw/actions/actionNavigate.d.ts +27 -33
  85. package/dist/types/excalidraw/actions/actionProperties.d.ts +206 -243
  86. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -19
  87. package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
  88. package/dist/types/excalidraw/actions/actionStyles.d.ts +18 -21
  89. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -19
  90. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -19
  91. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -200
  92. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  93. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -19
  94. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -19
  95. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -19
  96. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  97. package/dist/types/excalidraw/actions/types.d.ts +4 -3
  98. package/dist/types/excalidraw/appState.d.ts +40 -31
  99. package/dist/types/excalidraw/components/App.d.ts +15 -17
  100. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  101. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  102. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  103. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  104. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  105. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  106. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  107. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  108. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  109. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  110. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  111. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  112. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  113. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  114. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  116. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  117. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  118. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  119. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  120. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  121. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  124. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  125. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  126. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  127. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  128. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  129. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  130. package/dist/types/excalidraw/components/icons.d.ts +3 -0
  131. package/dist/types/excalidraw/components/shapes.d.ts +1 -1
  132. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  133. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  134. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  135. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  136. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  137. package/dist/types/excalidraw/history.d.ts +30 -22
  138. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  139. package/dist/types/excalidraw/index.d.ts +9 -9
  140. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  141. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  142. package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
  143. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
  144. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  145. package/dist/types/excalidraw/snapping.d.ts +2 -2
  146. package/dist/types/excalidraw/types.d.ts +25 -10
  147. package/dist/types/excalidraw/visualdebug.d.ts +1 -1
  148. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  149. package/dist/types/math/src/angle.d.ts +3 -1
  150. package/dist/types/math/src/constants.d.ts +3 -0
  151. package/dist/types/math/src/curve.d.ts +34 -0
  152. package/dist/types/math/src/ellipse.d.ts +3 -3
  153. package/dist/types/math/src/index.d.ts +1 -0
  154. package/dist/types/math/src/point.d.ts +3 -3
  155. package/dist/types/math/src/polygon.d.ts +2 -2
  156. package/dist/types/math/src/segment.d.ts +5 -5
  157. package/dist/types/math/src/utils.d.ts +2 -0
  158. package/dist/types/math/src/vector.d.ts +8 -2
  159. package/dist/types/utils/src/bbox.d.ts +1 -1
  160. package/dist/types/utils/src/index.d.ts +1 -1
  161. package/dist/types/utils/src/shape.d.ts +12 -12
  162. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  163. package/history.ts +147 -110
  164. package/package.json +4 -4
  165. package/dist/dev/chunk-3HLOFB5F.js.map +0 -7
  166. package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
  167. package/dist/dev/chunk-QQGTICP4.js +0 -7
  168. package/dist/dev/chunk-QQGTICP4.js.map +0 -7
  169. package/dist/prod/chunk-7HNFGNL7.js +0 -7
  170. package/dist/prod/chunk-KKQVTSHB.js +0 -33
  171. package/dist/prod/chunk-KZWZ7WHC.js +0 -12
  172. package/dist/prod/data/image-QD7FUQED.js +0 -1
  173. package/dist/types/element/src/Shape.d.ts +0 -17
  174. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  175. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  176. package/dist/types/excalidraw/store.d.ts +0 -129
  177. package/dist/types/utils/src/collision.d.ts +0 -8
  178. /package/dist/dev/data/{image-XPEIZ6XQ.js.map → image-BBHDGXQ3.js.map} +0 -0
  179. /package/dist/dev/locales/{en-R455UJTM.js.map → en-2WXBKZE2.js.map} +0 -0
@@ -37,7 +37,7 @@ export declare const actionSelectAllElementsInFrame: {
37
37
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
38
38
  isBindingEnabled: boolean;
39
39
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
40
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
40
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
41
41
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
42
42
  frameRendering: {
43
43
  enabled: boolean;
@@ -48,7 +48,7 @@ export declare const actionSelectAllElementsInFrame: {
48
48
  editingFrame: string | null;
49
49
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
50
50
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
51
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
51
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
52
52
  activeTool: {
53
53
  lastActiveTool: import("../types").ActiveTool | null;
54
54
  locked: boolean;
@@ -74,7 +74,7 @@ export declare const actionSelectAllElementsInFrame: {
74
74
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
75
75
  currentHoveredFontFamily: number | null;
76
76
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
77
- currentItemArrowType: "round" | "sharp" | "elbow";
77
+ currentItemArrowType: "sharp" | "round" | "elbow";
78
78
  viewBackgroundColor: string;
79
79
  scrollX: number;
80
80
  scrollY: number;
@@ -86,7 +86,7 @@ export declare const actionSelectAllElementsInFrame: {
86
86
  zoom: Readonly<{
87
87
  value: import("../types").NormalizedZoomValue;
88
88
  }>;
89
- openMenu: "shape" | "canvas" | null;
89
+ openMenu: "canvas" | "shape" | null;
90
90
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
91
91
  openSidebar: {
92
92
  name: string;
@@ -165,9 +165,8 @@ export declare const actionSelectAllElementsInFrame: {
165
165
  shown: true;
166
166
  data: import("../charts").Spreadsheet;
167
167
  };
168
- pendingImageElementId: string | null;
169
- showHyperlinkPopup: false | "editor" | "info";
170
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
168
+ showHyperlinkPopup: false | "info" | "editor";
169
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
171
170
  snapLines: readonly import("../snapping").SnapLine[];
172
171
  originSnapOffset: {
173
172
  x: number;
@@ -178,16 +177,14 @@ export declare const actionSelectAllElementsInFrame: {
178
177
  followedBy: Set<import("../types").SocketId>;
179
178
  isCropping: boolean;
180
179
  croppingElementId: string | null;
181
- searchMatches: readonly {
182
- id: string;
183
- focus: boolean;
184
- matchedLines: {
185
- offsetX: number;
186
- offsetY: number;
187
- width: number;
188
- height: number;
189
- }[];
190
- }[];
180
+ searchMatches: Readonly<{
181
+ focusedId: string | null;
182
+ matches: readonly import("../types").SearchMatch[];
183
+ }> | null;
184
+ activeLockedId: string | null;
185
+ lockedMultiSelections: {
186
+ [groupId: string]: true;
187
+ };
191
188
  };
192
189
  captureUpdate: "IMMEDIATELY";
193
190
  } | {
@@ -237,7 +234,7 @@ export declare const actionRemoveAllElementsFromFrame: {
237
234
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
238
235
  isBindingEnabled: boolean;
239
236
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
240
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
237
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
241
238
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
242
239
  frameRendering: {
243
240
  enabled: boolean;
@@ -248,7 +245,7 @@ export declare const actionRemoveAllElementsFromFrame: {
248
245
  editingFrame: string | null;
249
246
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
250
247
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
251
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
248
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
252
249
  activeTool: {
253
250
  lastActiveTool: import("../types").ActiveTool | null;
254
251
  locked: boolean;
@@ -274,7 +271,7 @@ export declare const actionRemoveAllElementsFromFrame: {
274
271
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
275
272
  currentHoveredFontFamily: number | null;
276
273
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
277
- currentItemArrowType: "round" | "sharp" | "elbow";
274
+ currentItemArrowType: "sharp" | "round" | "elbow";
278
275
  viewBackgroundColor: string;
279
276
  scrollX: number;
280
277
  scrollY: number;
@@ -286,7 +283,7 @@ export declare const actionRemoveAllElementsFromFrame: {
286
283
  zoom: Readonly<{
287
284
  value: import("../types").NormalizedZoomValue;
288
285
  }>;
289
- openMenu: "shape" | "canvas" | null;
286
+ openMenu: "canvas" | "shape" | null;
290
287
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
291
288
  openSidebar: {
292
289
  name: string;
@@ -365,9 +362,8 @@ export declare const actionRemoveAllElementsFromFrame: {
365
362
  shown: true;
366
363
  data: import("../charts").Spreadsheet;
367
364
  };
368
- pendingImageElementId: string | null;
369
- showHyperlinkPopup: false | "editor" | "info";
370
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
365
+ showHyperlinkPopup: false | "info" | "editor";
366
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
371
367
  snapLines: readonly import("../snapping").SnapLine[];
372
368
  originSnapOffset: {
373
369
  x: number;
@@ -378,16 +374,14 @@ export declare const actionRemoveAllElementsFromFrame: {
378
374
  followedBy: Set<import("../types").SocketId>;
379
375
  isCropping: boolean;
380
376
  croppingElementId: string | null;
381
- searchMatches: readonly {
382
- id: string;
383
- focus: boolean;
384
- matchedLines: {
385
- offsetX: number;
386
- offsetY: number;
387
- width: number;
388
- height: number;
389
- }[];
390
- }[];
377
+ searchMatches: Readonly<{
378
+ focusedId: string | null;
379
+ matches: readonly import("../types").SearchMatch[];
380
+ }> | null;
381
+ activeLockedId: string | null;
382
+ lockedMultiSelections: {
383
+ [groupId: string]: true;
384
+ };
391
385
  };
392
386
  captureUpdate: "IMMEDIATELY";
393
387
  } | {
@@ -441,12 +435,12 @@ export declare const actionupdateFrameRendering: {
441
435
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
442
436
  isBindingEnabled: boolean;
443
437
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
444
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
438
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
445
439
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
446
440
  editingFrame: string | null;
447
441
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
448
442
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
449
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
443
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
450
444
  activeTool: {
451
445
  lastActiveTool: import("../types").ActiveTool | null;
452
446
  locked: boolean;
@@ -472,7 +466,7 @@ export declare const actionupdateFrameRendering: {
472
466
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
473
467
  currentHoveredFontFamily: number | null;
474
468
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
475
- currentItemArrowType: "round" | "sharp" | "elbow";
469
+ currentItemArrowType: "sharp" | "round" | "elbow";
476
470
  viewBackgroundColor: string;
477
471
  scrollX: number;
478
472
  scrollY: number;
@@ -484,7 +478,7 @@ export declare const actionupdateFrameRendering: {
484
478
  zoom: Readonly<{
485
479
  value: import("../types").NormalizedZoomValue;
486
480
  }>;
487
- openMenu: "shape" | "canvas" | null;
481
+ openMenu: "canvas" | "shape" | null;
488
482
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
489
483
  openSidebar: {
490
484
  name: string;
@@ -566,9 +560,8 @@ export declare const actionupdateFrameRendering: {
566
560
  shown: true;
567
561
  data: import("../charts").Spreadsheet;
568
562
  };
569
- pendingImageElementId: string | null;
570
- showHyperlinkPopup: false | "editor" | "info";
571
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
563
+ showHyperlinkPopup: false | "info" | "editor";
564
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
572
565
  snapLines: readonly import("../snapping").SnapLine[];
573
566
  originSnapOffset: {
574
567
  x: number;
@@ -579,16 +572,14 @@ export declare const actionupdateFrameRendering: {
579
572
  followedBy: Set<import("../types").SocketId>;
580
573
  isCropping: boolean;
581
574
  croppingElementId: string | null;
582
- searchMatches: readonly {
583
- id: string;
584
- focus: boolean;
585
- matchedLines: {
586
- offsetX: number;
587
- offsetY: number;
588
- width: number;
589
- height: number;
590
- }[];
591
- }[];
575
+ searchMatches: Readonly<{
576
+ focusedId: string | null;
577
+ matches: readonly import("../types").SearchMatch[];
578
+ }> | null;
579
+ activeLockedId: string | null;
580
+ lockedMultiSelections: {
581
+ [groupId: string]: true;
582
+ };
592
583
  };
593
584
  captureUpdate: "EVENTUALLY";
594
585
  };
@@ -638,7 +629,7 @@ export declare const actionSetFrameAsActiveTool: {
638
629
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
639
630
  isBindingEnabled: boolean;
640
631
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
641
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
632
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
642
633
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
643
634
  frameRendering: {
644
635
  enabled: boolean;
@@ -649,7 +640,7 @@ export declare const actionSetFrameAsActiveTool: {
649
640
  editingFrame: string | null;
650
641
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
651
642
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
652
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
643
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
653
644
  penMode: boolean;
654
645
  penDetected: boolean;
655
646
  exportBackground: boolean;
@@ -670,7 +661,7 @@ export declare const actionSetFrameAsActiveTool: {
670
661
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
671
662
  currentHoveredFontFamily: number | null;
672
663
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
673
- currentItemArrowType: "round" | "sharp" | "elbow";
664
+ currentItemArrowType: "sharp" | "round" | "elbow";
674
665
  viewBackgroundColor: string;
675
666
  scrollX: number;
676
667
  scrollY: number;
@@ -682,7 +673,7 @@ export declare const actionSetFrameAsActiveTool: {
682
673
  zoom: Readonly<{
683
674
  value: import("../types").NormalizedZoomValue;
684
675
  }>;
685
- openMenu: "shape" | "canvas" | null;
676
+ openMenu: "canvas" | "shape" | null;
686
677
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
687
678
  openSidebar: {
688
679
  name: string;
@@ -764,9 +755,8 @@ export declare const actionSetFrameAsActiveTool: {
764
755
  shown: true;
765
756
  data: import("../charts").Spreadsheet;
766
757
  };
767
- pendingImageElementId: string | null;
768
- showHyperlinkPopup: false | "editor" | "info";
769
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
758
+ showHyperlinkPopup: false | "info" | "editor";
759
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
770
760
  snapLines: readonly import("../snapping").SnapLine[];
771
761
  originSnapOffset: {
772
762
  x: number;
@@ -777,22 +767,20 @@ export declare const actionSetFrameAsActiveTool: {
777
767
  followedBy: Set<import("../types").SocketId>;
778
768
  isCropping: boolean;
779
769
  croppingElementId: string | null;
780
- searchMatches: readonly {
781
- id: string;
782
- focus: boolean;
783
- matchedLines: {
784
- offsetX: number;
785
- offsetY: number;
786
- width: number;
787
- height: number;
788
- }[];
789
- }[];
770
+ searchMatches: Readonly<{
771
+ focusedId: string | null;
772
+ matches: readonly import("../types").SearchMatch[];
773
+ }> | null;
774
+ activeLockedId: string | null;
775
+ lockedMultiSelections: {
776
+ [groupId: string]: true;
777
+ };
790
778
  };
791
779
  captureUpdate: "EVENTUALLY";
792
780
  };
793
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false;
781
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false;
794
782
  } & {
795
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false) | undefined;
783
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false) | undefined;
796
784
  };
797
785
  export declare const actionWrapSelectionInFrame: {
798
786
  name: "wrapSelectionInFrame";
@@ -836,7 +824,7 @@ export declare const actionWrapSelectionInFrame: {
836
824
  locked: boolean;
837
825
  customData?: Record<string, any> | undefined;
838
826
  }> & {
839
- type: "rectangle";
827
+ type: "selection";
840
828
  } & {
841
829
  index: import("@excalidraw/element/types").FractionalIndex;
842
830
  }) | (Readonly<{
@@ -873,7 +861,7 @@ export declare const actionWrapSelectionInFrame: {
873
861
  locked: boolean;
874
862
  customData?: Record<string, any> | undefined;
875
863
  }> & {
876
- type: "diamond";
864
+ type: "rectangle";
877
865
  } & {
878
866
  index: import("@excalidraw/element/types").FractionalIndex;
879
867
  }) | (Readonly<{
@@ -910,8 +898,7 @@ export declare const actionWrapSelectionInFrame: {
910
898
  locked: boolean;
911
899
  customData?: Record<string, any> | undefined;
912
900
  }> & {
913
- type: "frame";
914
- name: string | null;
901
+ type: "diamond";
915
902
  } & {
916
903
  index: import("@excalidraw/element/types").FractionalIndex;
917
904
  }) | (Readonly<{
@@ -948,8 +935,7 @@ export declare const actionWrapSelectionInFrame: {
948
935
  locked: boolean;
949
936
  customData?: Record<string, any> | undefined;
950
937
  }> & {
951
- type: "magicframe";
952
- name: string | null;
938
+ type: "ellipse";
953
939
  } & {
954
940
  index: import("@excalidraw/element/types").FractionalIndex;
955
941
  }) | (Readonly<{
@@ -986,7 +972,18 @@ export declare const actionWrapSelectionInFrame: {
986
972
  locked: boolean;
987
973
  customData?: Record<string, any> | undefined;
988
974
  }> & Readonly<{
989
- type: "embeddable";
975
+ type: "text";
976
+ fontSize: number;
977
+ fontFamily: number;
978
+ text: string;
979
+ textAlign: string;
980
+ verticalAlign: string;
981
+ containerId: string | null;
982
+ originalText: string;
983
+ autoResize: boolean;
984
+ lineHeight: number & {
985
+ _brand: "unitlessLineHeight";
986
+ };
990
987
  }> & {
991
988
  index: import("@excalidraw/element/types").FractionalIndex;
992
989
  }) | (Readonly<{
@@ -1023,11 +1020,13 @@ export declare const actionWrapSelectionInFrame: {
1023
1020
  locked: boolean;
1024
1021
  customData?: Record<string, any> | undefined;
1025
1022
  }> & Readonly<{
1026
- type: "image";
1027
- fileId: import("@excalidraw/element/types").FileId | null;
1028
- status: "pending" | "saved" | "error";
1029
- scale: [number, number];
1030
- crop: import("@excalidraw/element/types").ImageCrop | null;
1023
+ type: "line" | "arrow";
1024
+ points: readonly import("@excalidraw/math").LocalPoint[];
1025
+ lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1026
+ startBinding: import("@excalidraw/element/types").PointBinding | null;
1027
+ endBinding: import("@excalidraw/element/types").PointBinding | null;
1028
+ startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1029
+ endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1031
1030
  }> & {
1032
1031
  index: import("@excalidraw/element/types").FractionalIndex;
1033
1032
  }) | (Readonly<{
@@ -1064,10 +1063,11 @@ export declare const actionWrapSelectionInFrame: {
1064
1063
  locked: boolean;
1065
1064
  customData?: Record<string, any> | undefined;
1066
1065
  }> & Readonly<{
1067
- type: "iframe";
1068
- customData?: {
1069
- generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
1070
- } | undefined;
1066
+ type: "freedraw";
1067
+ points: readonly import("@excalidraw/math").LocalPoint[];
1068
+ pressures: readonly number[];
1069
+ simulatePressure: boolean;
1070
+ lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1071
1071
  }> & {
1072
1072
  index: import("@excalidraw/element/types").FractionalIndex;
1073
1073
  }) | (Readonly<{
@@ -1104,18 +1104,11 @@ export declare const actionWrapSelectionInFrame: {
1104
1104
  locked: boolean;
1105
1105
  customData?: Record<string, any> | undefined;
1106
1106
  }> & Readonly<{
1107
- type: "text";
1108
- fontSize: number;
1109
- fontFamily: number;
1110
- text: string;
1111
- textAlign: string;
1112
- verticalAlign: string;
1113
- containerId: string | null;
1114
- originalText: string;
1115
- autoResize: boolean;
1116
- lineHeight: number & {
1117
- _brand: "unitlessLineHeight";
1118
- };
1107
+ type: "image";
1108
+ fileId: import("@excalidraw/element/types").FileId | null;
1109
+ status: "error" | "pending" | "saved";
1110
+ scale: [number, number];
1111
+ crop: import("@excalidraw/element/types").ImageCrop | null;
1119
1112
  }> & {
1120
1113
  index: import("@excalidraw/element/types").FractionalIndex;
1121
1114
  }) | (Readonly<{
@@ -1152,7 +1145,8 @@ export declare const actionWrapSelectionInFrame: {
1152
1145
  locked: boolean;
1153
1146
  customData?: Record<string, any> | undefined;
1154
1147
  }> & {
1155
- type: "selection";
1148
+ type: "frame";
1149
+ name: string | null;
1156
1150
  } & {
1157
1151
  index: import("@excalidraw/element/types").FractionalIndex;
1158
1152
  }) | (Readonly<{
@@ -1189,7 +1183,8 @@ export declare const actionWrapSelectionInFrame: {
1189
1183
  locked: boolean;
1190
1184
  customData?: Record<string, any> | undefined;
1191
1185
  }> & {
1192
- type: "ellipse";
1186
+ type: "magicframe";
1187
+ name: string | null;
1193
1188
  } & {
1194
1189
  index: import("@excalidraw/element/types").FractionalIndex;
1195
1190
  }) | (Readonly<{
@@ -1226,13 +1221,10 @@ export declare const actionWrapSelectionInFrame: {
1226
1221
  locked: boolean;
1227
1222
  customData?: Record<string, any> | undefined;
1228
1223
  }> & Readonly<{
1229
- type: "line" | "arrow";
1230
- points: readonly import("@excalidraw/math").LocalPoint[];
1231
- lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1232
- startBinding: import("@excalidraw/element/types").PointBinding | null;
1233
- endBinding: import("@excalidraw/element/types").PointBinding | null;
1234
- startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1235
- endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1224
+ type: "iframe";
1225
+ customData?: {
1226
+ generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
1227
+ } | undefined;
1236
1228
  }> & {
1237
1229
  index: import("@excalidraw/element/types").FractionalIndex;
1238
1230
  }) | (Readonly<{
@@ -1269,11 +1261,7 @@ export declare const actionWrapSelectionInFrame: {
1269
1261
  locked: boolean;
1270
1262
  customData?: Record<string, any> | undefined;
1271
1263
  }> & Readonly<{
1272
- type: "freedraw";
1273
- points: readonly import("@excalidraw/math").LocalPoint[];
1274
- pressures: readonly number[];
1275
- simulatePressure: boolean;
1276
- lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1264
+ type: "embeddable";
1277
1265
  }> & {
1278
1266
  index: import("@excalidraw/element/types").FractionalIndex;
1279
1267
  }) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
@@ -14,13 +14,13 @@ export declare const actionGroup: {
14
14
  captureUpdate: "EVENTUALLY";
15
15
  } | {
16
16
  appState: {
17
- editingGroupId: string | null;
18
17
  selectedElementIds: Readonly<{
19
18
  [id: string]: true;
20
19
  }>;
21
20
  selectedGroupIds: {
22
21
  [groupId: string]: boolean;
23
22
  };
23
+ editingGroupId: string | null;
24
24
  contextMenu: {
25
25
  items: import("../components/ContextMenu").ContextMenuItems;
26
26
  top: number;
@@ -47,7 +47,7 @@ export declare const actionGroup: {
47
47
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
48
48
  isBindingEnabled: boolean;
49
49
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
50
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
50
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
51
51
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
52
52
  frameRendering: {
53
53
  enabled: boolean;
@@ -58,7 +58,7 @@ export declare const actionGroup: {
58
58
  editingFrame: string | null;
59
59
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
60
60
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
61
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
61
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
62
62
  activeTool: {
63
63
  lastActiveTool: import("../types").ActiveTool | null;
64
64
  locked: boolean;
@@ -84,7 +84,7 @@ export declare const actionGroup: {
84
84
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
85
85
  currentHoveredFontFamily: number | null;
86
86
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
87
- currentItemArrowType: "round" | "sharp" | "elbow";
87
+ currentItemArrowType: "sharp" | "round" | "elbow";
88
88
  viewBackgroundColor: string;
89
89
  scrollX: number;
90
90
  scrollY: number;
@@ -96,7 +96,7 @@ export declare const actionGroup: {
96
96
  zoom: Readonly<{
97
97
  value: import("../types").NormalizedZoomValue;
98
98
  }>;
99
- openMenu: "shape" | "canvas" | null;
99
+ openMenu: "canvas" | "shape" | null;
100
100
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
101
101
  openSidebar: {
102
102
  name: string;
@@ -171,9 +171,8 @@ export declare const actionGroup: {
171
171
  shown: true;
172
172
  data: import("../charts").Spreadsheet;
173
173
  };
174
- pendingImageElementId: string | null;
175
- showHyperlinkPopup: false | "editor" | "info";
176
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
174
+ showHyperlinkPopup: false | "info" | "editor";
175
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
177
176
  snapLines: readonly import("../snapping").SnapLine[];
178
177
  originSnapOffset: {
179
178
  x: number;
@@ -184,25 +183,23 @@ export declare const actionGroup: {
184
183
  followedBy: Set<import("../types").SocketId>;
185
184
  isCropping: boolean;
186
185
  croppingElementId: string | null;
187
- searchMatches: readonly {
188
- id: string;
189
- focus: boolean;
190
- matchedLines: {
191
- offsetX: number;
192
- offsetY: number;
193
- width: number;
194
- height: number;
195
- }[];
196
- }[];
186
+ searchMatches: Readonly<{
187
+ focusedId: string | null;
188
+ matches: readonly import("../types").SearchMatch[];
189
+ }> | null;
190
+ activeLockedId: string | null;
191
+ lockedMultiSelections: {
192
+ [groupId: string]: true;
193
+ };
197
194
  };
198
195
  elements: OrderedExcalidrawElement[];
199
196
  captureUpdate: "IMMEDIATELY";
200
197
  };
201
198
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
202
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
199
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
203
200
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
204
201
  } & {
205
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
202
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
206
203
  };
207
204
  export declare const actionUngroup: {
208
205
  name: "ungroup";
@@ -217,13 +214,13 @@ export declare const actionUngroup: {
217
214
  captureUpdate: "EVENTUALLY";
218
215
  } | {
219
216
  appState: {
220
- editingGroupId: string | null;
221
217
  selectedElementIds: Readonly<{
222
218
  [id: string]: true;
223
219
  }>;
224
220
  selectedGroupIds: {
225
221
  [groupId: string]: boolean;
226
222
  };
223
+ editingGroupId: string | null;
227
224
  contextMenu: {
228
225
  items: import("../components/ContextMenu").ContextMenuItems;
229
226
  top: number;
@@ -250,7 +247,7 @@ export declare const actionUngroup: {
250
247
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
251
248
  isBindingEnabled: boolean;
252
249
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
253
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
250
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
254
251
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
255
252
  frameRendering: {
256
253
  enabled: boolean;
@@ -261,7 +258,7 @@ export declare const actionUngroup: {
261
258
  editingFrame: string | null;
262
259
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
263
260
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
264
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
261
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
265
262
  activeTool: {
266
263
  lastActiveTool: import("../types").ActiveTool | null;
267
264
  locked: boolean;
@@ -287,7 +284,7 @@ export declare const actionUngroup: {
287
284
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
288
285
  currentHoveredFontFamily: number | null;
289
286
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
290
- currentItemArrowType: "round" | "sharp" | "elbow";
287
+ currentItemArrowType: "sharp" | "round" | "elbow";
291
288
  viewBackgroundColor: string;
292
289
  scrollX: number;
293
290
  scrollY: number;
@@ -299,7 +296,7 @@ export declare const actionUngroup: {
299
296
  zoom: Readonly<{
300
297
  value: import("../types").NormalizedZoomValue;
301
298
  }>;
302
- openMenu: "shape" | "canvas" | null;
299
+ openMenu: "canvas" | "shape" | null;
303
300
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
304
301
  openSidebar: {
305
302
  name: string;
@@ -374,9 +371,8 @@ export declare const actionUngroup: {
374
371
  shown: true;
375
372
  data: import("../charts").Spreadsheet;
376
373
  };
377
- pendingImageElementId: string | null;
378
- showHyperlinkPopup: false | "editor" | "info";
379
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
374
+ showHyperlinkPopup: false | "info" | "editor";
375
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
380
376
  snapLines: readonly import("../snapping").SnapLine[];
381
377
  originSnapOffset: {
382
378
  x: number;
@@ -387,23 +383,21 @@ export declare const actionUngroup: {
387
383
  followedBy: Set<import("../types").SocketId>;
388
384
  isCropping: boolean;
389
385
  croppingElementId: string | null;
390
- searchMatches: readonly {
391
- id: string;
392
- focus: boolean;
393
- matchedLines: {
394
- offsetX: number;
395
- offsetY: number;
396
- width: number;
397
- height: number;
398
- }[];
399
- }[];
386
+ searchMatches: Readonly<{
387
+ focusedId: string | null;
388
+ matches: readonly import("../types").SearchMatch[];
389
+ }> | null;
390
+ activeLockedId: string | null;
391
+ lockedMultiSelections: {
392
+ [groupId: string]: true;
393
+ };
400
394
  };
401
395
  elements: OrderedExcalidrawElement[];
402
396
  captureUpdate: "IMMEDIATELY";
403
397
  };
404
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
398
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
405
399
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
406
400
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
407
401
  } & {
408
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
402
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
409
403
  };