@zsviczian/excalidraw 0.17.1-obsidian-23 → 0.17.1-obsidian-25

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 (35) hide show
  1. package/dist/excalidraw.development.js +21 -21
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/excalidraw/actions/actionAddToLibrary.d.ts +3 -3
  5. package/types/excalidraw/actions/actionAlign.d.ts +6 -6
  6. package/types/excalidraw/actions/actionBoundText.d.ts +3 -3
  7. package/types/excalidraw/actions/actionCanvas.d.ts +14 -14
  8. package/types/excalidraw/actions/actionClipboard.d.ts +12 -12
  9. package/types/excalidraw/actions/actionDeleteSelected.d.ts +3 -3
  10. package/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  11. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
  12. package/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  13. package/types/excalidraw/actions/actionExport.d.ts +11 -11
  14. package/types/excalidraw/actions/actionFinalize.d.ts +2 -2
  15. package/types/excalidraw/actions/actionFlip.d.ts +2 -2
  16. package/types/excalidraw/actions/actionFrame.d.ts +378 -4
  17. package/types/excalidraw/actions/actionGroup.d.ts +378 -2
  18. package/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
  19. package/types/excalidraw/actions/actionLink.d.ts +1 -1
  20. package/types/excalidraw/actions/actionMenu.d.ts +3 -3
  21. package/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  22. package/types/excalidraw/actions/actionProperties.d.ts +13 -13
  23. package/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
  24. package/types/excalidraw/actions/actionStyles.d.ts +5 -2
  25. package/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  26. package/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  27. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  28. package/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  29. package/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  30. package/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
  31. package/types/excalidraw/actions/actionZindex.d.ts +4 -4
  32. package/types/excalidraw/components/App.d.ts +2 -1
  33. package/types/excalidraw/element/embeddable.d.ts +1 -1
  34. package/types/excalidraw/element/newElement.d.ts +2 -0
  35. package/types/excalidraw/store.d.ts +32 -2
