@zsviczian/excalidraw 0.16.1-obsidian-2 → 0.16.1-obsidian-4

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 (50) hide show
  1. package/dist/excalidraw.development.js +92 -26
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +9 -27
  5. package/types/actions/actionAlign.d.ts +8 -8
  6. package/types/actions/actionBoundText.d.ts +6 -18
  7. package/types/actions/actionCanvas.d.ts +206 -125
  8. package/types/actions/actionClipboard.d.ts +19 -49
  9. package/types/actions/actionDeleteSelected.d.ts +11 -29
  10. package/types/actions/actionDistribute.d.ts +4 -4
  11. package/types/actions/actionDuplicateSelection.d.ts +2 -2
  12. package/types/actions/actionElementLock.d.ts +8 -20
  13. package/types/actions/actionExport.d.ts +35 -89
  14. package/types/actions/actionFinalize.d.ts +8 -20
  15. package/types/actions/actionFlip.d.ts +4 -4
  16. package/types/actions/actionFrame.d.ts +11 -29
  17. package/types/actions/actionGroup.d.ts +10 -22
  18. package/types/actions/actionLinearEditor.d.ts +3 -9
  19. package/types/actions/actionMenu.d.ts +13 -31
  20. package/types/actions/actionProperties.d.ts +43 -121
  21. package/types/actions/actionSelectAll.d.ts +5 -11
  22. package/types/actions/actionStyles.d.ts +7 -13
  23. package/types/actions/actionToggleGridMode.d.ts +5 -11
  24. package/types/actions/actionToggleObjectsSnapMode.d.ts +5 -11
  25. package/types/actions/actionToggleStats.d.ts +5 -11
  26. package/types/actions/actionToggleViewMode.d.ts +5 -11
  27. package/types/actions/actionToggleZenMode.d.ts +5 -11
  28. package/types/actions/actionZindex.d.ts +8 -8
  29. package/types/actions/shortcuts.d.ts +1 -1
  30. package/types/actions/types.d.ts +1 -1
  31. package/types/appState.d.ts +7 -10
  32. package/types/components/Actions.d.ts +3 -4
  33. package/types/components/App.d.ts +7 -6
  34. package/types/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  35. package/types/components/LaserTool/LaserPathManager.d.ts +28 -0
  36. package/types/components/LaserTool/LaserPointerButton.d.ts +10 -0
  37. package/types/components/LaserTool/LaserTool.d.ts +7 -0
  38. package/types/components/LayerUI.d.ts +2 -1
  39. package/types/components/dropdownMenu/DropdownMenu.d.ts +6 -3
  40. package/types/components/dropdownMenu/DropdownMenuItem.d.ts +2 -1
  41. package/types/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -1
  42. package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
  43. package/types/components/dropdownMenu/common.d.ts +1 -1
  44. package/types/components/icons.d.ts +2 -0
  45. package/types/components/main-menu/MainMenu.d.ts +6 -3
  46. package/types/element/Hyperlink.d.ts +5 -11
  47. package/types/element/embeddable.d.ts +3 -9
  48. package/types/element/linearElementEditor.d.ts +3 -9
  49. package/types/types.d.ts +15 -17
  50. package/types/utils.d.ts +3 -4
@@ -38,15 +38,9 @@ export declare const actionFinalize: {
38
38
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
39
39
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
40
40
  activeTool: {
41
- lastActiveTool: import("../types").LastActiveTool;
41
+ lastActiveTool: import("../types").ActiveTool | null;
42
42
  locked: boolean;
43
- } & ({
44
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
45
- customType: null;
46
- } | {
47
- type: "custom";
48
- customType: string;
49
- });
43
+ } & import("../types").ActiveTool;
50
44
  penMode: boolean;
51
45
  penDetected: boolean;
52
46
  exportBackground: boolean;
