@zsviczian/excalidraw 0.17.0-obsidian-1 → 0.17.0-obsidian-3

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 (76) hide show
  1. package/dist/excalidraw.development.js +372 -75
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +30 -6
  5. package/types/actions/actionBoundText.d.ts +20 -4
  6. package/types/actions/actionCanvas.d.ts +130 -26
  7. package/types/actions/actionClipboard.d.ts +70 -14
  8. package/types/actions/actionDeleteSelected.d.ts +30 -6
  9. package/types/actions/actionElementLock.d.ts +20 -4
  10. package/types/actions/actionExport.d.ts +86 -22
  11. package/types/actions/actionFinalize.d.ts +20 -4
  12. package/types/actions/actionFrame.d.ts +30 -6
  13. package/types/actions/actionGroup.d.ts +20 -4
  14. package/types/actions/actionLinearEditor.d.ts +10 -2
  15. package/types/actions/actionMenu.d.ts +24 -6
  16. package/types/actions/actionProperties.d.ts +130 -26
  17. package/types/actions/actionSelectAll.d.ts +10 -2
  18. package/types/actions/actionStyles.d.ts +10 -2
  19. package/types/actions/actionToggleGridMode.d.ts +10 -2
  20. package/types/actions/actionToggleObjectsSnapMode.d.ts +10 -2
  21. package/types/actions/actionToggleStats.d.ts +10 -2
  22. package/types/actions/actionToggleViewMode.d.ts +10 -2
  23. package/types/actions/actionToggleZenMode.d.ts +10 -2
  24. package/types/appState.d.ts +2 -2
  25. package/types/components/App.d.ts +28 -6
  26. package/types/components/Button.d.ts +1 -1
  27. package/types/components/InlineIcon.d.ts +3 -0
  28. package/types/components/LayerUI.d.ts +5 -1
  29. package/types/components/MagicButton.d.ts +9 -0
  30. package/types/components/MagicSettings.d.ts +8 -0
  31. package/types/components/Paragraph.d.ts +4 -0
  32. package/types/components/TTDDialog/MermaidToExcalidraw.d.ts +13 -0
  33. package/types/components/TTDDialog/TTDDialog.d.ts +29 -0
  34. package/types/components/TTDDialog/TTDDialogInput.d.ts +9 -0
  35. package/types/components/TTDDialog/TTDDialogOutput.d.ts +7 -0
  36. package/types/components/TTDDialog/TTDDialogPanel.d.ts +16 -0
  37. package/types/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
  38. package/types/components/TTDDialog/TTDDialogTab.d.ts +7 -0
  39. package/types/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -0
  40. package/types/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -0
  41. package/types/components/TTDDialog/TTDDialogTabs.d.ts +9 -0
  42. package/types/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
  43. package/types/components/TTDDialog/common.d.ts +33 -0
  44. package/types/components/TextField.d.ts +16 -0
  45. package/types/components/dropdownMenu/DropdownMenu.d.ts +6 -0
  46. package/types/components/dropdownMenu/DropdownMenuItem.d.ts +12 -0
  47. package/types/components/icons.d.ts +6 -0
  48. package/types/components/main-menu/MainMenu.d.ts +6 -0
  49. package/types/constants.d.ts +24 -2
  50. package/types/context/tunnels.d.ts +1 -0
  51. package/types/data/EditorLocalStorage.d.ts +8 -0
  52. package/types/data/ai/types.d.ts +242 -0
  53. package/types/data/index.d.ts +3 -3
  54. package/types/data/magic.d.ts +23 -0
  55. package/types/data/transform.d.ts +11 -7
  56. package/types/element/ElementCanvasButtons.d.ts +6 -0
  57. package/types/element/Hyperlink.d.ts +10 -2
  58. package/types/element/collision.d.ts +2 -2
  59. package/types/element/embeddable.d.ts +16 -21
  60. package/types/element/index.d.ts +3 -4
  61. package/types/element/linearElementEditor.d.ts +10 -2
  62. package/types/element/newElement.d.ts +7 -1
  63. package/types/element/textElement.d.ts +4 -4
  64. package/types/element/typeChecks.d.ts +9 -6
  65. package/types/element/types.d.ts +30 -2
  66. package/types/frame.d.ts +21 -20
  67. package/types/packages/excalidraw/index.d.ts +2 -0
  68. package/types/packages/utils.d.ts +3 -3
  69. package/types/scene/Scene.d.ts +4 -4
  70. package/types/scene/ShapeCache.d.ts +1 -1
  71. package/types/scene/comparisons.d.ts +7 -6
  72. package/types/scene/export.d.ts +3 -3
  73. package/types/scene/types.d.ts +2 -0
  74. package/types/shapes.d.ts +1 -1
  75. package/types/types.d.ts +25 -10
  76. package/types/utils.d.ts +2 -2