@@ -10,7 +10,195 @@ export declare const actionGroup: {
10
10
  perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
11
11
  appState: Readonly<AppState>;
12
12
  elements: readonly OrderedExcalidrawElement[];
13
- storeAction: import("../store").StoreActionType;
13
+ storeAction: "none";
14
+ } | {
15
+ appState: {
16
+ selectedElementIds: Readonly<{
17
+ [id: string]: true;
18
+ }>;
19
+ selectedGroupIds: {
20
+ [groupId: string]: boolean;
21
+ };
22
+ editingGroupId: string | null;
23
+ contextMenu: {
24
+ items: import("../components/ContextMenu").ContextMenuItems;
25
+ top: number;
26
+ left: number;
27
+ } | null;
28
+ showWelcomeScreen: boolean;
29
+ isLoading: boolean;
30
+ errorMessage: import("react").ReactNode;
31
+ activeEmbeddable: {
32
+ element: import("../element/types").NonDeletedExcalidrawElement;
33
+ state: "active" | "hover";
34
+ } | null;
35
+ draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
36
+ resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
37
+ multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
38
+ selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
39
+ isBindingEnabled: boolean;
40
+ startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
41
+ suggestedBindings: import("../element/binding").SuggestedBinding[];
42
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
43
+ frameRendering: {
44
+ enabled: boolean;
45
+ name: boolean;
46
+ outline: boolean;
47
+ clip: boolean;
48
+ };
49
+ editingFrame: string | null;
50
+ elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
51
+ editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
52
+ editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
53
+ activeTool: {
54
+ lastActiveTool: import("../types").ActiveTool | null;
55
+ locked: boolean;
56
+ } & import("../types").ActiveTool;
57
+ penMode: boolean;
58
+ penDetected: boolean;
59
+ exportBackground: boolean;
60
+ exportEmbedScene: boolean;
61
+ exportWithDarkMode: boolean;
62
+ exportScale: number;
63
+ currentItemStrokeColor: string;
64
+ currentItemBackgroundColor: string;
65
+ currentItemFillStyle: import("../element/types").FillStyle;
66
+ currentItemStrokeWidth: number;
67
+ currentItemStrokeStyle: import("../element/types").StrokeStyle;
68
+ currentItemRoughness: number;
69
+ currentItemOpacity: number;
70
+ currentItemFontFamily: number;
71
+ currentItemFontSize: number;
72
+ currentItemTextAlign: string;
73
+ currentItemStartArrowhead: import("../element/types").Arrowhead | null;
74
+ currentItemEndArrowhead: import("../element/types").Arrowhead | null;
75
+ currentItemRoundness: import("../element/types").StrokeRoundness;
76
+ viewBackgroundColor: string;
77
+ scrollX: number;
78
+ scrollY: number;
79
+ cursorButton: "up" | "down";
80
+ scrolledOutside: boolean;
81
+ name: string | null;
82
+ isResizing: boolean;
83
+ isRotating: boolean;
84
+ zoom: Readonly<{
85
+ value: import("../types").NormalizedZoomValue;
86
+ }>;
87
+ openMenu: "canvas" | "shape" | null;
88
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
89
+ openSidebar: {
90
+ name: string;
91
+ tab?: string | undefined;
92
+ } | null;
93
+ openDialog: {
94
+ name: "imageExport" | "help" | "jsonExport";
95
+ } | {
96
+ name: "settings";
97
+ source: "settings" | "tool" | "generation";
98
+ tab: "text-to-diagram" | "diagram-to-code";
99
+ } | {
100
+ name: "ttd";
101
+ tab: "mermaid" | "text-to-diagram";
102
+ } | {
103
+ name: "commandPalette";
104
+ } | null;
105
+ defaultSidebarDockedPreference: boolean;
106
+ lastPointerDownWith: import("../element/types").PointerType;
107
+ previousSelectedElementIds: {
108
+ [id: string]: true;
109
+ };
110
+ selectedElementsAreBeingDragged: boolean;
111
+ shouldCacheIgnoreZoom: boolean;
112
+ toast: {
113
+ message: string;
114
+ closable?: boolean | undefined;
115
+ duration?: number | undefined;
116
+ } | null;
117
+ zenModeEnabled: boolean;
118
+ theme: import("../element/types").Theme;
119
+ gridSize: number | null;
120
+ previousGridSize: number | null;
121
+ viewModeEnabled: boolean;
122
+ width: number;
123
+ height: number;
124
+ offsetTop: number;
125
+ offsetLeft: number;
126
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
127
+ collaborators: Map<import("../types").SocketId, Readonly<{
128
+ pointer?: import("../types").CollaboratorPointer | undefined;
129
+ button?: "up" | "down" | undefined;
130
+ selectedElementIds?: Readonly<{
131
+ [id: string]: true;
132
+ }> | undefined;
133
+ username?: string | null | undefined;
134
+ userState?: import("../types").UserIdleState | undefined;
135
+ color?: {
136
+ background: string;
137
+ stroke: string;
138
+ } | undefined;
139
+ avatarUrl?: string | undefined;
140
+ id?: string | undefined;
141
+ socketId?: import("../types").SocketId | undefined;
142
+ isCurrentUser?: boolean | undefined;
143
+ isInCall?: boolean | undefined;
144
+ isSpeaking?: boolean | undefined;
145
+ isMuted?: boolean | undefined;
146
+ }>>;
147
+ showStats: boolean;
148
+ currentChartType: import("../element/types").ChartType;
149
+ pasteDialog: {
150
+ shown: false;
151
+ data: null;
152
+ } | {
153
+ shown: true;
154
+ data: import("../charts").Spreadsheet;
155
+ };
156
+ pendingImageElementId: string | null;
157
+ showHyperlinkPopup: false | "info" | "editor";
158
+ linkOpacity: number;
159
+ trayModeEnabled: boolean;
160
+ colorPalette?: {
161
+ canvasBackground: import("../colors").ColorPaletteCustom;
162
+ elementBackground: import("../colors").ColorPaletteCustom;
163
+ elementStroke: import("../colors").ColorPaletteCustom;
164
+ topPicks: {
165
+ canvasBackground: [string, string, string, string, string];
166
+ elementStroke: [string, string, string, string, string];
167
+ elementBackground: [string, string, string, string, string];
168
+ };
169
+ } | undefined;
170
+ allowWheelZoom?: boolean | undefined;
171
+ allowPinchZoom?: boolean | undefined;
172
+ pinnedScripts?: string[] | undefined;
173
+ customPens?: any[] | undefined;
174
+ currentStrokeOptions?: any;
175
+ resetCustomPen?: any;
176
+ gridColor: {
177
+ Bold: string;
178
+ Regular: string;
179
+ MajorGridFrequency?: number | undefined;
180
+ };
181
+ dynamicStyle: {
182
+ [x: string]: string;
183
+ };
184
+ frameColor: {
185
+ stroke: string;
186
+ fill: string;
187
+ nameColor: string;
188
+ };
189
+ invertBindingBehaviour: boolean;
190
+ selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
191
+ snapLines: readonly import("../snapping").SnapLine[];
192
+ originSnapOffset: {
193
+ x: number;
194
+ y: number;
195
+ } | null;
196
+ objectsSnapModeEnabled: boolean;
197
+ userToFollow: import("../types").UserToFollow | null;
198
+ followedBy: Set<import("../types").SocketId>;
199
+ };
200
+ elements: OrderedExcalidrawElement[];
201
+ storeAction: "capture";
14
202
  };
