@excalidraw/element 0.18.0-b7aac689a → 0.18.0-c141960

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 (115) hide show
  1. package/dist/dev/index.js +2990 -2065
  2. package/dist/dev/index.js.map +4 -4
  3. package/dist/prod/index.js +17 -17
  4. package/dist/types/common/src/constants.d.ts +21 -15
  5. package/dist/types/common/src/editorInterface.d.ts +34 -0
  6. package/dist/types/common/src/index.d.ts +2 -0
  7. package/dist/types/common/src/utils.d.ts +9 -3
  8. package/dist/types/common/src/visualdebug.d.ts +41 -0
  9. package/dist/types/element/src/Scene.d.ts +6 -2
  10. package/dist/types/element/src/align.d.ts +2 -1
  11. package/dist/types/element/src/binding.d.ts +55 -43
  12. package/dist/types/element/src/bounds.d.ts +1 -1
  13. package/dist/types/element/src/collision.d.ts +6 -2
  14. package/dist/types/element/src/delta.d.ts +16 -4
  15. package/dist/types/element/src/distribute.d.ts +2 -1
  16. package/dist/types/element/src/groups.d.ts +1 -0
  17. package/dist/types/element/src/index.d.ts +1 -3
  18. package/dist/types/element/src/linearElementEditor.d.ts +17 -19
  19. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  20. package/dist/types/element/src/renderElement.d.ts +5 -2
  21. package/dist/types/element/src/resizeTest.d.ts +5 -4
  22. package/dist/types/element/src/store.d.ts +6 -1
  23. package/dist/types/element/src/textElement.d.ts +1 -1
  24. package/dist/types/element/src/transformHandles.d.ts +5 -4
  25. package/dist/types/element/src/typeChecks.d.ts +2 -3
  26. package/dist/types/element/src/types.d.ts +7 -11
  27. package/dist/types/element/src/utils.d.ts +2 -1
  28. package/dist/types/element/src/zindex.d.ts +7 -1
  29. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +34 -16
  30. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
  31. package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -13
  32. package/dist/types/excalidraw/actions/actionCanvas.d.ts +153 -275
  33. package/dist/types/excalidraw/actions/actionClipboard.d.ts +45 -777
  34. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -6
  35. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -29
  36. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  37. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  38. package/dist/types/excalidraw/actions/actionElementLink.d.ts +11 -7
  39. package/dist/types/excalidraw/actions/actionElementLock.d.ts +23 -11
  40. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -6
  41. package/dist/types/excalidraw/actions/actionExport.d.ts +68 -952
  42. package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -394
  43. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
  44. package/dist/types/excalidraw/actions/actionFrame.d.ts +50 -28
  45. package/dist/types/excalidraw/actions/actionGroup.d.ts +24 -12
  46. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +47 -14
  47. package/dist/types/excalidraw/actions/actionLink.d.ts +9 -3
  48. package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -374
  49. package/dist/types/excalidraw/actions/actionNavigate.d.ts +21 -361
  50. package/dist/types/excalidraw/actions/actionProperties.d.ts +87 -2418
  51. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -6
  52. package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -7
  53. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  54. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +11 -5
  55. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +11 -5
  56. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -6
  57. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  58. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +11 -5
  59. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +11 -5
  60. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -6
  61. package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -2
  62. package/dist/types/excalidraw/actions/index.d.ts +2 -2
  63. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  64. package/dist/types/excalidraw/actions/register.d.ts +1 -1
  65. package/dist/types/excalidraw/actions/types.d.ts +4 -4
  66. package/dist/types/excalidraw/appState.d.ts +9 -4
  67. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  68. package/dist/types/excalidraw/components/Actions.d.ts +20 -7
  69. package/dist/types/excalidraw/components/App.d.ts +35 -25
  70. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  71. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  72. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  73. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  74. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -2
  75. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  76. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  77. package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
  78. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  79. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  80. package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
  81. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  82. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  83. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  84. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  85. package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
  86. package/dist/types/excalidraw/components/Popover.d.ts +2 -1
  87. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  88. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  89. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
  90. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  91. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  92. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
  93. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  94. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  95. package/dist/types/excalidraw/components/icons.d.ts +10 -0
  96. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +13 -1
  97. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
  98. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  99. package/dist/types/excalidraw/data/blob.d.ts +3 -7
  100. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  101. package/dist/types/excalidraw/data/restore.d.ts +7 -2
  102. package/dist/types/excalidraw/data/types.d.ts +4 -1
  103. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  104. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +3 -1
  105. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  106. package/dist/types/excalidraw/index.d.ts +4 -4
  107. package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
  108. package/dist/types/excalidraw/renderer/helpers.d.ts +1 -5
  109. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +5 -13
  110. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  111. package/dist/types/excalidraw/scene/types.d.ts +15 -3
  112. package/dist/types/excalidraw/shortcut.d.ts +1 -0
  113. package/dist/types/excalidraw/types.d.ts +37 -24
  114. package/dist/types/math/src/segment.d.ts +1 -0
  115. package/package.json +3 -3
