@zsviczian/excalidraw 0.15.2-obsidian-5 → 0.15.2-obsidian-7

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 (37) hide show
  1. package/dist/excalidraw.development.js +49 -27
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +12 -12
  5. package/types/actions/actionBoundText.d.ts +6 -5
  6. package/types/actions/actionCanvas.d.ts +337 -41
  7. package/types/actions/actionClipboard.d.ts +17 -17
  8. package/types/actions/actionDeleteSelected.d.ts +9 -9
  9. package/types/actions/actionElementLock.d.ts +5 -5
  10. package/types/actions/actionExport.d.ts +36 -36
  11. package/types/actions/actionFinalize.d.ts +8 -8
  12. package/types/actions/actionFrame.d.ts +9 -9
  13. package/types/actions/actionLinearEditor.d.ts +4 -4
  14. package/types/actions/actionMenu.d.ts +12 -12
  15. package/types/actions/actionProperties.d.ts +52 -52
  16. package/types/actions/actionStyles.d.ts +4 -4
  17. package/types/actions/actionToggleGridMode.d.ts +4 -4
  18. package/types/actions/actionToggleStats.d.ts +4 -4
  19. package/types/actions/actionToggleViewMode.d.ts +4 -4
  20. package/types/actions/actionToggleZenMode.d.ts +4 -4
  21. package/types/actions/types.d.ts +1 -1
  22. package/types/appState.d.ts +4 -4
  23. package/types/components/App.d.ts +13 -1
  24. package/types/constants.d.ts +8 -8
  25. package/types/data/url.d.ts +2 -0
  26. package/types/element/Hyperlink.d.ts +4 -6
  27. package/types/element/iframe.d.ts +5 -11
  28. package/types/element/linearElementEditor.d.ts +4 -4
  29. package/types/element/newElement.d.ts +1 -2
  30. package/types/element/types.d.ts +8 -1
  31. package/types/groups.d.ts +1 -1
  32. package/types/history.d.ts +3 -3
  33. package/types/keys.d.ts +1 -0
  34. package/types/packages/excalidraw/index.d.ts +1 -0
  35. package/types/scene/selection.d.ts +11 -1
  36. package/types/types.d.ts +9 -5
  37. package/types/utils.d.ts +41 -14
