@zsviczian/excalidraw 0.16.1-obsidian-8 → 0.17.0-obsidian-2

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 (87) hide show
  1. package/dist/excalidraw.development.js +407 -110
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +1 -1
  4. package/main.js +7 -1
  5. package/package.json +1 -1
  6. package/types/actions/actionAddToLibrary.d.ts +33 -6
  7. package/types/actions/actionBoundText.d.ts +22 -4
  8. package/types/actions/actionCanvas.d.ts +144 -27
  9. package/types/actions/actionClipboard.d.ts +77 -14
  10. package/types/actions/actionDeleteSelected.d.ts +33 -6
  11. package/types/actions/actionElementLock.d.ts +22 -4
  12. package/types/actions/actionExport.d.ts +96 -23
  13. package/types/actions/actionFinalize.d.ts +22 -4
  14. package/types/actions/actionFrame.d.ts +33 -6
  15. package/types/actions/actionGroup.d.ts +23 -5
  16. package/types/actions/actionLinearEditor.d.ts +11 -2
  17. package/types/actions/actionMenu.d.ts +27 -20
  18. package/types/actions/actionProperties.d.ts +143 -26
  19. package/types/actions/actionSelectAll.d.ts +11 -2
  20. package/types/actions/actionStyles.d.ts +11 -2
  21. package/types/actions/actionToggleGridMode.d.ts +11 -2
  22. package/types/actions/actionToggleObjectsSnapMode.d.ts +11 -2
  23. package/types/actions/actionToggleStats.d.ts +11 -2
  24. package/types/actions/actionToggleViewMode.d.ts +11 -2
  25. package/types/actions/actionToggleZenMode.d.ts +11 -2
  26. package/types/actions/index.d.ts +1 -1
  27. package/types/appState.d.ts +3 -3
  28. package/types/components/Actions.d.ts +3 -2
  29. package/types/components/App.d.ts +43 -13
  30. package/types/components/Button.d.ts +1 -1
  31. package/types/components/ImageExportDialog.d.ts +1 -1
  32. package/types/components/InlineIcon.d.ts +3 -0
  33. package/types/components/LayerUI.d.ts +6 -2
  34. package/types/components/MagicButton.d.ts +9 -0
  35. package/types/components/MagicSettings.d.ts +8 -0
  36. package/types/components/MobileMenu.d.ts +4 -3
  37. package/types/components/Paragraph.d.ts +4 -0
  38. package/types/components/TTDDialog/MermaidToExcalidraw.d.ts +13 -0
  39. package/types/components/TTDDialog/TTDDialog.d.ts +29 -0
  40. package/types/components/TTDDialog/TTDDialogInput.d.ts +9 -0
  41. package/types/components/TTDDialog/TTDDialogOutput.d.ts +7 -0
  42. package/types/components/TTDDialog/TTDDialogPanel.d.ts +16 -0
  43. package/types/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
  44. package/types/components/TTDDialog/TTDDialogTab.d.ts +7 -0
  45. package/types/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -0
  46. package/types/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -0
  47. package/types/components/TTDDialog/TTDDialogTabs.d.ts +9 -0
  48. package/types/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
  49. package/types/components/TTDDialog/common.d.ts +33 -0
  50. package/types/components/TextField.d.ts +16 -0
  51. package/types/components/dropdownMenu/DropdownMenu.d.ts +6 -0
  52. package/types/components/dropdownMenu/DropdownMenuItem.d.ts +12 -0
  53. package/types/components/icons.d.ts +6 -0
  54. package/types/components/main-menu/MainMenu.d.ts +6 -0
  55. package/types/constants.d.ts +30 -3
  56. package/types/context/tunnels.d.ts +1 -0
  57. package/types/data/EditorLocalStorage.d.ts +8 -0
  58. package/types/data/ai/types.d.ts +242 -0
  59. package/types/data/index.d.ts +10 -2
  60. package/types/data/magic.d.ts +23 -0
  61. package/types/data/transform.d.ts +11 -7
  62. package/types/element/ElementCanvasButtons.d.ts +6 -0
  63. package/types/element/Hyperlink.d.ts +11 -2
  64. package/types/element/collision.d.ts +2 -2
  65. package/types/element/embeddable.d.ts +17 -21
  66. package/types/element/index.d.ts +3 -4
  67. package/types/element/linearElementEditor.d.ts +11 -2
  68. package/types/element/newElement.d.ts +7 -1
  69. package/types/element/textElement.d.ts +2 -2
  70. package/types/element/typeChecks.d.ts +10 -7
  71. package/types/element/types.d.ts +31 -2
  72. package/types/errors.d.ts +5 -0
  73. package/types/frame.d.ts +31 -20
  74. package/types/packages/excalidraw/index.d.ts +5 -3
  75. package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
  76. package/types/packages/utils.d.ts +5 -4
  77. package/types/packages/withinBounds.d.ts +2 -2
  78. package/types/renderer/renderElement.d.ts +6 -1
  79. package/types/renderer/renderScene.d.ts +10 -5
  80. package/types/scene/Scene.d.ts +11 -6
  81. package/types/scene/ShapeCache.d.ts +1 -1
  82. package/types/scene/comparisons.d.ts +7 -6
  83. package/types/scene/export.d.ts +6 -5
  84. package/types/scene/types.d.ts +2 -0
  85. package/types/shapes.d.ts +1 -1
  86. package/types/types.d.ts +42 -25
  87. package/types/utils.d.ts +8 -3