15
203
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
16
204
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
@@ -28,7 +216,195 @@ export declare const actionUngroup: {
28
216
  perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
29
217
  appState: Readonly<AppState>;
30
218
  elements: readonly OrderedExcalidrawElement[];
31
- storeAction: import("../store").StoreActionType;
219
+ storeAction: "none";
220
+ } | {
221
+ appState: {
222
+ selectedElementIds: Readonly<{
223
+ [id: string]: true;
224
+ }>;
225
+ selectedGroupIds: {
226
+ [groupId: string]: boolean;
227
+ };
228
+ editingGroupId: string | null;
229
+ contextMenu: {
230
+ items: import("../components/ContextMenu").ContextMenuItems;
231
+ top: number;
232
+ left: number;
233
+ } | null;
234
+ showWelcomeScreen: boolean;
235
+ isLoading: boolean;
236
+ errorMessage: import("react").ReactNode;
237
+ activeEmbeddable: {
238
+ element: import("../element/types").NonDeletedExcalidrawElement;
239
+ state: "active" | "hover";
240
+ } | null;
241
+ draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
242
+ resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
243
+ multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
244
+ selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
245
+ isBindingEnabled: boolean;
246
+ startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
247
+ suggestedBindings: import("../element/binding").SuggestedBinding[];
248
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
249
+ frameRendering: {
250
+ enabled: boolean;
251
+ name: boolean;
252
+ outline: boolean;
253
+ clip: boolean;
254
+ };
255
+ editingFrame: string | null;
256
+ elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
257
+ editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
258
+ editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
259
+ activeTool: {
260
+ lastActiveTool: import("../types").ActiveTool | null;
261
+ locked: boolean;
262
+ } & import("../types").ActiveTool;
263
+ penMode: boolean;
264
+ penDetected: boolean;
265
+ exportBackground: boolean;
266
+ exportEmbedScene: boolean;
267
+ exportWithDarkMode: boolean;
268
+ exportScale: number;
269
+ currentItemStrokeColor: string;
270
+ currentItemBackgroundColor: string;
271
+ currentItemFillStyle: import("../element/types").FillStyle;
272
+ currentItemStrokeWidth: number;
273
+ currentItemStrokeStyle: import("../element/types").StrokeStyle;
274
+ currentItemRoughness: number;
275
+ currentItemOpacity: number;
276
+ currentItemFontFamily: number;
277
+ currentItemFontSize: number;
278
+ currentItemTextAlign: string;
279
+ currentItemStartArrowhead: import("../element/types").Arrowhead | null;
280
+ currentItemEndArrowhead: import("../element/types").Arrowhead | null;
281
+ currentItemRoundness: import("../element/types").StrokeRoundness;
282
+ viewBackgroundColor: string;
283
+ scrollX: number;
284
+ scrollY: number;
285
+ cursorButton: "up" | "down";
286
+ scrolledOutside: boolean;
287
+ name: string | null;
288
+ isResizing: boolean;
289
+ isRotating: boolean;
290
+ zoom: Readonly<{
291
+ value: import("../types").NormalizedZoomValue;
292
+ }>;
293
+ openMenu: "canvas" | "shape" | null;
294
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
295
+ openSidebar: {
296
+ name: string;
297
+ tab?: string | undefined;
298
+ } | null;
299
+ openDialog: {
300
+ name: "imageExport" | "help" | "jsonExport";
301
+ } | {
302
+ name: "settings";
303
+ source: "settings" | "tool" | "generation";
304
+ tab: "text-to-diagram" | "diagram-to-code";
305
+ } | {
306
+ name: "ttd";
307
+ tab: "mermaid" | "text-to-diagram";
308
+ } | {
309
+ name: "commandPalette";
310
+ } | null;
311
+ defaultSidebarDockedPreference: boolean;
312
+ lastPointerDownWith: import("../element/types").PointerType;
313
+ previousSelectedElementIds: {
314
+ [id: string]: true;
315
+ };
316
+ selectedElementsAreBeingDragged: boolean;
317
+ shouldCacheIgnoreZoom: boolean;
318
+ toast: {
319
+ message: string;
320
+ closable?: boolean | undefined;
321
+ duration?: number | undefined;
322
+ } | null;
323
+ zenModeEnabled: boolean;
324
+ theme: import("../element/types").Theme;
325
+ gridSize: number | null;
326
+ previousGridSize: number | null;
327
+ viewModeEnabled: boolean;
328
+ width: number;
329
+ height: number;
330
+ offsetTop: number;
331
+ offsetLeft: number;
332
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
333
+ collaborators: Map<import("../types").SocketId, Readonly<{
334
+ pointer?: import("../types").CollaboratorPointer | undefined;
335
+ button?: "up" | "down" | undefined;
336
+ selectedElementIds?: Readonly<{
337
+ [id: string]: true;
338
+ }> | undefined;
339
+ username?: string | null | undefined;
340
+ userState?: import("../types").UserIdleState | undefined;
341
+ color?: {
342
+ background: string;
343
+ stroke: string;
344
+ } | undefined;
345
+ avatarUrl?: string | undefined;
346
+ id?: string | undefined;
347
+ socketId?: import("../types").SocketId | undefined;
348
+ isCurrentUser?: boolean | undefined;
349
+ isInCall?: boolean | undefined;
350
+ isSpeaking?: boolean | undefined;
351
+ isMuted?: boolean | undefined;
352
+ }>>;
353
+ showStats: boolean;
354
+ currentChartType: import("../element/types").ChartType;
355
+ pasteDialog: {
356
+ shown: false;
357
+ data: null;
358
+ } | {
359
+ shown: true;
360
+ data: import("../charts").Spreadsheet;
361
+ };
362
+ pendingImageElementId: string | null;
363
+ showHyperlinkPopup: false | "info" | "editor";
364
+ linkOpacity: number;
365
+ trayModeEnabled: boolean;
366
+ colorPalette?: {
367
+ canvasBackground: import("../colors").ColorPaletteCustom;
368
+ elementBackground: import("../colors").ColorPaletteCustom;
369
+ elementStroke: import("../colors").ColorPaletteCustom;
370
+ topPicks: {
371
+ canvasBackground: [string, string, string, string, string];
372
+ elementStroke: [string, string, string, string, string];
373
+ elementBackground: [string, string, string, string, string];
374
+ };
375
+ } | undefined;
376
+ allowWheelZoom?: boolean | undefined;
377
+ allowPinchZoom?: boolean | undefined;
378
+ pinnedScripts?: string[] | undefined;
379
+ customPens?: any[] | undefined;
380
+ currentStrokeOptions?: any;
381
+ resetCustomPen?: any;
382
+ gridColor: {
383
+ Bold: string;
384
+ Regular: string;
385
+ MajorGridFrequency?: number | undefined;
386
+ };
387
+ dynamicStyle: {
388
+ [x: string]: string;
389
+ };
390
+ frameColor: {
391
+ stroke: string;
392
+ fill: string;
393
+ nameColor: string;
394
+ };
395
+ invertBindingBehaviour: boolean;
396
+ selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
397
+ snapLines: readonly import("../snapping").SnapLine[];
398
+ originSnapOffset: {
399
+ x: number;
400
+ y: number;
401
+ } | null;
402
+ objectsSnapModeEnabled: boolean;
403
+ userToFollow: import("../types").UserToFollow | null;
404
+ followedBy: Set<import("../types").SocketId>;
405
+ };
406
+ elements: OrderedExcalidrawElement[];
407
+ storeAction: "capture";
32
408
  };