@@ -150,7 +144,7 @@ export declare const actionFinalize: {
150
144
  dynamicStyle: string;
151
145
  invertBindingBehaviour: boolean;
152
146
  selectedLinearElement: LinearElementEditor | null;
153
- snapLines: import("../snapping").SnapLine[];
147
+ snapLines: readonly import("../snapping").SnapLine[];
154
148
  originSnapOffset: {
155
149
  x: number;
156
150
  y: number;
@@ -163,15 +157,9 @@ export declare const actionFinalize: {
163
157
  appState: {
164
158
  cursorButton: "up";
165
159
  activeTool: {
166
- lastActiveTool: import("../types").LastActiveTool;
160
+ lastActiveTool: import("../types").ActiveTool | null;
167
161
  locked: boolean;
168
- } & ({
169
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
170
- customType: null;
171
- } | {
172
- type: "custom";
173
- customType: string;
174
- });
162
+ } & import("../types").ActiveTool;
175
163
  activeEmbeddable: null;
176
164
  draggingElement: null;
177
165
  multiElement: null;
@@ -302,7 +290,7 @@ export declare const actionFinalize: {
302
290
  };
303
291
  dynamicStyle: string;
304
292
  invertBindingBehaviour: boolean;
305
- snapLines: import("../snapping").SnapLine[];
293
+ snapLines: readonly import("../snapping").SnapLine[];
306
294
  originSnapOffset: {
307
295
  x: number;
308
296
  y: number;
@@ -311,8 +299,8 @@ export declare const actionFinalize: {
311
299
  };
312
300
  commitToHistory: boolean;
313
301
  };
314
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
302
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState) => boolean;
315
303
  PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
316
304
  } & {
317
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
305
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState) => boolean) | undefined;
318
306
  };
@@ -10,10 +10,10 @@ export declare const actionFlipHorizontal: {
10
10
  appState: Readonly<AppState>;
11
11
  commitToHistory: true;
12
12
  };
13
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
13
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
14
14
  contextItemLabel: string;
15
15
  } & {
16
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
16
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
17
17
  };
18
18
  export declare const actionFlipVertical: {
19
19
  name: "flipVertical";
@@ -25,8 +25,8 @@ export declare const actionFlipVertical: {
25
25
  appState: Readonly<AppState>;
26
26
  commitToHistory: true;
27
27
  };
28
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
28
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
29
29
  contextItemLabel: string;
30
30
  } & {
31
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
31
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
32
32
  };
@@ -57,15 +57,9 @@ export declare const actionRemoveAllElementsFromFrame: {
57
57
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
58
58
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
59
59
  activeTool: {
60
- lastActiveTool: import("../types").LastActiveTool;
60
+ lastActiveTool: import("../types").ActiveTool | null;
61
61
  locked: boolean;
62
- } & ({
63
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
64
- customType: null;
65
- } | {
66
- type: "custom";
67
- customType: string;
68
- });
62
+ } & import("../types").ActiveTool;
69
63
  penMode: boolean;
70
64
  penDetected: boolean;
71
65
  exportBackground: boolean;