@@ -25,7 +25,7 @@ export declare const actionCopy: {
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;
@@ -76,7 +76,15 @@ export declare const actionCopy: {
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<{
@@ -147,6 +155,7 @@ export declare const actionCopy: {
147
155
  frameColor: {
148
156
  stroke: string;
149
157
  fill: string;
158
+ nameColor: string;
150
159
  };
151
160
  invertBindingBehaviour: boolean;
152
161
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -193,7 +202,7 @@ export declare const actionPaste: {
193
202
  isBindingEnabled: boolean;
194
203
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
195
204
  suggestedBindings: import("../element/binding").SuggestedBinding[];
196
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
205
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
197
206
  frameRendering: {
198
207
  enabled: boolean;
199
208
  name: boolean;
@@ -244,7 +253,15 @@ export declare const actionPaste: {
244
253
  name: string;
245
254
  tab?: string | undefined;
246
255
  } | null;
247
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
256
+ openDialog: {
257
+ name: "imageExport" | "help" | "jsonExport";
258
+ } | {
259
+ name: "magicSettings";
260
+ source: "tool" | "generation" | "settings";
261
+ } | {
262
+ name: "ttd";
263
+ tab: string;
264
+ } | null;
248
265
  defaultSidebarDockedPreference: boolean;
249
266
  lastPointerDownWith: import("../element/types").PointerType;
250
267
  selectedElementIds: Readonly<{
@@ -315,6 +332,7 @@ export declare const actionPaste: {
315
332
  frameColor: {
316
333
  stroke: string;
317
334
  fill: string;
335
+ nameColor: string;
318
336
  };
319
337
  invertBindingBehaviour: boolean;
320
338
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -362,7 +380,7 @@ export declare const actionCut: {
362
380
  isBindingEnabled: boolean;
363
381
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
364
382
  suggestedBindings: import("../element/binding").SuggestedBinding[];
365
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
383
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
366
384
  frameRendering: {
367
385
  enabled: boolean;
368
386
  name: boolean;
@@ -412,7 +430,15 @@ export declare const actionCut: {
412
430
  name: string;
413
431
  tab?: string | undefined;
414
432
  } | null;
415
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
433
+ openDialog: {
434
+ name: "imageExport" | "help" | "jsonExport";
435
+ } | {
436
+ name: "magicSettings";
437
+ source: "tool" | "generation" | "settings";
438
+ } | {
439
+ name: "ttd";
440
+ tab: string;
441
+ } | null;
416
442
  defaultSidebarDockedPreference: boolean;
417
443
  lastPointerDownWith: import("../element/types").PointerType;
418
444
  selectedElementIds: Readonly<{
@@ -483,6 +509,7 @@ export declare const actionCut: {
483
509
  frameColor: {
484
510
  stroke: string;
485
511
  fill: string;
512
+ nameColor: string;
486
513
  };
487
514
  invertBindingBehaviour: boolean;
488
515
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -545,7 +572,7 @@ export declare const actionCut: {
545
572
  isBindingEnabled: boolean;
546
573
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
547
574
  suggestedBindings: import("../element/binding").SuggestedBinding[];
548
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
575
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
549
576
  frameRendering: {
550
577
  enabled: boolean;
551
578
  name: boolean;
@@ -595,7 +622,15 @@ export declare const actionCut: {
595
622
  name: string;
596
623
  tab?: string | undefined;
597
624
  } | null;
598
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
625
+ openDialog: {
626
+ name: "imageExport" | "help" | "jsonExport";
627
+ } | {
628
+ name: "magicSettings";
629
+ source: "tool" | "generation" | "settings";
630
+ } | {
631
+ name: "ttd";
632
+ tab: string;
633
+ } | null;
599
634
  defaultSidebarDockedPreference: boolean;
600
635
  lastPointerDownWith: import("../element/types").PointerType;
601
636
  selectedElementIds: Readonly<{
@@ -666,6 +701,7 @@ export declare const actionCut: {
666
701
  frameColor: {
667
702
  stroke: string;
668
703
  fill: string;
704
+ nameColor: string;
669
705
  };
670
706
  invertBindingBehaviour: boolean;
671
707
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -702,7 +738,7 @@ export declare const actionCut: {
702
738
  isBindingEnabled: boolean;
703
739
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
704
740
  suggestedBindings: import("../element/binding").SuggestedBinding[];
705
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
741
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
706
742
  frameRendering: {
707
743
  enabled: boolean;
708
744
  name: boolean;
@@ -749,7 +785,15 @@ export declare const actionCut: {
749
785
  name: string;
750
786
  tab?: string | undefined;
751
787
  } | null;
752
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
788
+ openDialog: {
789
+ name: "imageExport" | "help" | "jsonExport";
790
+ } | {
791
+ name: "magicSettings";
792
+ source: "tool" | "generation" | "settings";
793
+ } | {
794
+ name: "ttd";
795
+ tab: string;
796
+ } | null;
753
797
  defaultSidebarDockedPreference: boolean;
754
798
  lastPointerDownWith: import("../element/types").PointerType;
755
799
  previousSelectedElementIds: {
@@ -814,6 +858,7 @@ export declare const actionCut: {
814
858
  frameColor: {
815
859
  stroke: string;
816
860
  fill: string;
861
+ nameColor: string;
817
862
  };
818
863
  invertBindingBehaviour: boolean;
819
864
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -860,7 +905,7 @@ export declare const actionCopyAsSvg: {
860
905
  isBindingEnabled: boolean;
861
906
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
862
907
  suggestedBindings: import("../element/binding").SuggestedBinding[];
863
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
908
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
864
909
  frameRendering: {
865
910
  enabled: boolean;
866
911
  name: boolean;
@@ -911,7 +956,15 @@ export declare const actionCopyAsSvg: {
911
956
  name: string;
912
957
  tab?: string | undefined;
913
958
  } | null;
914
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
959
+ openDialog: {
960
+ name: "imageExport" | "help" | "jsonExport";
961
+ } | {
962
+ name: "magicSettings";
963
+ source: "tool" | "generation" | "settings";
964
+ } | {
965
+ name: "ttd";
966
+ tab: string;
967
+ } | null;
915
968
  defaultSidebarDockedPreference: boolean;
916
969
  lastPointerDownWith: import("../element/types").PointerType;
917
970
  selectedElementIds: Readonly<{
@@ -982,6 +1035,7 @@ export declare const actionCopyAsSvg: {
982
1035
  frameColor: {
983
1036
  stroke: string;
984
1037
  fill: string;
1038
+ nameColor: string;
985
1039
  };
986
1040
  invertBindingBehaviour: boolean;
987
1041
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1028,7 +1082,7 @@ export declare const actionCopyAsPng: {
1028
1082
  isBindingEnabled: boolean;
1029
1083
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1030
1084
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1031
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1085
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1032
1086
  frameRendering: {
1033
1087
  enabled: boolean;
1034
1088
  name: boolean;
@@ -1079,7 +1133,15 @@ export declare const actionCopyAsPng: {
1079
1133
  name: string;
1080
1134
  tab?: string | undefined;
1081
1135
  } | null;
1082
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1136
+ openDialog: {
1137
+ name: "imageExport" | "help" | "jsonExport";
1138
+ } | {
1139
+ name: "magicSettings";
1140
+ source: "tool" | "generation" | "settings";
1141
+ } | {
1142
+ name: "ttd";
1143
+ tab: string;
1144
+ } | null;
1083
1145
  defaultSidebarDockedPreference: boolean;
1084
1146
  lastPointerDownWith: import("../element/types").PointerType;
1085
1147
  selectedElementIds: Readonly<{
@@ -1150,6 +1212,7 @@ export declare const actionCopyAsPng: {
1150
1212
  frameColor: {
1151
1213
  stroke: string;
1152
1214
  fill: string;
1215
+ nameColor: string;
1153
1216
  };
1154
1217
  invertBindingBehaviour: boolean;
1155
1218
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -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<{
@@ -151,6 +159,7 @@ export declare const actionDeleteSelected: {
151
159
  frameColor: {
152
160
  stroke: string;
153
161
  fill: string;
162
+ nameColor: string;
154
163
  };
155
164
  invertBindingBehaviour: boolean;
156
165
  selectedLinearElement: LinearElementEditor | null;
@@ -213,7 +222,7 @@ export declare const actionDeleteSelected: {
213
222
  isBindingEnabled: boolean;
214
223
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
215
224
  suggestedBindings: import("../element/binding").SuggestedBinding[];
216
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
225
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
217
226
  frameRendering: {
218
227
  enabled: boolean;
219
228
  name: boolean;
@@ -263,7 +272,15 @@ export declare const actionDeleteSelected: {
263
272
  name: string;
264
273
  tab?: string | undefined;
265
274
  } | null;
266
- 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;
267
284
  defaultSidebarDockedPreference: boolean;
268
285
  lastPointerDownWith: import("../element/types").PointerType;
269
286
  selectedElementIds: Readonly<{
@@ -334,6 +351,7 @@ export declare const actionDeleteSelected: {
334
351
  frameColor: {
335
352
  stroke: string;
336
353
  fill: string;
354
+ nameColor: string;
337
355
  };
338
356
  invertBindingBehaviour: boolean;
339
357
  selectedLinearElement: LinearElementEditor | null;
@@ -370,7 +388,7 @@ export declare const actionDeleteSelected: {
370
388
  isBindingEnabled: boolean;
371
389
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
372
390
  suggestedBindings: import("../element/binding").SuggestedBinding[];
373
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
391
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
374
392
  frameRendering: {
375
393
  enabled: boolean;
376
394
  name: boolean;
@@ -417,7 +435,15 @@ export declare const actionDeleteSelected: {
417
435
  name: string;
418
436
  tab?: string | undefined;
419
437
  } | null;
420
- 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;
421
447
  defaultSidebarDockedPreference: boolean;
422
448
  lastPointerDownWith: import("../element/types").PointerType;
423
449
  previousSelectedElementIds: {
@@ -482,6 +508,7 @@ export declare const actionDeleteSelected: {
482
508
  frameColor: {
483
509
  stroke: string;
484
510
  fill: string;
511
+ nameColor: string;
485
512
  };
486
513
  invertBindingBehaviour: boolean;
487
514
  selectedLinearElement: LinearElementEditor | null;
@@ -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<{
@@ -150,6 +158,7 @@ export declare const actionToggleElementLock: {
150
158
  frameColor: {
151
159
  stroke: string;
152
160
  fill: string;
161
+ nameColor: string;
153
162
  };
154
163
  invertBindingBehaviour: boolean;
155
164
  snapLines: readonly import("../snapping").SnapLine[];
@@ -198,7 +207,7 @@ export declare const actionUnlockAllElements: {
198
207
  isBindingEnabled: boolean;
199
208
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
200
209
  suggestedBindings: import("../element/binding").SuggestedBinding[];
201
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
210
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
202
211
  frameRendering: {
203
212
  enabled: boolean;
204
213
  name: boolean;
@@ -249,7 +258,15 @@ export declare const actionUnlockAllElements: {
249
258
  name: string;
250
259
  tab?: string | undefined;
251
260
  } | null;
252
- 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;
253
270
  defaultSidebarDockedPreference: boolean;
254
271
  lastPointerDownWith: import("../element/types").PointerType;
255
272
  previousSelectedElementIds: {
@@ -317,6 +334,7 @@ export declare const actionUnlockAllElements: {
317
334
  frameColor: {
318
335
  stroke: string;
319
336
  fill: string;
337
+ nameColor: string;
320
338
  };
321
339
  invertBindingBehaviour: boolean;
322
340
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;