33
409
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
34
410
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
@@ -195,7 +195,7 @@ export declare const actionToggleLinearEditor: {
195
195
  userToFollow: import("../types").UserToFollow | null;
196
196
  followedBy: Set<import("../types").SocketId>;
197
197
  };
198
- storeAction: import("../store").StoreActionType;
198
+ storeAction: "capture";
199
199
  };
200
200
  PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
201
201
  } & {
@@ -189,7 +189,7 @@ export declare const actionLink: {
189
189
  userToFollow: import("../types").UserToFollow | null;
190
190
  followedBy: Set<import("../types").SocketId>;
191
191
  };
192
- storeAction: import("../store").StoreActionType;
192
+ storeAction: "capture";
193
193
  };
194
194
  trackEvent: {
195
195
  category: "hyperlink";
@@ -190,7 +190,7 @@ export declare const actionToggleCanvasMenu: {
190
190
  userToFollow: import("../types").UserToFollow | null;
191
191
  followedBy: Set<import("../types").SocketId>;
192
192
  };
193
- storeAction: import("../store").StoreActionType;
193
+ storeAction: "none";
194
194
  };
195
195
  PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
196
196
  } & {
@@ -388,7 +388,7 @@ export declare const actionToggleEditMenu: {
388
388
  userToFollow: import("../types").UserToFollow | null;
389
389
  followedBy: Set<import("../types").SocketId>;
390
390
  };
391
- storeAction: import("../store").StoreActionType;
391
+ storeAction: "none";
392
392
  };