@@ -85,11 +85,11 @@ export declare const actionDeleteSelected: {
85
85
  openDialog: "imageExport" | "help" | "jsonExport" | null;
86
86
  defaultSidebarDockedPreference: boolean;
87
87
  lastPointerDownWith: import("../element/types").PointerType;
88
- selectedElementIds: {
89
- [id: string]: boolean;
90
- };
88
+ selectedElementIds: Readonly<{
89
+ [id: string]: true;
90
+ }>;
91
91
  previousSelectedElementIds: {
92
- [id: string]: boolean;
92
+ [id: string]: true;
93
93
  };
94
94
  selectedElementsAreBeingDragged: boolean;
95
95
  shouldCacheIgnoreZoom: boolean;
@@ -253,11 +253,11 @@ export declare const actionDeleteSelected: {
253
253
  openDialog: "imageExport" | "help" | "jsonExport" | null;
254
254
  defaultSidebarDockedPreference: boolean;
255
255
  lastPointerDownWith: import("../element/types").PointerType;
256
- selectedElementIds: {
257
- [id: string]: boolean;
258
- };
256
+ selectedElementIds: Readonly<{
257
+ [id: string]: true;
258
+ }>;
259
259
  previousSelectedElementIds: {
260
- [id: string]: boolean;
260
+ [id: string]: true;
261
261
  };
262
262
  selectedElementsAreBeingDragged: boolean;
263
263
  shouldCacheIgnoreZoom: boolean;
@@ -392,7 +392,7 @@ export declare const actionDeleteSelected: {
392
392
  defaultSidebarDockedPreference: boolean;
393
393
  lastPointerDownWith: import("../element/types").PointerType;
394
394
  previousSelectedElementIds: {
395
- [id: string]: boolean;
395
+ [id: string]: true;
396
396
  };
397
397
  selectedElementsAreBeingDragged: boolean;
398
398
  shouldCacheIgnoreZoom: boolean;
@@ -84,11 +84,11 @@ export declare const actionToggleElementLock: {
84
84
  openDialog: "imageExport" | "help" | "jsonExport" | null;
85
85
  defaultSidebarDockedPreference: boolean;
86
86
  lastPointerDownWith: import("../element/types").PointerType;
87
- selectedElementIds: {
88
- [id: string]: boolean;
89
- };
87
+ selectedElementIds: Readonly<{
88
+ [id: string]: true;
89
+ }>;
90
90
  previousSelectedElementIds: {
91
- [id: string]: boolean;
91
+ [id: string]: true;
92
92
  };
93
93
  selectedElementsAreBeingDragged: boolean;
94
94
  shouldCacheIgnoreZoom: boolean;
@@ -240,7 +240,7 @@ export declare const actionUnlockAllElements: {
240
240
  defaultSidebarDockedPreference: boolean;
241
241
  lastPointerDownWith: import("../element/types").PointerType;
242
242
  previousSelectedElementIds: {
243
- [id: string]: boolean;
243
+ [id: string]: true;
244
244
  };
245
245
  selectedElementsAreBeingDragged: boolean;
246
246
  shouldCacheIgnoreZoom: boolean;
@@ -79,11 +79,11 @@ export declare const actionChangeProjectName: {
79
79
  openDialog: "imageExport" | "help" | "jsonExport" | null;
80
80
  defaultSidebarDockedPreference: boolean;
81
81
  lastPointerDownWith: import("../element/types").PointerType;
82
- selectedElementIds: {
83
- [id: string]: boolean;
84
- };
82
+ selectedElementIds: Readonly<{
83
+ [id: string]: true;
84
+ }>;
85
85
  previousSelectedElementIds: {
86
- [id: string]: boolean;
86
+ [id: string]: true;
87
87
  };
88
88
  selectedElementsAreBeingDragged: boolean;
89
89
  shouldCacheIgnoreZoom: boolean;
@@ -229,11 +229,11 @@ export declare const actionChangeExportScale: {
229
229
  openDialog: "imageExport" | "help" | "jsonExport" | null;
230
230
  defaultSidebarDockedPreference: boolean;
231
231
  lastPointerDownWith: import("../element/types").PointerType;
232
- selectedElementIds: {
233
- [id: string]: boolean;
234
- };
232
+ selectedElementIds: Readonly<{
233
+ [id: string]: true;
234
+ }>;
235
235
  previousSelectedElementIds: {
236
- [id: string]: boolean;
236
+ [id: string]: true;
237
237
  };
238
238
  selectedElementsAreBeingDragged: boolean;
239
239
  shouldCacheIgnoreZoom: boolean;
@@ -379,11 +379,11 @@ export declare const actionChangeExportBackground: {
379
379
  openDialog: "imageExport" | "help" | "jsonExport" | null;
380
380
  defaultSidebarDockedPreference: boolean;
381
381
  lastPointerDownWith: import("../element/types").PointerType;
382
- selectedElementIds: {
383
- [id: string]: boolean;
384
- };
382
+ selectedElementIds: Readonly<{
383
+ [id: string]: true;
384
+ }>;
385
385
  previousSelectedElementIds: {
386
- [id: string]: boolean;
386
+ [id: string]: true;
387
387
  };
388
388
  selectedElementsAreBeingDragged: boolean;
389
389
  shouldCacheIgnoreZoom: boolean;
@@ -529,11 +529,11 @@ export declare const actionChangeExportEmbedScene: {
529
529
  openDialog: "imageExport" | "help" | "jsonExport" | null;
530
530
  defaultSidebarDockedPreference: boolean;
531
531
  lastPointerDownWith: import("../element/types").PointerType;
532
- selectedElementIds: {
533
- [id: string]: boolean;
534
- };
532
+ selectedElementIds: Readonly<{
533
+ [id: string]: true;
534
+ }>;
535
535
  previousSelectedElementIds: {
536
- [id: string]: boolean;
536
+ [id: string]: true;
537
537
  };
538
538
  selectedElementsAreBeingDragged: boolean;
539
539
  shouldCacheIgnoreZoom: boolean;
@@ -684,11 +684,11 @@ export declare const actionSaveToActiveFile: {
684
684
  openDialog: "imageExport" | "help" | "jsonExport" | null;
685
685
  defaultSidebarDockedPreference: boolean;
686
686
  lastPointerDownWith: import("../element/types").PointerType;
687
- selectedElementIds: {
688
- [id: string]: boolean;
689
- };
687
+ selectedElementIds: Readonly<{
688
+ [id: string]: true;
689
+ }>;
690
690
  previousSelectedElementIds: {
691
- [id: string]: boolean;
691
+ [id: string]: true;
692
692
  };
693
693
  selectedElementsAreBeingDragged: boolean;
694
694
  shouldCacheIgnoreZoom: boolean;
@@ -832,11 +832,11 @@ export declare const actionSaveFileToDisk: {
832
832
  openDialog: "imageExport" | "help" | "jsonExport" | null;
833
833
  defaultSidebarDockedPreference: boolean;
834
834
  lastPointerDownWith: import("../element/types").PointerType;
835
- selectedElementIds: {
836
- [id: string]: boolean;
837
- };
835
+ selectedElementIds: Readonly<{
836
+ [id: string]: true;
837
+ }>;
838
838
  previousSelectedElementIds: {
839
- [id: string]: boolean;
839
+ [id: string]: true;
840
840
  };
841
841
  selectedElementsAreBeingDragged: boolean;
842
842
  shouldCacheIgnoreZoom: boolean;
@@ -986,11 +986,11 @@ export declare const actionLoadScene: {
986
986
  openDialog: "imageExport" | "help" | "jsonExport" | null;
987
987
  defaultSidebarDockedPreference: boolean;
988
988
  lastPointerDownWith: import("../element/types").PointerType;
989
- selectedElementIds: {
990
- [id: string]: boolean;
991
- };
989
+ selectedElementIds: Readonly<{
990
+ [id: string]: true;
991
+ }>;
992
992
  previousSelectedElementIds: {
993
- [id: string]: boolean;
993
+ [id: string]: true;
994
994
  };
995
995
  selectedElementsAreBeingDragged: boolean;
996
996
  shouldCacheIgnoreZoom: boolean;
@@ -1122,11 +1122,11 @@ export declare const actionLoadScene: {
1122
1122
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1123
1123
  defaultSidebarDockedPreference: boolean;
1124
1124
  lastPointerDownWith: import("../element/types").PointerType;
1125
- selectedElementIds: {
1126
- [id: string]: boolean;
1127
- };
1125
+ selectedElementIds: Readonly<{
1126
+ [id: string]: true;
1127
+ }>;
1128
1128
  previousSelectedElementIds: {
1129
- [id: string]: boolean;
1129
+ [id: string]: true;
1130
1130
  };
1131
1131
  selectedElementsAreBeingDragged: boolean;
1132
1132
  shouldCacheIgnoreZoom: boolean;
@@ -1273,11 +1273,11 @@ export declare const actionExportWithDarkMode: {
1273
1273
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1274
1274
  defaultSidebarDockedPreference: boolean;
1275
1275
  lastPointerDownWith: import("../element/types").PointerType;
1276
- selectedElementIds: {
1277
- [id: string]: boolean;
1278
- };
1276
+ selectedElementIds: Readonly<{
1277
+ [id: string]: true;
1278
+ }>;
1279
1279
  previousSelectedElementIds: {
1280
- [id: string]: boolean;
1280
+ [id: string]: true;
1281
1281
  };
1282
1282
  selectedElementsAreBeingDragged: boolean;
1283
1283
  shouldCacheIgnoreZoom: boolean;
@@ -81,11 +81,11 @@ export declare const actionFinalize: {
81
81
  openDialog: "imageExport" | "help" | "jsonExport" | null;
82
82
  defaultSidebarDockedPreference: boolean;
83
83
  lastPointerDownWith: import("../element/types").PointerType;
84
- selectedElementIds: {
85
- [id: string]: boolean;
86
- };
84
+ selectedElementIds: Readonly<{
85
+ [id: string]: true;
86
+ }>;
87
87
  previousSelectedElementIds: {
88
- [id: string]: boolean;
88
+ [id: string]: true;
89
89
  };
90
90
  selectedElementsAreBeingDragged: boolean;
91
91
  shouldCacheIgnoreZoom: boolean;
@@ -163,9 +163,9 @@ export declare const actionFinalize: {
163
163
  editingElement: null;
164
164
  startBoundElement: null;
165
165
  suggestedBindings: never[];
166
- selectedElementIds: {
167
- [id: string]: boolean;
168
- };
166
+ selectedElementIds: Readonly<{
167
+ [id: string]: true;
168
+ }>;
169
169
  selectedLinearElement: LinearElementEditor | null;
170
170
  pendingImageElementId: null;
171
171
  contextMenu: {
@@ -227,7 +227,7 @@ export declare const actionFinalize: {
227
227
  defaultSidebarDockedPreference: boolean;
228
228
  lastPointerDownWith: import("../element/types").PointerType;
229
229
  previousSelectedElementIds: {
230
- [id: string]: boolean;
230
+ [id: string]: true;
231
231
  };
232
232
  selectedElementsAreBeingDragged: boolean;
233
233
  shouldCacheIgnoreZoom: boolean;
@@ -102,7 +102,7 @@ export declare const actionRemoveAllElementsFromFrame: {
102
102
  defaultSidebarDockedPreference: boolean;
103
103
  lastPointerDownWith: import("../element/types").PointerType;
104
104
  previousSelectedElementIds: {
105
- [id: string]: boolean;
105
+ [id: string]: true;
106
106
  };
107
107
  selectedElementsAreBeingDragged: boolean;
108
108
  shouldCacheIgnoreZoom: boolean;
@@ -254,11 +254,11 @@ export declare const actionToggleFrameRendering: {
254
254
  openDialog: "imageExport" | "help" | "jsonExport" | null;
255
255
  defaultSidebarDockedPreference: boolean;
256
256
  lastPointerDownWith: import("../element/types").PointerType;
257
- selectedElementIds: {
258
- [id: string]: boolean;
259
- };
257
+ selectedElementIds: Readonly<{
258
+ [id: string]: true;
259
+ }>;
260
260
  previousSelectedElementIds: {
261
- [id: string]: boolean;
261
+ [id: string]: true;
262
262
  };
263
263
  selectedElementsAreBeingDragged: boolean;
264
264
  shouldCacheIgnoreZoom: boolean;
@@ -405,11 +405,11 @@ export declare const actionSetFrameAsActiveTool: {
405
405
  openDialog: "imageExport" | "help" | "jsonExport" | null;
406
406
  defaultSidebarDockedPreference: boolean;
407
407
  lastPointerDownWith: import("../element/types").PointerType;
408
- selectedElementIds: {
409
- [id: string]: boolean;
410
- };
408
+ selectedElementIds: Readonly<{
409
+ [id: string]: true;
410
+ }>;
411
411
  previousSelectedElementIds: {
412
- [id: string]: boolean;
412
+ [id: string]: true;
413
413
  };
414
414
  selectedElementsAreBeingDragged: boolean;
415
415
  shouldCacheIgnoreZoom: boolean;
@@ -83,11 +83,11 @@ export declare const actionToggleLinearEditor: {
83
83
  openDialog: "imageExport" | "help" | "jsonExport" | null;
84
84
  defaultSidebarDockedPreference: boolean;
85
85
  lastPointerDownWith: import("../element/types").PointerType;
86
- selectedElementIds: {
87
- [id: string]: boolean;
88
- };
86
+ selectedElementIds: Readonly<{
87
+ [id: string]: true;
88
+ }>;
89
89
  previousSelectedElementIds: {
90
- [id: string]: boolean;
90
+ [id: string]: true;
91
91
  };
92
92
  selectedElementsAreBeingDragged: boolean;
93
93
  shouldCacheIgnoreZoom: boolean;
@@ -80,11 +80,11 @@ export declare const actionToggleCanvasMenu: {
80
80
  openDialog: "imageExport" | "help" | "jsonExport" | null;
81
81
  defaultSidebarDockedPreference: boolean;
82
82
  lastPointerDownWith: import("../element/types").PointerType;
83
- selectedElementIds: {
84
- [id: string]: boolean;
85
- };
83
+ selectedElementIds: Readonly<{
84
+ [id: string]: true;
85
+ }>;
86
86
  previousSelectedElementIds: {
87
- [id: string]: boolean;
87
+ [id: string]: true;
88
88
  };
89
89
  selectedElementsAreBeingDragged: boolean;
90
90
  shouldCacheIgnoreZoom: boolean;
@@ -229,11 +229,11 @@ export declare const actionToggleEditMenu: {
229
229
  openDialog: "imageExport" | "help" | "jsonExport" | null;
230
230
  defaultSidebarDockedPreference: boolean;
231
231
  lastPointerDownWith: import("../element/types").PointerType;
232
- selectedElementIds: {
233
- [id: string]: boolean;
234
- };
232
+ selectedElementIds: Readonly<{
233
+ [id: string]: true;
234
+ }>;
235
235
  previousSelectedElementIds: {
236
- [id: string]: boolean;
236
+ [id: string]: true;
237
237
  };
238
238
  selectedElementsAreBeingDragged: boolean;
239
239
  shouldCacheIgnoreZoom: boolean;
@@ -394,11 +394,11 @@ export declare const actionShortcuts: {
394
394
  } | null;
395
395
  defaultSidebarDockedPreference: boolean;
396
396
  lastPointerDownWith: import("../element/types").PointerType;
397
- selectedElementIds: {
398
- [id: string]: boolean;
399
- };
397
+ selectedElementIds: Readonly<{
398
+ [id: string]: true;
399
+ }>;
400
400
  previousSelectedElementIds: {
401
- [id: string]: boolean;
401
+ [id: string]: true;
402
402
  };
403
403
  selectedElementsAreBeingDragged: boolean;
404
404
  shouldCacheIgnoreZoom: boolean;
@@ -97,11 +97,11 @@ export declare const actionChangeFillStyle: {
97
97
  openDialog: "imageExport" | "help" | "jsonExport" | null;
98
98
  defaultSidebarDockedPreference: boolean;
99
99
  lastPointerDownWith: import("../element/types").PointerType;
100
- selectedElementIds: {
101
- [id: string]: boolean;
102
- };
100
+ selectedElementIds: Readonly<{
101
+ [id: string]: true;
102
+ }>;
103
103
  previousSelectedElementIds: {
104
- [id: string]: boolean;
104
+ [id: string]: true;
105
105
  };
106
106
  selectedElementsAreBeingDragged: boolean;
107
107
  shouldCacheIgnoreZoom: boolean;
@@ -245,11 +245,11 @@ export declare const actionChangeStrokeWidth: {
245
245
  openDialog: "imageExport" | "help" | "jsonExport" | null;
246
246
  defaultSidebarDockedPreference: boolean;
247
247
  lastPointerDownWith: import("../element/types").PointerType;
248
- selectedElementIds: {
249
- [id: string]: boolean;
250
- };
248
+ selectedElementIds: Readonly<{
249
+ [id: string]: true;
250
+ }>;
251
251
  previousSelectedElementIds: {
252
- [id: string]: boolean;
252
+ [id: string]: true;
253
253
  };
254
254
  selectedElementsAreBeingDragged: boolean;
255
255
  shouldCacheIgnoreZoom: boolean;
@@ -393,11 +393,11 @@ export declare const actionChangeSloppiness: {
393
393
  openDialog: "imageExport" | "help" | "jsonExport" | null;
394
394
  defaultSidebarDockedPreference: boolean;
395
395
  lastPointerDownWith: import("../element/types").PointerType;
396
- selectedElementIds: {
397
- [id: string]: boolean;
398
- };
396
+ selectedElementIds: Readonly<{
397
+ [id: string]: true;
398
+ }>;
399
399
  previousSelectedElementIds: {
400
- [id: string]: boolean;
400
+ [id: string]: true;
401
401
  };
402
402
  selectedElementsAreBeingDragged: boolean;
403
403
  shouldCacheIgnoreZoom: boolean;
@@ -541,11 +541,11 @@ export declare const actionChangeStrokeStyle: {
541
541
  openDialog: "imageExport" | "help" | "jsonExport" | null;
542
542
  defaultSidebarDockedPreference: boolean;
543
543
  lastPointerDownWith: import("../element/types").PointerType;
544
- selectedElementIds: {
545
- [id: string]: boolean;
546
- };
544
+ selectedElementIds: Readonly<{
545
+ [id: string]: true;
546
+ }>;
547
547
  previousSelectedElementIds: {
548
- [id: string]: boolean;
548
+ [id: string]: true;
549
549
  };
550
550
  selectedElementsAreBeingDragged: boolean;
551
551
  shouldCacheIgnoreZoom: boolean;
@@ -689,11 +689,11 @@ export declare const actionChangeOpacity: {
689
689
  openDialog: "imageExport" | "help" | "jsonExport" | null;
690
690
  defaultSidebarDockedPreference: boolean;
691
691
  lastPointerDownWith: import("../element/types").PointerType;
692
- selectedElementIds: {
693
- [id: string]: boolean;
694
- };
692
+ selectedElementIds: Readonly<{
693
+ [id: string]: true;
694
+ }>;
695
695
  previousSelectedElementIds: {
696
- [id: string]: boolean;
696
+ [id: string]: true;
697
697
  };
698
698
  selectedElementsAreBeingDragged: boolean;
699
699
  shouldCacheIgnoreZoom: boolean;
@@ -837,11 +837,11 @@ export declare const actionChangeFontSize: {
837
837
  openDialog: "imageExport" | "help" | "jsonExport" | null;
838
838
  defaultSidebarDockedPreference: boolean;
839
839
  lastPointerDownWith: import("../element/types").PointerType;
840
- selectedElementIds: {
841
- [id: string]: boolean;
842
- };
840
+ selectedElementIds: Readonly<{
841
+ [id: string]: true;
842
+ }>;
843
843
  previousSelectedElementIds: {
844
- [id: string]: boolean;
844
+ [id: string]: true;
845
845
  };
846
846
  selectedElementsAreBeingDragged: boolean;
847
847
  shouldCacheIgnoreZoom: boolean;
@@ -985,11 +985,11 @@ export declare const actionDecreaseFontSize: {
985
985
  openDialog: "imageExport" | "help" | "jsonExport" | null;
986
986
  defaultSidebarDockedPreference: boolean;
987
987
  lastPointerDownWith: import("../element/types").PointerType;
988
- selectedElementIds: {
989
- [id: string]: boolean;
990
- };
988
+ selectedElementIds: Readonly<{
989
+ [id: string]: true;
990
+ }>;
991
991
  previousSelectedElementIds: {
992
- [id: string]: boolean;
992
+ [id: string]: true;
993
993
  };
994
994
  selectedElementsAreBeingDragged: boolean;
995
995
  shouldCacheIgnoreZoom: boolean;
@@ -1133,11 +1133,11 @@ export declare const actionIncreaseFontSize: {
1133
1133
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1134
1134
  defaultSidebarDockedPreference: boolean;
1135
1135
  lastPointerDownWith: import("../element/types").PointerType;
1136
- selectedElementIds: {
1137
- [id: string]: boolean;
1138
- };
1136
+ selectedElementIds: Readonly<{
1137
+ [id: string]: true;
1138
+ }>;
1139
1139
  previousSelectedElementIds: {
1140
- [id: string]: boolean;
1140
+ [id: string]: true;
1141
1141
  };
1142
1142
  selectedElementsAreBeingDragged: boolean;
1143
1143
  shouldCacheIgnoreZoom: boolean;
@@ -1281,11 +1281,11 @@ export declare const actionChangeFontFamily: {
1281
1281
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1282
1282
  defaultSidebarDockedPreference: boolean;
1283
1283
  lastPointerDownWith: import("../element/types").PointerType;
1284
- selectedElementIds: {
1285
- [id: string]: boolean;
1286
- };
1284
+ selectedElementIds: Readonly<{
1285
+ [id: string]: true;
1286
+ }>;
1287
1287
  previousSelectedElementIds: {
1288
- [id: string]: boolean;
1288
+ [id: string]: true;
1289
1289
  };
1290
1290
  selectedElementsAreBeingDragged: boolean;
1291
1291
  shouldCacheIgnoreZoom: boolean;
@@ -1429,11 +1429,11 @@ export declare const actionChangeTextAlign: {
1429
1429
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1430
1430
  defaultSidebarDockedPreference: boolean;
1431
1431
  lastPointerDownWith: import("../element/types").PointerType;
1432
- selectedElementIds: {
1433
- [id: string]: boolean;
1434
- };
1432
+ selectedElementIds: Readonly<{
1433
+ [id: string]: true;
1434
+ }>;
1435
1435
  previousSelectedElementIds: {
1436
- [id: string]: boolean;
1436
+ [id: string]: true;
1437
1437
  };
1438
1438
  selectedElementsAreBeingDragged: boolean;
1439
1439
  shouldCacheIgnoreZoom: boolean;
@@ -1579,11 +1579,11 @@ export declare const actionChangeVerticalAlign: {
1579
1579
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1580
1580
  defaultSidebarDockedPreference: boolean;
1581
1581
  lastPointerDownWith: import("../element/types").PointerType;
1582
- selectedElementIds: {
1583
- [id: string]: boolean;
1584
- };
1582
+ selectedElementIds: Readonly<{
1583
+ [id: string]: true;
1584
+ }>;
1585
1585
  previousSelectedElementIds: {
1586
- [id: string]: boolean;
1586
+ [id: string]: true;
1587
1587
  };
1588
1588
  selectedElementsAreBeingDragged: boolean;
1589
1589
  shouldCacheIgnoreZoom: boolean;
@@ -1727,11 +1727,11 @@ export declare const actionChangeRoundness: {
1727
1727
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1728
1728
  defaultSidebarDockedPreference: boolean;
1729
1729
  lastPointerDownWith: import("../element/types").PointerType;
1730
- selectedElementIds: {
1731
- [id: string]: boolean;
1732
- };
1730
+ selectedElementIds: Readonly<{
1731
+ [id: string]: true;
1732
+ }>;
1733
1733
  previousSelectedElementIds: {
1734
- [id: string]: boolean;
1734
+ [id: string]: true;
1735
1735
  };
1736
1736
  selectedElementsAreBeingDragged: boolean;
1737
1737
  shouldCacheIgnoreZoom: boolean;
@@ -1878,11 +1878,11 @@ export declare const actionChangeArrowhead: {
1878
1878
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1879
1879
  defaultSidebarDockedPreference: boolean;
1880
1880
  lastPointerDownWith: import("../element/types").PointerType;
1881
- selectedElementIds: {
1882
- [id: string]: boolean;
1883
- };
1881
+ selectedElementIds: Readonly<{
1882
+ [id: string]: true;
1883
+ }>;
1884
1884
  previousSelectedElementIds: {
1885
- [id: string]: boolean;
1885
+ [id: string]: true;
1886
1886
  };
1887
1887
  selectedElementsAreBeingDragged: boolean;
1888
1888
  shouldCacheIgnoreZoom: boolean;
@@ -84,11 +84,11 @@ export declare const actionCopyStyles: {
84
84
  openDialog: "imageExport" | "help" | "jsonExport" | null;
85
85
  defaultSidebarDockedPreference: boolean;
86
86
  lastPointerDownWith: import("../element/types").PointerType;
87
- selectedElementIds: {
88
- [id: string]: boolean;
89
- };
87
+ selectedElementIds: Readonly<{
88
+ [id: string]: true;
89
+ }>;
90
90
  previousSelectedElementIds: {
91
- [id: string]: boolean;
91
+ [id: string]: true;
92
92
  };
93
93
  selectedElementsAreBeingDragged: boolean;
94
94
  shouldCacheIgnoreZoom: boolean;
@@ -84,11 +84,11 @@ export declare const actionToggleGridMode: {
84
84
  openDialog: "imageExport" | "help" | "jsonExport" | null;
85
85
  defaultSidebarDockedPreference: boolean;
86
86
  lastPointerDownWith: import("../element/types").PointerType;
87
- selectedElementIds: {
88
- [id: string]: boolean;
89
- };
87
+ selectedElementIds: Readonly<{
88
+ [id: string]: true;
89
+ }>;
90
90
  previousSelectedElementIds: {
91
- [id: string]: boolean;
91
+ [id: string]: true;
92
92
  };
93
93
  selectedElementsAreBeingDragged: boolean;
94
94
  shouldCacheIgnoreZoom: boolean;
@@ -82,11 +82,11 @@ export declare const actionToggleStats: {
82
82
  openDialog: "imageExport" | "help" | "jsonExport" | null;
83
83
  defaultSidebarDockedPreference: boolean;
84
84
  lastPointerDownWith: import("../element/types").PointerType;
85
- selectedElementIds: {
86
- [id: string]: boolean;
87
- };
85
+ selectedElementIds: Readonly<{
86
+ [id: string]: true;
87
+ }>;
88
88
  previousSelectedElementIds: {
89
- [id: string]: boolean;
89
+ [id: string]: true;
90
90
  };
91
91
  selectedElementsAreBeingDragged: boolean;
92
92
  shouldCacheIgnoreZoom: boolean;
@@ -83,11 +83,11 @@ export declare const actionToggleViewMode: {
83
83
  openDialog: "imageExport" | "help" | "jsonExport" | null;
84
84
  defaultSidebarDockedPreference: boolean;
85
85
  lastPointerDownWith: import("../element/types").PointerType;
86
- selectedElementIds: {
87
- [id: string]: boolean;
88
- };
86
+ selectedElementIds: Readonly<{
87
+ [id: string]: true;
88
+ }>;
89
89
  previousSelectedElementIds: {
90
- [id: string]: boolean;
90
+ [id: string]: true;
91
91
  };
92
92
  selectedElementsAreBeingDragged: boolean;
93
93
  shouldCacheIgnoreZoom: boolean;
@@ -83,11 +83,11 @@ export declare const actionToggleZenMode: {
83
83
  openDialog: "imageExport" | "help" | "jsonExport" | null;
84
84
  defaultSidebarDockedPreference: boolean;
85
85
  lastPointerDownWith: import("../element/types").PointerType;
86
- selectedElementIds: {
87
- [id: string]: boolean;
88
- };
86
+ selectedElementIds: Readonly<{
87
+ [id: string]: true;
88
+ }>;
89
89
  previousSelectedElementIds: {
90
- [id: string]: boolean;
90
+ [id: string]: true;
91
91
  };
92
92
  selectedElementsAreBeingDragged: boolean;
93
93
  shouldCacheIgnoreZoom: boolean;