@@ -30,7 +30,7 @@ export declare const actionDeleteSelected: {
30
30
  isBindingEnabled: boolean;
31
31
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
32
32
  suggestedBindings: import("../element/binding").SuggestedBinding[];
33
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
33
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
34
34
  frameRendering: {
35
35
  enabled: boolean;
36
36
  name: boolean;
@@ -80,7 +80,15 @@ export declare const actionDeleteSelected: {
80
80
  name: string;
81
81
  tab?: string | undefined;
82
82
  } | null;
83
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
83
+ openDialog: {
84
+ name: "imageExport" | "help" | "jsonExport";
85
+ } | {
86
+ name: "magicSettings";
87
+ source: "tool" | "generation" | "settings";
88
+ } | {
89
+ name: "ttd";
90
+ tab: string;
91
+ } | null;
84
92
  defaultSidebarDockedPreference: boolean;
85
93
  lastPointerDownWith: import("../element/types").PointerType;
86
94
  selectedElementIds: Readonly<{
@@ -214,7 +222,7 @@ export declare const actionDeleteSelected: {
214
222
  isBindingEnabled: boolean;
215
223
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
216
224
  suggestedBindings: import("../element/binding").SuggestedBinding[];
217
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
225
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
218
226
  frameRendering: {
219
227
  enabled: boolean;
220
228
  name: boolean;
@@ -264,7 +272,15 @@ export declare const actionDeleteSelected: {
264
272
  name: string;
265
273
  tab?: string | undefined;
266
274
  } | null;
267
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
275
+ openDialog: {
276
+ name: "imageExport" | "help" | "jsonExport";
277
+ } | {
278
+ name: "magicSettings";
279
+ source: "tool" | "generation" | "settings";
280
+ } | {
281
+ name: "ttd";
282
+ tab: string;
283
+ } | null;
268
284
  defaultSidebarDockedPreference: boolean;
269
285
  lastPointerDownWith: import("../element/types").PointerType;
270
286
  selectedElementIds: Readonly<{
@@ -372,7 +388,7 @@ export declare const actionDeleteSelected: {
372
388
  isBindingEnabled: boolean;
373
389
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
374
390
  suggestedBindings: import("../element/binding").SuggestedBinding[];
375
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
391
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
376
392
  frameRendering: {
377
393
  enabled: boolean;
378
394
  name: boolean;
@@ -419,7 +435,15 @@ export declare const actionDeleteSelected: {
419
435
  name: string;
420
436
  tab?: string | undefined;
421
437
  } | null;
422
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
438
+ openDialog: {
439
+ name: "imageExport" | "help" | "jsonExport";
440
+ } | {
441
+ name: "magicSettings";
442
+ source: "tool" | "generation" | "settings";
443
+ } | {
444
+ name: "ttd";
445
+ tab: string;
446
+ } | null;
423
447
  defaultSidebarDockedPreference: boolean;
424
448
  lastPointerDownWith: import("../element/types").PointerType;
425
449
  previousSelectedElementIds: {
@@ -28,7 +28,7 @@ export declare const actionToggleElementLock: {
28
28
  isBindingEnabled: boolean;
29
29
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
30
30
  suggestedBindings: import("../element/binding").SuggestedBinding[];
31
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
31
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
32
32
  frameRendering: {
33
33
  enabled: boolean;
34
34
  name: boolean;
@@ -79,7 +79,15 @@ export declare const actionToggleElementLock: {
79
79
  name: string;
80
80
  tab?: string | undefined;
81
81
  } | null;
82
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
82
+ openDialog: {
83
+ name: "imageExport" | "help" | "jsonExport";
84
+ } | {
85
+ name: "magicSettings";
86
+ source: "tool" | "generation" | "settings";
87
+ } | {
88
+ name: "ttd";
89
+ tab: string;
90
+ } | null;
83
91
  defaultSidebarDockedPreference: boolean;
84
92
  lastPointerDownWith: import("../element/types").PointerType;
85
93
  selectedElementIds: Readonly<{
@@ -199,7 +207,7 @@ export declare const actionUnlockAllElements: {
199
207
  isBindingEnabled: boolean;
200
208
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
201
209
  suggestedBindings: import("../element/binding").SuggestedBinding[];
202
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
210
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
203
211
  frameRendering: {
204
212
  enabled: boolean;
205
213
  name: boolean;
@@ -250,7 +258,15 @@ export declare const actionUnlockAllElements: {
250
258
  name: string;
251
259
  tab?: string | undefined;
252
260
  } | null;
253
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
261
+ openDialog: {
262
+ name: "imageExport" | "help" | "jsonExport";
263
+ } | {
264
+ name: "magicSettings";
265
+ source: "tool" | "generation" | "settings";
266
+ } | {
267
+ name: "ttd";
268
+ tab: string;
269
+ } | null;
254
270
  defaultSidebarDockedPreference: boolean;
255
271
  lastPointerDownWith: import("../element/types").PointerType;
256
272
  previousSelectedElementIds: {
@@ -25,7 +25,7 @@ export declare const actionChangeProjectName: {
25
25
  isBindingEnabled: boolean;
26
26
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
27
27
  suggestedBindings: import("../element/binding").SuggestedBinding[];
28
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
28
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
29
29
  frameRendering: {
30
30
  enabled: boolean;
31
31
  name: boolean;
@@ -75,7 +75,15 @@ export declare const actionChangeProjectName: {
75
75
  name: string;
76
76
  tab?: string | undefined;
77
77
  } | null;
78
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
78
+ openDialog: {
79
+ name: "imageExport" | "help" | "jsonExport";
80
+ } | {
81
+ name: "magicSettings";
82
+ source: "tool" | "generation" | "settings";
83
+ } | {
84
+ name: "ttd";
85
+ tab: string;
86
+ } | null;
79
87
  defaultSidebarDockedPreference: boolean;
80
88
  lastPointerDownWith: import("../element/types").PointerType;
81
89
  selectedElementIds: Readonly<{
@@ -191,7 +199,7 @@ export declare const actionChangeExportScale: {
191
199
  isBindingEnabled: boolean;
192
200
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
193
201
  suggestedBindings: import("../element/binding").SuggestedBinding[];
194
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
202
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
195
203
  frameRendering: {
196
204
  enabled: boolean;
197
205
  name: boolean;
@@ -241,7 +249,15 @@ export declare const actionChangeExportScale: {
241
249
  name: string;
242
250
  tab?: string | undefined;
243
251
  } | null;
244
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
252
+ openDialog: {
253
+ name: "imageExport" | "help" | "jsonExport";
254
+ } | {
255
+ name: "magicSettings";
256
+ source: "tool" | "generation" | "settings";
257
+ } | {
258
+ name: "ttd";
259
+ tab: string;
260
+ } | null;
245
261
  defaultSidebarDockedPreference: boolean;
246
262
  lastPointerDownWith: import("../element/types").PointerType;
247
263
  selectedElementIds: Readonly<{
@@ -357,7 +373,7 @@ export declare const actionChangeExportBackground: {
357
373
  isBindingEnabled: boolean;
358
374
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
359
375
  suggestedBindings: import("../element/binding").SuggestedBinding[];
360
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
376
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
361
377
  frameRendering: {
362
378
  enabled: boolean;
363
379
  name: boolean;
@@ -407,7 +423,15 @@ export declare const actionChangeExportBackground: {
407
423
  name: string;
408
424
  tab?: string | undefined;
409
425
  } | null;
410
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
426
+ openDialog: {
427
+ name: "imageExport" | "help" | "jsonExport";
428
+ } | {
429
+ name: "magicSettings";
430
+ source: "tool" | "generation" | "settings";
431
+ } | {
432
+ name: "ttd";
433
+ tab: string;
434
+ } | null;
411
435
  defaultSidebarDockedPreference: boolean;
412
436
  lastPointerDownWith: import("../element/types").PointerType;
413
437
  selectedElementIds: Readonly<{
@@ -523,7 +547,7 @@ export declare const actionChangeExportEmbedScene: {
523
547
  isBindingEnabled: boolean;
524
548
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
525
549
  suggestedBindings: import("../element/binding").SuggestedBinding[];
526
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
550
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
527
551
  frameRendering: {
528
552
  enabled: boolean;
529
553
  name: boolean;
@@ -573,7 +597,15 @@ export declare const actionChangeExportEmbedScene: {
573
597
  name: string;
574
598
  tab?: string | undefined;
575
599
  } | null;
576
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
600
+ openDialog: {
601
+ name: "imageExport" | "help" | "jsonExport";
602
+ } | {
603
+ name: "magicSettings";
604
+ source: "tool" | "generation" | "settings";
605
+ } | {
606
+ name: "ttd";
607
+ tab: string;
608
+ } | null;
577
609
  defaultSidebarDockedPreference: boolean;
578
610
  lastPointerDownWith: import("../element/types").PointerType;
579
611
  selectedElementIds: Readonly<{
@@ -693,7 +725,7 @@ export declare const actionSaveToActiveFile: {
693
725
  isBindingEnabled: boolean;
694
726
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
695
727
  suggestedBindings: import("../element/binding").SuggestedBinding[];
696
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
728
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
697
729
  frameRendering: {
698
730
  enabled: boolean;
699
731
  name: boolean;
@@ -744,7 +776,15 @@ export declare const actionSaveToActiveFile: {
744
776
  name: string;
745
777
  tab?: string | undefined;
746
778
  } | null;
747
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
779
+ openDialog: {
780
+ name: "imageExport" | "help" | "jsonExport";
781
+ } | {
782
+ name: "magicSettings";
783
+ source: "tool" | "generation" | "settings";
784
+ } | {
785
+ name: "ttd";
786
+ tab: string;
787
+ } | null;
748
788
  defaultSidebarDockedPreference: boolean;
749
789
  lastPointerDownWith: import("../element/types").PointerType;
750
790
  selectedElementIds: Readonly<{
@@ -861,7 +901,7 @@ export declare const actionSaveFileToDisk: {
861
901
  isBindingEnabled: boolean;
862
902
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
863
903
  suggestedBindings: import("../element/binding").SuggestedBinding[];
864
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
904
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
865
905
  frameRendering: {
866
906
  enabled: boolean;
867
907
  name: boolean;
@@ -1005,10 +1045,7 @@ export declare const actionLoadScene: {
1005
1045
  perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1006
1046
  elements: import("../element/types").ExcalidrawElement[];
1007
1047
  appState: {
1008
- activeTool: {
1009
- lastActiveTool: import("../types").ActiveTool | null;
1010
- locked: boolean;
1011
- } & import("../types").ActiveTool;
1048
+ theme: Theme;
1012
1049
  contextMenu: {
1013
1050
  items: import("../components/ContextMenu").ContextMenuItems;
1014
1051
  top: number;
@@ -1028,7 +1065,7 @@ export declare const actionLoadScene: {
1028
1065
  isBindingEnabled: boolean;
1029
1066
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1030
1067
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1031
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1068
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1032
1069
  frameRendering: {
1033
1070
  enabled: boolean;
1034
1071
  name: boolean;
@@ -1039,6 +1076,10 @@ export declare const actionLoadScene: {
1039
1076
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1040
1077
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
1041
1078
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1079
+ activeTool: {
1080
+ lastActiveTool: import("../types").ActiveTool | null;
1081
+ locked: boolean;
1082
+ } & import("../types").ActiveTool;
1042
1083
  penMode: boolean;
1043
1084
  penDetected: boolean;
1044
1085
  exportBackground: boolean;
@@ -1075,7 +1116,15 @@ export declare const actionLoadScene: {
1075
1116
  name: string;
1076
1117
  tab?: string | undefined;
1077
1118
  } | null;
1078
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1119
+ openDialog: {
1120
+ name: "imageExport" | "help" | "jsonExport";
1121
+ } | {
1122
+ name: "magicSettings";
1123
+ source: "tool" | "generation" | "settings";
1124
+ } | {
1125
+ name: "ttd";
1126
+ tab: string;
1127
+ } | null;
1079
1128
  defaultSidebarDockedPreference: boolean;
1080
1129
  lastPointerDownWith: import("../element/types").PointerType;
1081
1130
  selectedElementIds: Readonly<{
@@ -1092,7 +1141,6 @@ export declare const actionLoadScene: {
1092
1141
  duration?: number | undefined;
1093
1142
  } | null;
1094
1143
  zenModeEnabled: boolean;
1095
- theme: Theme;
1096
1144
  gridSize: number | null;
1097
1145
  previousGridSize: number | null;
1098
1146
  viewModeEnabled: boolean;
@@ -1177,7 +1225,7 @@ export declare const actionLoadScene: {
1177
1225
  isBindingEnabled: boolean;
1178
1226
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1179
1227
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1180
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1228
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1181
1229
  frameRendering: {
1182
1230
  enabled: boolean;
1183
1231
  name: boolean;
@@ -1228,7 +1276,15 @@ export declare const actionLoadScene: {
1228
1276
  name: string;
1229
1277
  tab?: string | undefined;
1230
1278
  } | null;
1231
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1279
+ openDialog: {
1280
+ name: "imageExport" | "help" | "jsonExport";
1281
+ } | {
1282
+ name: "magicSettings";
1283
+ source: "tool" | "generation" | "settings";
1284
+ } | {
1285
+ name: "ttd";
1286
+ tab: string;
1287
+ } | null;
1232
1288
  defaultSidebarDockedPreference: boolean;
1233
1289
  lastPointerDownWith: import("../element/types").PointerType;
1234
1290
  selectedElementIds: Readonly<{
@@ -1345,7 +1401,7 @@ export declare const actionExportWithDarkMode: {
1345
1401
  isBindingEnabled: boolean;
1346
1402
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1347
1403
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1348
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1404
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1349
1405
  frameRendering: {
1350
1406
  enabled: boolean;
1351
1407
  name: boolean;
@@ -1395,7 +1451,15 @@ export declare const actionExportWithDarkMode: {
1395
1451
  name: string;
1396
1452
  tab?: string | undefined;
1397
1453
  } | null;
1398
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1454
+ openDialog: {
1455
+ name: "imageExport" | "help" | "jsonExport";
1456
+ } | {
1457
+ name: "magicSettings";
1458
+ source: "tool" | "generation" | "settings";
1459
+ } | {
1460
+ name: "ttd";
1461
+ tab: string;
1462
+ } | null;
1399
1463
  defaultSidebarDockedPreference: boolean;
1400
1464
  lastPointerDownWith: import("../element/types").PointerType;
1401
1465
  selectedElementIds: Readonly<{
@@ -27,7 +27,7 @@ export declare const actionFinalize: {
27
27
  isBindingEnabled: boolean;
28
28
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
29
29
  suggestedBindings: import("../element/binding").SuggestedBinding[];
30
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
30
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
31
31
  frameRendering: {
32
32
  enabled: boolean;
33
33
  name: boolean;
@@ -76,7 +76,15 @@ export declare const actionFinalize: {
76
76
  name: string;
77
77
  tab?: string | undefined;
78
78
  } | null;
79
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
79
+ openDialog: {
80
+ name: "imageExport" | "help" | "jsonExport";
81
+ } | {
82
+ name: "magicSettings";
83
+ source: "tool" | "generation" | "settings";
84
+ } | {
85
+ name: "ttd";
86
+ tab: string;
87
+ } | null;
80
88
  defaultSidebarDockedPreference: boolean;
81
89
  lastPointerDownWith: import("../element/types").PointerType;
82
90
  selectedElementIds: Readonly<{
@@ -189,7 +197,7 @@ export declare const actionFinalize: {
189
197
  resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
190
198
  selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
191
199
  isBindingEnabled: boolean;
192
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
200
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
193
201
  frameRendering: {
194
202
  enabled: boolean;
195
203
  name: boolean;
@@ -234,7 +242,15 @@ export declare const actionFinalize: {
234
242
  name: string;
235
243
  tab?: string | undefined;
236
244
  } | null;
237
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
245
+ openDialog: {
246
+ name: "imageExport" | "help" | "jsonExport";
247
+ } | {
248
+ name: "magicSettings";
249
+ source: "tool" | "generation" | "settings";
250
+ } | {
251
+ name: "ttd";
252
+ tab: string;
253
+ } | null;
238
254
  defaultSidebarDockedPreference: boolean;
239
255
  lastPointerDownWith: import("../element/types").PointerType;
240
256
  previousSelectedElementIds: {
@@ -45,7 +45,7 @@ export declare const actionRemoveAllElementsFromFrame: {
45
45
  isBindingEnabled: boolean;
46
46
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
47
47
  suggestedBindings: import("../element/binding").SuggestedBinding[];
48
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
48
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
49
49
  frameRendering: {
50
50
  enabled: boolean;
51
51
  name: boolean;
@@ -96,7 +96,15 @@ export declare const actionRemoveAllElementsFromFrame: {
96
96
  name: string;
97
97
  tab?: string | undefined;
98
98
  } | null;
99
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
99
+ openDialog: {
100
+ name: "imageExport" | "help" | "jsonExport";
101
+ } | {
102
+ name: "magicSettings";
103
+ source: "tool" | "generation" | "settings";
104
+ } | {
105
+ name: "ttd";
106
+ tab: string;
107
+ } | null;
100
108
  defaultSidebarDockedPreference: boolean;
101
109
  lastPointerDownWith: import("../element/types").PointerType;
102
110
  previousSelectedElementIds: {
@@ -220,7 +228,7 @@ export declare const actionupdateFrameRendering: {
220
228
  isBindingEnabled: boolean;
221
229
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
222
230
  suggestedBindings: import("../element/binding").SuggestedBinding[];
223
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
231
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
224
232
  editingFrame: string | null;
225
233
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
226
234
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -265,7 +273,15 @@ export declare const actionupdateFrameRendering: {
265
273
  name: string;
266
274
  tab?: string | undefined;
267
275
  } | null;
268
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
276
+ openDialog: {
277
+ name: "imageExport" | "help" | "jsonExport";
278
+ } | {
279
+ name: "magicSettings";
280
+ source: "tool" | "generation" | "settings";
281
+ } | {
282
+ name: "ttd";
283
+ tab: string;
284
+ } | null;
269
285
  defaultSidebarDockedPreference: boolean;
270
286
  lastPointerDownWith: import("../element/types").PointerType;
271
287
  selectedElementIds: Readonly<{
@@ -385,7 +401,7 @@ export declare const actionSetFrameAsActiveTool: {
385
401
  isBindingEnabled: boolean;
386
402
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
387
403
  suggestedBindings: import("../element/binding").SuggestedBinding[];
388
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
404
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
389
405
  frameRendering: {
390
406
  enabled: boolean;
391
407
  name: boolean;
@@ -432,7 +448,15 @@ export declare const actionSetFrameAsActiveTool: {
432
448
  name: string;
433
449
  tab?: string | undefined;
434
450
  } | null;
435
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
451
+ openDialog: {
452
+ name: "imageExport" | "help" | "jsonExport";
453
+ } | {
454
+ name: "magicSettings";
455
+ source: "tool" | "generation" | "settings";
456
+ } | {
457
+ name: "ttd";
458
+ tab: string;
459
+ } | null;
436
460
  defaultSidebarDockedPreference: boolean;
437
461
  lastPointerDownWith: import("../element/types").PointerType;
438
462
  selectedElementIds: Readonly<{
@@ -37,7 +37,7 @@ export declare const actionGroup: {
37
37
  isBindingEnabled: boolean;
38
38
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
39
39
  suggestedBindings: import("../element/binding").SuggestedBinding[];
40
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
40
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
41
41
  frameRendering: {
42
42
  enabled: boolean;
43
43
  name: boolean;
@@ -88,7 +88,15 @@ export declare const actionGroup: {
88
88
  name: string;
89
89
  tab?: string | undefined;
90
90
  } | null;
91
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
91
+ openDialog: {
92
+ name: "imageExport" | "help" | "jsonExport";
93
+ } | {
94
+ name: "magicSettings";
95
+ source: "tool" | "generation" | "settings";
96
+ } | {
97
+ name: "ttd";
98
+ tab: string;
99
+ } | null;
92
100
  defaultSidebarDockedPreference: boolean;
93
101
  lastPointerDownWith: import("../element/types").PointerType;
94
102
  previousSelectedElementIds: {
@@ -210,7 +218,7 @@ export declare const actionUngroup: {
210
218
  isBindingEnabled: boolean;
211
219
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
212
220
  suggestedBindings: import("../element/binding").SuggestedBinding[];
213
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
221
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
214
222
  frameRendering: {
215
223
  enabled: boolean;
216
224
  name: boolean;
@@ -261,7 +269,15 @@ export declare const actionUngroup: {
261
269
  name: string;
262
270
  tab?: string | undefined;
263
271
  } | null;
264
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
272
+ openDialog: {
273
+ name: "imageExport" | "help" | "jsonExport";
274
+ } | {
275
+ name: "magicSettings";
276
+ source: "tool" | "generation" | "settings";
277
+ } | {
278
+ name: "ttd";
279
+ tab: string;
280
+ } | null;
265
281
  defaultSidebarDockedPreference: boolean;
266
282
  lastPointerDownWith: import("../element/types").PointerType;
267
283
  previousSelectedElementIds: {
@@ -28,7 +28,7 @@ export declare const actionToggleLinearEditor: {
28
28
  isBindingEnabled: boolean;
29
29
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
30
30
  suggestedBindings: import("../element/binding").SuggestedBinding[];
31
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
31
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
32
32
  frameRendering: {
33
33
  enabled: boolean;
34
34
  name: boolean;
@@ -78,7 +78,15 @@ export declare const actionToggleLinearEditor: {
78
78
  name: string;
79
79
  tab?: string | undefined;
80
80
  } | null;
81
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
81
+ openDialog: {
82
+ name: "imageExport" | "help" | "jsonExport";
83
+ } | {
84
+ name: "magicSettings";
85
+ source: "tool" | "generation" | "settings";
86
+ } | {
87
+ name: "ttd";
88
+ tab: string;
89
+ } | null;
82
90
  defaultSidebarDockedPreference: boolean;
83
91
  lastPointerDownWith: import("../element/types").PointerType;
84
92
  selectedElementIds: Readonly<{