393
393
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
394
394
  } & {
@@ -580,7 +580,7 @@ export declare const actionShortcuts: {
580
580
  userToFollow: import("../types").UserToFollow | null;
581
581
  followedBy: Set<import("../types").SocketId>;
582
582
  };
583
- storeAction: import("../store").StoreActionType;
583
+ storeAction: "none";
584
584
  };
585
585
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
586
586
  } & {
@@ -192,7 +192,7 @@ export declare const actionGoToCollaborator: {
192
192
  objectsSnapModeEnabled: boolean;
193
193
  followedBy: Set<import("../types").SocketId>;
194
194
  };
195
- storeAction: import("../store").StoreActionType;
195
+ storeAction: "none";
196
196
  } | {
197
197
  appState: {
198
198
  userToFollow: {
@@ -382,7 +382,7 @@ export declare const actionGoToCollaborator: {
382
382
  objectsSnapModeEnabled: boolean;
383
383
  followedBy: Set<import("../types").SocketId>;
384
384
  };
385
- storeAction: import("../store").StoreActionType;
385
+ storeAction: "none";
386
386
  };
387
387
  PanelComponent: ({ updateData, data, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
388
388
  } & {
@@ -211,7 +211,7 @@ export declare const actionChangeFillStyle: {
211
211
  userToFollow: import("../types").UserToFollow | null;
212
212
  followedBy: Set<import("../types").SocketId>;
213
213
  };
214
- storeAction: import("../store").StoreActionType;
214
+ storeAction: "capture";
215
215
  };
216
216
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
217
217
  } & {
@@ -408,7 +408,7 @@ export declare const actionChangeStrokeWidth: {
408
408
  userToFollow: import("../types").UserToFollow | null;
409
409
  followedBy: Set<import("../types").SocketId>;
410
410
  };
411
- storeAction: import("../store").StoreActionType;
411
+ storeAction: "capture";
412
412
  };
413
413
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
414
414
  } & {
@@ -605,7 +605,7 @@ export declare const actionChangeSloppiness: {
605
605
  userToFollow: import("../types").UserToFollow | null;
606
606
  followedBy: Set<import("../types").SocketId>;
607
607
  };
608
- storeAction: import("../store").StoreActionType;
608
+ storeAction: "capture";
609
609
  };
610
610
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
611
611
  } & {
@@ -802,7 +802,7 @@ export declare const actionChangeStrokeStyle: {
802
802
  userToFollow: import("../types").UserToFollow | null;
803
803
  followedBy: Set<import("../types").SocketId>;
804
804
  };
805
- storeAction: import("../store").StoreActionType;
805
+ storeAction: "capture";
806
806
  };