@@ -167,7 +161,7 @@ export declare const actionRemoveAllElementsFromFrame: {
167
161
  dynamicStyle: string;
168
162
  invertBindingBehaviour: boolean;
169
163
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
170
- snapLines: import("../snapping").SnapLine[];
164
+ snapLines: readonly import("../snapping").SnapLine[];
171
165
  originSnapOffset: {
172
166
  x: number;
173
167
  y: number;
@@ -225,15 +219,9 @@ export declare const actionupdateFrameRendering: {
225
219
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
226
220
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
227
221
  activeTool: {
228
- lastActiveTool: import("../types").LastActiveTool;
222
+ lastActiveTool: import("../types").ActiveTool | null;
229
223
  locked: boolean;
230
- } & ({
231
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
232
- customType: null;
233
- } | {
234
- type: "custom";
235
- customType: string;
236
- });
224
+ } & import("../types").ActiveTool;
237
225
  penMode: boolean;
238
226
  penDetected: boolean;
239
227
  exportBackground: boolean;
@@ -338,7 +326,7 @@ export declare const actionupdateFrameRendering: {
338
326
  dynamicStyle: string;
339
327
  invertBindingBehaviour: boolean;
340
328
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
341
- snapLines: import("../snapping").SnapLine[];
329
+ snapLines: readonly import("../snapping").SnapLine[];
342
330
  originSnapOffset: {
343
331
  x: number;
344
332
  y: number;
@@ -361,15 +349,9 @@ export declare const actionSetFrameAsActiveTool: {
361
349
  elements: readonly ExcalidrawElement[];
362
350
  appState: {
363
351
  activeTool: {
364
- lastActiveTool: import("../types").LastActiveTool;
352
+ lastActiveTool: import("../types").ActiveTool | null;
365
353
  locked: boolean;
366
- } & ({
367
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
368
- customType: null;
369
- } | {
370
- type: "custom";
371
- customType: string;
372
- });
354
+ } & import("../types").ActiveTool;
373
355
  contextMenu: {
374
356
  items: import("../components/ContextMenu").ContextMenuItems;
375
357
  top: number;
@@ -504,7 +486,7 @@ export declare const actionSetFrameAsActiveTool: {
504
486
  dynamicStyle: string;
505
487
  invertBindingBehaviour: boolean;
506
488
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
507
- snapLines: import("../snapping").SnapLine[];
489
+ snapLines: readonly import("../snapping").SnapLine[];
508
490
  originSnapOffset: {
509
491
  x: number;
510
492
  y: number;
@@ -513,7 +495,7 @@ export declare const actionSetFrameAsActiveTool: {
513
495
  };
514
496
  commitToHistory: false;
515
497
  };
516
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
498
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
517
499
  } & {
518
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
500
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
519
501
  };
@@ -49,15 +49,9 @@ export declare const actionGroup: {
49
49
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
50
50
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
51
51
  activeTool: {
52
- lastActiveTool: import("../types").LastActiveTool;
52
+ lastActiveTool: import("../types").ActiveTool | null;
53
53
  locked: boolean;
54
- } & ({
55
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
56
- customType: null;
57
- } | {
58
- type: "custom";
59
- customType: string;
60
- });
54
+ } & import("../types").ActiveTool;
61
55
  penMode: boolean;
62
56
  penDetected: boolean;
63
57
  exportBackground: boolean;
@@ -155,7 +149,7 @@ export declare const actionGroup: {
155
149
  dynamicStyle: string;
156
150
  invertBindingBehaviour: boolean;
157
151
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
158
- snapLines: import("../snapping").SnapLine[];
152
+ snapLines: readonly import("../snapping").SnapLine[];
159
153
  originSnapOffset: {
160
154
  x: number;
161
155
  y: number;
@@ -167,10 +161,10 @@ export declare const actionGroup: {
167
161
  };
168
162
  contextItemLabel: string;
169
163
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
170
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
164
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
171
165
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
172
166
  } & {
173
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
167
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
174
168
  };
175
169
  export declare const actionUngroup: {
176
170
  name: "ungroup";
@@ -221,15 +215,9 @@ export declare const actionUngroup: {
221
215
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
222
216
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
223
217
  activeTool: {
224
- lastActiveTool: import("../types").LastActiveTool;
218
+ lastActiveTool: import("../types").ActiveTool | null;
225
219
  locked: boolean;
226
- } & ({
227
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
228
- customType: null;
229
- } | {
230
- type: "custom";
231
- customType: string;
232
- });
220
+ } & import("../types").ActiveTool;
233
221
  penMode: boolean;
234
222
  penDetected: boolean;
235
223
  exportBackground: boolean;
@@ -327,7 +315,7 @@ export declare const actionUngroup: {
327
315
  dynamicStyle: string;
328
316
  invertBindingBehaviour: boolean;
329
317
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
330
- snapLines: import("../snapping").SnapLine[];
318
+ snapLines: readonly import("../snapping").SnapLine[];
331
319
  originSnapOffset: {
332
320
  x: number;
333
321
  y: number;
@@ -337,10 +325,10 @@ export declare const actionUngroup: {
337
325
  elements: ExcalidrawElement[];
338
326
  commitToHistory: true;
339
327
  };
340
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
328
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
341
329
  contextItemLabel: string;
342
330
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
343
331
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
344
332
  } & {
345
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
333
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
346
334
  };
@@ -39,15 +39,9 @@ export declare const actionToggleLinearEditor: {
39
39
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
40
40
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
41
41
  activeTool: {
42
- lastActiveTool: import("../types").LastActiveTool;
42
+ lastActiveTool: import("../types").ActiveTool | null;
43
43
  locked: boolean;
44
- } & ({
45
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
46
- customType: null;
47
- } | {
48
- type: "custom";
49
- customType: string;
50
- });
44
+ } & import("../types").ActiveTool;
51
45
  penMode: boolean;
52
46
  penDetected: boolean;
53
47
  exportBackground: boolean;
@@ -152,7 +146,7 @@ export declare const actionToggleLinearEditor: {
152
146
  dynamicStyle: string;
153
147
  invertBindingBehaviour: boolean;
154
148
  selectedLinearElement: LinearElementEditor | null;
155
- snapLines: import("../snapping").SnapLine[];
149
+ snapLines: readonly import("../snapping").SnapLine[];
156
150
  originSnapOffset: {
157
151
  x: number;
158
152
  y: number;
@@ -37,15 +37,9 @@ export declare const actionToggleCanvasMenu: {
37
37
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
38
38
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
39
39
  activeTool: {
40
- lastActiveTool: import("../types").LastActiveTool;
40
+ lastActiveTool: import("../types").ActiveTool | null;
41
41
  locked: boolean;
42
- } & ({
43
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
44
- customType: null;
45
- } | {
46
- type: "custom";
47
- customType: string;
48
- });
42
+ } & import("../types").ActiveTool;
49
43
  penMode: boolean;
50
44
  penDetected: boolean;
51
45
  exportBackground: boolean;
@@ -149,7 +143,7 @@ export declare const actionToggleCanvasMenu: {
149
143
  dynamicStyle: string;
150
144
  invertBindingBehaviour: boolean;
151
145
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
152
- snapLines: import("../snapping").SnapLine[];
146
+ snapLines: readonly import("../snapping").SnapLine[];
153
147
  originSnapOffset: {
154
148
  x: number;
155
149
  y: number;
@@ -201,15 +195,9 @@ export declare const actionToggleEditMenu: {
201
195
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
202
196
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
203
197
  activeTool: {
204
- lastActiveTool: import("../types").LastActiveTool;
198
+ lastActiveTool: import("../types").ActiveTool | null;
205
199
  locked: boolean;
206
- } & ({
207
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
208
- customType: null;
209
- } | {
210
- type: "custom";
211
- customType: string;
212
- });
200
+ } & import("../types").ActiveTool;
213
201
  penMode: boolean;
214
202
  penDetected: boolean;
215
203
  exportBackground: boolean;
@@ -313,7 +301,7 @@ export declare const actionToggleEditMenu: {
313
301
  dynamicStyle: string;
314
302
  invertBindingBehaviour: boolean;
315
303
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
316
- snapLines: import("../snapping").SnapLine[];
304
+ snapLines: readonly import("../snapping").SnapLine[];
317
305
  originSnapOffset: {
318
306
  x: number;
319
307
  y: number;
@@ -336,9 +324,9 @@ export declare const actionFullScreen: {
336
324
  perform: () => {
337
325
  commitToHistory: false;
338
326
  };
339
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false;
327
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false;
340
328
  } & {
341
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false) | undefined;
329
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false) | undefined;
342
330
  };
343
331
  export declare const actionShortcuts: {
344
332
  name: "toggleShortcuts";
@@ -381,15 +369,9 @@ export declare const actionShortcuts: {
381
369
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
382
370
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
383
371
  activeTool: {
384
- lastActiveTool: import("../types").LastActiveTool;
372
+ lastActiveTool: import("../types").ActiveTool | null;
385
373
  locked: boolean;
386
- } & ({
387
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
388
- customType: null;
389
- } | {
390
- type: "custom";
391
- customType: string;
392
- });
374
+ } & import("../types").ActiveTool;
393
375
  penMode: boolean;
394
376
  penDetected: boolean;
395
377
  exportBackground: boolean;
@@ -493,7 +475,7 @@ export declare const actionShortcuts: {
493
475
  dynamicStyle: string;
494
476
  invertBindingBehaviour: boolean;
495
477
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
496
- snapLines: import("../snapping").SnapLine[];
478
+ snapLines: readonly import("../snapping").SnapLine[];
497
479
  originSnapOffset: {
498
480
  x: number;
499
481
  y: number;
@@ -502,7 +484,7 @@ export declare const actionShortcuts: {
502
484
  };
503
485
  commitToHistory: false;
504
486
  };
505
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
487
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
506
488
  } & {
507
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
489
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
508
490
  };