@@ -1,363 +1,23 @@
1
1
  /// <reference types="react" />
2
- import type { Collaborator } from "../types";
3
- export declare const actionGoToCollaborator: {
4
- name: "goToCollaborator";
5
- label: string;
6
- viewMode: true;
7
- trackEvent: {
8
- category: "collab";
9
- };
10
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, collaborator: Collaborator) => {
11
- appState: {
12
- userToFollow: null;
13
- contextMenu: {
14
- items: import("../components/ContextMenu").ContextMenuItems;
15
- top: number;
16
- left: number;
17
- } | null;
18
- showWelcomeScreen: boolean;
19
- isLoading: boolean;
20
- errorMessage: import("react").ReactNode;
21
- activeEmbeddable: {
22
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
23
- state: "active" | "hover";
24
- } | null;
25
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
28
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
- isBindingEnabled: boolean;
30
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
32
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
33
- frameRendering: {
34
- enabled: boolean;
35
- name: boolean;
36
- outline: boolean;
37
- clip: boolean;
38
- };
39
- editingFrame: string | null;
40
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
42
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
43
- activeTool: {
44
- lastActiveTool: import("../types").ActiveTool | null;
45
- locked: boolean;
46
- fromSelection: boolean;
47
- } & import("../types").ActiveTool;
48
- penMode: boolean;
49
- penDetected: boolean;
50
- exportBackground: boolean;
51
- exportEmbedScene: boolean;
52
- exportWithDarkMode: boolean;
53
- exportScale: number;
54
- currentItemStrokeColor: string;
55
- currentItemBackgroundColor: string;
56
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
57
- currentItemStrokeWidth: number;
58
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
59
- currentItemRoughness: number;
60
- currentItemOpacity: number;
61
- currentItemFontFamily: number;
62
- currentItemFontSize: number;
63
- currentItemTextAlign: string;
64
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
65
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
66
- currentHoveredFontFamily: number | null;
67
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
68
- currentItemArrowType: "round" | "sharp" | "elbow";
69
- viewBackgroundColor: string;
70
- scrollX: number;
71
- scrollY: number;
72
- cursorButton: "up" | "down";
73
- scrolledOutside: boolean;
74
- name: string | null;
75
- isResizing: boolean;
76
- isRotating: boolean;
77
- zoom: Readonly<{
78
- value: import("../types").NormalizedZoomValue;
79
- }>;
80
- openMenu: "canvas" | "shape" | null;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
82
- openSidebar: {
83
- name: string;
84
- tab?: string | undefined;
85
- } | null;
86
- openDialog: {
87
- name: "imageExport" | "help" | "jsonExport";
88
- } | {
89
- name: "ttd";
90
- tab: "mermaid" | "text-to-diagram";
91
- } | {
92
- name: "commandPalette";
93
- } | {
94
- name: "elementLinkSelector";
95
- sourceElementId: string;
96
- } | null;
97
- defaultSidebarDockedPreference: boolean;
98
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
99
- selectedElementIds: Readonly<{
100
- [id: string]: true;
101
- }>;
102
- hoveredElementIds: Readonly<{
103
- [id: string]: true;
104
- }>;
105
- previousSelectedElementIds: {
106
- [id: string]: true;
107
- };
108
- selectedElementsAreBeingDragged: boolean;
109
- shouldCacheIgnoreZoom: boolean;
110
- toast: {
111
- message: string;
112
- closable?: boolean | undefined;
113
- duration?: number | undefined;
114
- } | null;
115
- zenModeEnabled: boolean;
116
- theme: import("@excalidraw/element/types").Theme;
117
- gridSize: number;
118
- gridStep: number;
119
- gridModeEnabled: boolean;
120
- viewModeEnabled: boolean;
121
- selectedGroupIds: {
122
- [groupId: string]: boolean;
123
- };
124
- editingGroupId: string | null;
125
- width: number;
126
- height: number;
127
- offsetTop: number;
128
- offsetLeft: number;
129
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
130
- collaborators: Map<import("../types").SocketId, Readonly<{
131
- pointer?: import("../types").CollaboratorPointer | undefined;
132
- button?: "up" | "down" | undefined;
133
- selectedElementIds?: Readonly<{
134
- [id: string]: true;
135
- }> | undefined;
136
- username?: string | null | undefined;
137
- userState?: import("..").UserIdleState | undefined;
138
- color?: {
139
- background: string;
140
- stroke: string;
141
- } | undefined;
142
- avatarUrl?: string | undefined;
143
- id?: string | undefined;
144
- socketId?: import("../types").SocketId | undefined;
145
- isCurrentUser?: boolean | undefined;
146
- isInCall?: boolean | undefined;
147
- isSpeaking?: boolean | undefined;
148
- isMuted?: boolean | undefined;
149
- }>>;
150
- stats: {
151
- open: boolean;
152
- panels: number;
153
- };
154
- currentChartType: import("@excalidraw/element/types").ChartType;
155
- pasteDialog: {
156
- shown: false;
157
- data: null;
158
- } | {
159
- shown: true;
160
- data: import("../charts").Spreadsheet;
161
- };
162
- showHyperlinkPopup: false | "editor" | "info";
163
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
164
- snapLines: readonly import("../snapping").SnapLine[];
165
- originSnapOffset: {
166
- x: number;
167
- y: number;
168
- } | null;
169
- objectsSnapModeEnabled: boolean;
170
- followedBy: Set<import("../types").SocketId>;
171
- isCropping: boolean;
172
- croppingElementId: string | null;
173
- searchMatches: Readonly<{
174
- focusedId: string | null;
175
- matches: readonly import("../types").SearchMatch[];
176
- }> | null;
177
- activeLockedId: string | null;
178
- lockedMultiSelections: {
179
- [groupId: string]: true;
180
- };
181
- };
182
- captureUpdate: "EVENTUALLY";
183
- } | {
184
- appState: {
185
- userToFollow: {
186
- socketId: import("../types").SocketId;
187
- username: string;
188
- };
189
- openMenu: "shape" | null;
190
- contextMenu: {
191
- items: import("../components/ContextMenu").ContextMenuItems;
192
- top: number;
193
- left: number;
194
- } | null;
195
- showWelcomeScreen: boolean;
196
- isLoading: boolean;
197
- errorMessage: import("react").ReactNode;
198
- activeEmbeddable: {
199
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
200
- state: "active" | "hover";
201
- } | null;
202
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
203
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
204
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
205
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
206
- isBindingEnabled: boolean;
207
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
208
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
209
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
210
- frameRendering: {
211
- enabled: boolean;
212
- name: boolean;
213
- outline: boolean;
214
- clip: boolean;
215
- };
216
- editingFrame: string | null;
217
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
218
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
219
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
220
- activeTool: {
221
- lastActiveTool: import("../types").ActiveTool | null;
222
- locked: boolean;
223
- fromSelection: boolean;
224
- } & import("../types").ActiveTool;
225
- penMode: boolean;
226
- penDetected: boolean;
227
- exportBackground: boolean;
228
- exportEmbedScene: boolean;
229
- exportWithDarkMode: boolean;
230
- exportScale: number;
231
- currentItemStrokeColor: string;
232
- currentItemBackgroundColor: string;
233
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
234
- currentItemStrokeWidth: number;
235
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
236
- currentItemRoughness: number;
237
- currentItemOpacity: number;
238
- currentItemFontFamily: number;
239
- currentItemFontSize: number;
240
- currentItemTextAlign: string;
241
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
242
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
243
- currentHoveredFontFamily: number | null;
244
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
245
- currentItemArrowType: "round" | "sharp" | "elbow";
246
- viewBackgroundColor: string;
247
- scrollX: number;
248
- scrollY: number;
249
- cursorButton: "up" | "down";
250
- scrolledOutside: boolean;
251
- name: string | null;
252
- isResizing: boolean;
253
- isRotating: boolean;
254
- zoom: Readonly<{
255
- value: import("../types").NormalizedZoomValue;
256
- }>;
257
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
258
- openSidebar: {
259
- name: string;
260
- tab?: string | undefined;
261
- } | null;
262
- openDialog: {
263
- name: "imageExport" | "help" | "jsonExport";
264
- } | {
265
- name: "ttd";
266
- tab: "mermaid" | "text-to-diagram";
267
- } | {
268
- name: "commandPalette";
269
- } | {
270
- name: "elementLinkSelector";
271
- sourceElementId: string;
272
- } | null;
273
- defaultSidebarDockedPreference: boolean;
274
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
275
- selectedElementIds: Readonly<{
276
- [id: string]: true;
277
- }>;
278
- hoveredElementIds: Readonly<{
279
- [id: string]: true;
280
- }>;
281
- previousSelectedElementIds: {
282
- [id: string]: true;
283
- };
284
- selectedElementsAreBeingDragged: boolean;
285
- shouldCacheIgnoreZoom: boolean;
286
- toast: {
287
- message: string;
288
- closable?: boolean | undefined;
289
- duration?: number | undefined;
290
- } | null;
291
- zenModeEnabled: boolean;
292
- theme: import("@excalidraw/element/types").Theme;
293
- gridSize: number;
294
- gridStep: number;
295
- gridModeEnabled: boolean;
296
- viewModeEnabled: boolean;
297
- selectedGroupIds: {
298
- [groupId: string]: boolean;
299
- };
300
- editingGroupId: string | null;
301
- width: number;
302
- height: number;
303
- offsetTop: number;
304
- offsetLeft: number;
305
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
306
- collaborators: Map<import("../types").SocketId, Readonly<{
307
- pointer?: import("../types").CollaboratorPointer | undefined;
308
- button?: "up" | "down" | undefined;
309
- selectedElementIds?: Readonly<{
310
- [id: string]: true;
311
- }> | undefined;
312
- username?: string | null | undefined;
313
- userState?: import("..").UserIdleState | undefined;
314
- color?: {
315
- background: string;
316
- stroke: string;
317
- } | undefined;
318
- avatarUrl?: string | undefined;
319
- id?: string | undefined;
320
- socketId?: import("../types").SocketId | undefined;
321
- isCurrentUser?: boolean | undefined;
322
- isInCall?: boolean | undefined;
323
- isSpeaking?: boolean | undefined;
324
- isMuted?: boolean | undefined;
325
- }>>;
326
- stats: {
327
- open: boolean;
328
- panels: number;
329
- };
330
- currentChartType: import("@excalidraw/element/types").ChartType;
331
- pasteDialog: {
332
- shown: false;
333
- data: null;
334
- } | {
335
- shown: true;
336
- data: import("../charts").Spreadsheet;
337
- };
338
- showHyperlinkPopup: false | "editor" | "info";
339
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
340
- snapLines: readonly import("../snapping").SnapLine[];
341
- originSnapOffset: {
342
- x: number;
343
- y: number;
344
- } | null;
345
- objectsSnapModeEnabled: boolean;
346
- followedBy: Set<import("../types").SocketId>;
347
- isCropping: boolean;
348
- croppingElementId: string | null;
349
- searchMatches: Readonly<{
350
- focusedId: string | null;
351
- matches: readonly import("../types").SearchMatch[];
352
- }> | null;
353
- activeLockedId: string | null;
354
- lockedMultiSelections: {
355
- [groupId: string]: true;
356
- };
357
- };
358
- captureUpdate: "EVENTUALLY";
359
- };
360
- PanelComponent: ({ updateData, data, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
361
- } & {
362
- keyTest?: undefined;
2
+ export declare const actionGoToCollaborator: import("./types").Action<Readonly<{
3
+ pointer?: import("../types").CollaboratorPointer | undefined;
4
+ button?: "up" | "down" | undefined;
5
+ selectedElementIds?: Readonly<{
6
+ [id: string]: true;
7
+ }> | undefined;
8
+ username?: string | null | undefined;
9
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
10
+ color?: {
11
+ background: string;
12
+ stroke: string;
13
+ } | undefined;
14
+ avatarUrl?: string | undefined;
15
+ id?: string | undefined;
16
+ socketId?: import("../types").SocketId | undefined;
17
+ isCurrentUser?: boolean | undefined;
18
+ isInCall?: boolean | undefined;
19
+ isSpeaking?: boolean | undefined;
20
+ isMuted?: boolean | undefined;
21
+ }>> & {
22
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
363
23
  };