807
807
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
808
808
  } & {
@@ -999,7 +999,7 @@ export declare const actionChangeOpacity: {
999
999
  userToFollow: import("../types").UserToFollow | null;
1000
1000
  followedBy: Set<import("../types").SocketId>;
1001
1001
  };
1002
- storeAction: import("../store").StoreActionType;
1002
+ storeAction: "capture";
1003
1003
  };
1004
1004
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1005
1005
  } & {
@@ -1197,7 +1197,7 @@ export declare const actionChangeFontSize: {
1197
1197
  userToFollow: import("../types").UserToFollow | null;
1198
1198
  followedBy: Set<import("../types").SocketId>;
1199
1199
  };
1200
- storeAction: import("../store").StoreActionType;
1200
+ storeAction: "capture";
1201
1201
  };
1202
1202
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1203
1203
  } & {
@@ -1395,7 +1395,7 @@ export declare const actionDecreaseFontSize: {
1395
1395
  userToFollow: import("../types").UserToFollow | null;
1396
1396
  followedBy: Set<import("../types").SocketId>;
1397
1397
  };
1398
- storeAction: import("../store").StoreActionType;
1398
+ storeAction: "capture";
1399
1399
  };
1400
1400
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1401
1401
  } & {
@@ -1593,7 +1593,7 @@ export declare const actionIncreaseFontSize: {
1593
1593
  userToFollow: import("../types").UserToFollow | null;
1594
1594
  followedBy: Set<import("../types").SocketId>;
1595
1595
  };
1596
- storeAction: import("../store").StoreActionType;
1596
+ storeAction: "capture";
1597
1597
  };
1598
1598
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1599
1599
  } & {
@@ -1790,7 +1790,7 @@ export declare const actionChangeFontFamily: {
1790
1790
  userToFollow: import("../types").UserToFollow | null;
1791
1791
  followedBy: Set<import("../types").SocketId>;
1792
1792
  };
1793
- storeAction: import("../store").StoreActionType;
1793
+ storeAction: "capture";
1794
1794
  };
1795
1795
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1796
1796
  } & {
@@ -1987,7 +1987,7 @@ export declare const actionChangeTextAlign: {
1987
1987
  userToFollow: import("../types").UserToFollow | null;
1988
1988
  followedBy: Set<import("../types").SocketId>;
1989
1989
  };
1990
- storeAction: import("../store").StoreActionType;
1990
+ storeAction: "capture";
1991
1991
  };
1992
1992
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1993
1993
  } & {
@@ -2186,7 +2186,7 @@ export declare const actionChangeVerticalAlign: {
2186
2186
  userToFollow: import("../types").UserToFollow | null;
2187
2187
  followedBy: Set<import("../types").SocketId>;
2188
2188
  };
2189
- storeAction: import("../store").StoreActionType;
2189
+ storeAction: "capture";
2190
2190
  };
2191
2191
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2192
2192
  } & {
@@ -2383,7 +2383,7 @@ export declare const actionChangeRoundness: {
2383
2383
  userToFollow: import("../types").UserToFollow | null;
2384
2384
  followedBy: Set<import("../types").SocketId>;
2385
2385
  };
2386
- storeAction: import("../store").StoreActionType;
2386
+ storeAction: "capture";
2387
2387
  };
2388
2388
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2389
2389
  } & {
@@ -2583,7 +2583,7 @@ export declare const actionChangeArrowhead: {
2583
2583
  userToFollow: import("../types").UserToFollow | null;
2584
2584
  followedBy: Set<import("../types").SocketId>;
2585
2585
  };
2586
- storeAction: import("../store").StoreActionType;
2586
+ storeAction: "capture";
2587
2587
  };
2588
2588
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2589
2589
  } & {
@@ -194,7 +194,7 @@ export declare const actionSelectAll: {
194
194
  userToFollow: import("../types").UserToFollow | null;
195
195
  followedBy: Set<import("../types").SocketId>;
196
196
  };
197
- storeAction: import("../store").StoreActionType;
197
+ storeAction: "capture";
198
198
  };
199
199
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
200
200
  } & {
@@ -190,7 +190,7 @@ export declare const actionCopyStyles: {
190
190
  userToFollow: import("../types").UserToFollow | null;
191
191
  followedBy: Set<import("../types").SocketId>;
192
192
  };
193
- storeAction: import("../store").StoreActionType;
193
+ storeAction: "none";
194
194
  };
195
195
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
196
196
  } & {
@@ -205,7 +205,10 @@ export declare const actionPasteStyles: {
205
205
  };
206
206
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: any, app: import("../types").AppClassProperties) => {
207
207
  elements: readonly import("../element/types").OrderedExcalidrawElement[];
208
- storeAction: import("../store").StoreActionType;
208
+ storeAction: "none";
209
+ } | {
210
+ elements: import("../element/types").OrderedExcalidrawElement[];
211
+ storeAction: "capture";
209
212
  };
210
213
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
211
214
  } & {
@@ -10,7 +10,7 @@ export declare const actionTextAutoResize: {
10
10
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: AppClassProperties) => {
11
11
  appState: Readonly<import("../types").AppState>;
12
12
  elements: import("../element/types").OrderedExcalidrawElement[];
13
- storeAction: import("../store").StoreActionType;
13
+ storeAction: "capture";
14
14
  };
15
15
  } & {
16
16
  keyTest?: undefined;
@@ -195,7 +195,7 @@ export declare const actionToggleGridMode: {
195
195
  userToFollow: import("../types").UserToFollow | null;
196
196
  followedBy: Set<import("../types").SocketId>;
197
197
  };
198
- storeAction: import("../store").StoreActionType;
198
+ storeAction: "none";
199
199
  };
200
200
  checked: (appState: AppState) => boolean;
201
201
  predicate: (element: readonly import("../element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps) => boolean;
@@ -193,7 +193,7 @@ export declare const actionToggleObjectsSnapMode: {
193
193
  userToFollow: import("../types").UserToFollow | null;
194
194
  followedBy: Set<import("../types").SocketId>;
195
195
  };
196
- storeAction: import("../store").StoreActionType;
196
+ storeAction: "none";
197
197
  };
198
198
  checked: (appState: Readonly<import("../types").AppState>) => boolean;
199
199
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps) => boolean;
@@ -193,7 +193,7 @@ export declare const actionToggleStats: {
193
193
  userToFollow: import("../types").UserToFollow | null;
194
194
  followedBy: Set<import("../types").SocketId>;
195
195
  };
196
- storeAction: import("../store").StoreActionType;
196
+ storeAction: "none";
197
197
  };
198
198
  checked: (appState: Readonly<import("../types").AppState>) => boolean;
199
199
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
@@ -194,7 +194,7 @@ export declare const actionToggleViewMode: {
194
194
  userToFollow: import("../types").UserToFollow | null;
195
195
  followedBy: Set<import("../types").SocketId>;
196
196
  };
197
- storeAction: import("../store").StoreActionType;
197
+ storeAction: "none";
198
198
  };
199
199
  checked: (appState: Readonly<import("../types").AppState>) => boolean;
200
200
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps) => boolean;