@zsviczian/excalidraw 0.18.0-53 → 0.18.0-55

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 (67) hide show
  1. package/dist/excalidraw.development.js +56 -56
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +2 -2
  4. package/types/common/src/commonObsidianUtils.d.ts +6 -0
  5. package/types/common/src/constants.d.ts +1 -0
  6. package/types/common/src/editorInterface.d.ts +1 -1
  7. package/types/common/src/index.d.ts +1 -0
  8. package/types/common/src/utils.d.ts +7 -2
  9. package/types/common/src/visualdebug.d.ts +1 -1
  10. package/types/element/src/binding.d.ts +55 -44
  11. package/types/element/src/collision.d.ts +6 -2
  12. package/types/element/src/index.d.ts +0 -3
  13. package/types/element/src/linearElementEditor.d.ts +15 -18
  14. package/types/element/src/renderElement.d.ts +1 -1
  15. package/types/element/src/typeChecks.d.ts +2 -3
  16. package/types/element/src/types.d.ts +7 -11
  17. package/types/element/src/utils.d.ts +2 -1
  18. package/types/element/src/zindex.d.ts +7 -1
  19. package/types/excalidraw/actions/actionAddToLibrary.d.ts +16 -7
  20. package/types/excalidraw/actions/actionAlign.d.ts +6 -6
  21. package/types/excalidraw/actions/actionBoundText.d.ts +13 -7
  22. package/types/excalidraw/actions/actionCanvas.d.ts +91 -286
  23. package/types/excalidraw/actions/actionClipboard.d.ts +34 -941
  24. package/types/excalidraw/actions/actionCropEditor.d.ts +6 -3
  25. package/types/excalidraw/actions/actionDeleteSelected.d.ts +23 -16
  26. package/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  27. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
  28. package/types/excalidraw/actions/actionElementLink.d.ts +4 -3
  29. package/types/excalidraw/actions/actionElementLock.d.ts +11 -5
  30. package/types/excalidraw/actions/actionEmbeddable.d.ts +6 -3
  31. package/types/excalidraw/actions/actionExport.d.ts +43 -1149
  32. package/types/excalidraw/actions/actionFinalize.d.ts +10 -688
  33. package/types/excalidraw/actions/actionFlip.d.ts +2 -2
  34. package/types/excalidraw/actions/actionFrame.d.ts +26 -16
  35. package/types/excalidraw/actions/actionGroup.d.ts +12 -6
  36. package/types/excalidraw/actions/actionLinearEditor.d.ts +15 -16
  37. package/types/excalidraw/actions/actionLink.d.ts +5 -2
  38. package/types/excalidraw/actions/actionMenu.d.ts +3 -2
  39. package/types/excalidraw/actions/actionNavigate.d.ts +21 -445
  40. package/types/excalidraw/actions/actionProperties.d.ts +79 -2968
  41. package/types/excalidraw/actions/actionSelectAll.d.ts +6 -3
  42. package/types/excalidraw/actions/actionStyles.d.ts +7 -4
  43. package/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  44. package/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -2
  45. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -2
  46. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +3 -2
  47. package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  48. package/types/excalidraw/actions/actionToggleStats.d.ts +5 -2
  49. package/types/excalidraw/actions/actionToggleViewMode.d.ts +6 -3
  50. package/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -2
  51. package/types/excalidraw/actions/actionTrayMenu.d.ts +5 -2
  52. package/types/excalidraw/actions/actionZindex.d.ts +2 -2
  53. package/types/excalidraw/actions/manager.d.ts +1 -1
  54. package/types/excalidraw/actions/register.d.ts +1 -1
  55. package/types/excalidraw/actions/types.d.ts +3 -3
  56. package/types/excalidraw/appState.d.ts +4 -3
  57. package/types/excalidraw/components/App.d.ts +7 -3
  58. package/types/excalidraw/components/CommandPalette/types.d.ts +1 -2
  59. package/types/excalidraw/components/Stats/utils.d.ts +1 -1
  60. package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  61. package/types/excalidraw/data/restore.d.ts +3 -3
  62. package/types/excalidraw/index.d.ts +3 -3
  63. package/types/excalidraw/obsidianUtils.d.ts +0 -5
  64. package/types/excalidraw/renderer/helpers.d.ts +1 -5
  65. package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  66. package/types/excalidraw/scene/types.d.ts +4 -0
  67. package/types/excalidraw/types.d.ts +15 -5
@@ -1,18 +1,8 @@
1
1
  import { type SceneBounds } from "@excalidraw/element";
2
2
  import type { ExcalidrawElement } from "@excalidraw/element/types";
3
3
  import type { AppClassProperties, AppState, Offsets } from "../types";
4
- export declare const actionChangeViewBackgroundColor: {
5
- name: "changeViewBackgroundColor";
6
- label: string;
7
- trackEvent: false;
8
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
9
- perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
10
- appState: any;
11
- captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
12
- };
13
- PanelComponent: ({ elements, appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
14
- } & {
15
- keyTest?: undefined;
4
+ export declare const actionChangeViewBackgroundColor: import("./types").Action<Partial<AppState>> & {
5
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
16
6
  };
17
7
  export declare const actionClearCanvas: {
18
8
  name: "clearCanvas";
@@ -22,7 +12,7 @@ export declare const actionClearCanvas: {
22
12
  category: "canvas";
23
13
  };
24
14
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
25
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
15
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
26
16
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
27
17
  appState: {
28
18
  files: {};
@@ -87,12 +77,14 @@ export declare const actionClearCanvas: {
87
77
  scrollY: number;
88
78
  viewModeEnabled: boolean;
89
79
  openDialog: {
90
- name: "help" | "imageExport" | "jsonExport";
80
+ name: "imageExport" | "help" | "jsonExport";
91
81
  } | {
92
82
  name: "ttd";
93
83
  tab: "mermaid" | "text-to-diagram";
94
84
  } | {
95
85
  name: "commandPalette";
86
+ } | {
87
+ name: "settings";
96
88
  } | {
97
89
  name: "elementLinkSelector";
98
90
  sourceElementId: string;
@@ -112,8 +104,9 @@ export declare const actionClearCanvas: {
112
104
  };
113
105
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
114
106
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
107
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
115
108
  isBindingEnabled: boolean;
116
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
109
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
117
110
  isRotating: boolean;
118
111
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
119
112
  collaborators: Map<import("../types").SocketId, Readonly<{
@@ -155,6 +148,12 @@ export declare const actionClearCanvas: {
155
148
  matches: readonly import("../types").SearchMatch[];
156
149
  }> | null;
157
150
  activeLockedId: string | null;
151
+ hoveredElementIds: Readonly<{
152
+ [id: string]: true;
153
+ }>;
154
+ shouldCacheIgnoreZoom: boolean;
155
+ exportScale: number;
156
+ bindMode: import("@excalidraw/element/types").BindMode;
158
157
  contextMenu: {
159
158
  items: import("../components/ContextMenu").ContextMenuItems;
160
159
  top: number;
@@ -163,7 +162,6 @@ export declare const actionClearCanvas: {
163
162
  showWelcomeScreen: boolean;
164
163
  isLoading: boolean;
165
164
  errorMessage: import("react").ReactNode;
166
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
167
165
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
168
166
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
169
167
  editingFrame: string | null;
@@ -172,7 +170,6 @@ export declare const actionClearCanvas: {
172
170
  initialized: boolean;
173
171
  };
174
172
  exportWithDarkMode: boolean;
175
- exportScale: number;
176
173
  currentItemStrokeColor: string;
177
174
  currentItemBackgroundColor: string;
178
175
  currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
@@ -200,14 +197,10 @@ export declare const actionClearCanvas: {
200
197
  } | null;
201
198
  defaultSidebarDockedPreference: boolean;
202
199
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
203
- hoveredElementIds: Readonly<{
204
- [id: string]: true;
205
- }>;
206
200
  previousSelectedElementIds: {
207
201
  [id: string]: true;
208
202
  };
209
203
  selectedElementsAreBeingDragged: boolean;
210
- shouldCacheIgnoreZoom: boolean;
211
204
  toast: {
212
205
  message: string;
213
206
  closable?: boolean | undefined;
@@ -247,7 +240,7 @@ export declare const actionZoomIn: {
247
240
  trackEvent: {
248
241
  category: "canvas";
249
242
  };
250
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
243
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
251
244
  appState: {
252
245
  userToFollow: null;
253
246
  scrollX: number;
@@ -273,7 +266,7 @@ export declare const actionZoomIn: {
273
266
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
274
267
  isBindingEnabled: boolean;
275
268
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
276
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
269
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
277
270
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
278
271
  frameRendering: {
279
272
  enabled: boolean;
@@ -330,12 +323,14 @@ export declare const actionZoomIn: {
330
323
  tab?: string | undefined;
331
324
  } | null;
332
325
  openDialog: {
333
- name: "help" | "imageExport" | "jsonExport";
326
+ name: "imageExport" | "help" | "jsonExport";
334
327
  } | {
335
328
  name: "ttd";
336
329
  tab: "mermaid" | "text-to-diagram";
337
330
  } | {
338
331
  name: "commandPalette";
332
+ } | {
333
+ name: "settings";
339
334
  } | {
340
335
  name: "elementLinkSelector";
341
336
  sourceElementId: string;
@@ -460,6 +455,7 @@ export declare const actionZoomIn: {
460
455
  lockedMultiSelections: {
461
456
  [groupId: string]: true;
462
457
  };
458
+ bindMode: import("@excalidraw/element/types").BindMode;
463
459
  };
464
460
  captureUpdate: "EVENTUALLY";
465
461
  };
@@ -476,7 +472,7 @@ export declare const actionZoomOut: {
476
472
  trackEvent: {
477
473
  category: "canvas";
478
474
  };
479
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
475
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
480
476
  appState: {
481
477
  userToFollow: null;
482
478
  scrollX: number;
@@ -502,7 +498,7 @@ export declare const actionZoomOut: {
502
498
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
503
499
  isBindingEnabled: boolean;
504
500
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
505
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
501
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
506
502
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
507
503
  frameRendering: {
508
504
  enabled: boolean;
@@ -559,12 +555,14 @@ export declare const actionZoomOut: {
559
555
  tab?: string | undefined;
560
556
  } | null;
561
557
  openDialog: {
562
- name: "help" | "imageExport" | "jsonExport";
558
+ name: "imageExport" | "help" | "jsonExport";
563
559
  } | {
564
560
  name: "ttd";
565
561
  tab: "mermaid" | "text-to-diagram";
566
562
  } | {
567
563
  name: "commandPalette";
564
+ } | {
565
+ name: "settings";
568
566
  } | {
569
567
  name: "elementLinkSelector";
570
568
  sourceElementId: string;
@@ -689,6 +687,7 @@ export declare const actionZoomOut: {
689
687
  lockedMultiSelections: {
690
688
  [groupId: string]: true;
691
689
  };
690
+ bindMode: import("@excalidraw/element/types").BindMode;
692
691
  };
693
692
  captureUpdate: "EVENTUALLY";
694
693
  };
@@ -705,7 +704,7 @@ export declare const actionResetZoom: {
705
704
  trackEvent: {
706
705
  category: "canvas";
707
706
  };
708
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
707
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
709
708
  appState: {
710
709
  userToFollow: null;
711
710
  scrollX: number;
@@ -731,7 +730,7 @@ export declare const actionResetZoom: {
731
730
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
732
731
  isBindingEnabled: boolean;
733
732
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
734
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
733
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
735
734
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
736
735
  frameRendering: {
737
736
  enabled: boolean;
@@ -788,12 +787,14 @@ export declare const actionResetZoom: {
788
787
  tab?: string | undefined;
789
788
  } | null;
790
789
  openDialog: {
791
- name: "help" | "imageExport" | "jsonExport";
790
+ name: "imageExport" | "help" | "jsonExport";
792
791
  } | {
793
792
  name: "ttd";
794
793
  tab: "mermaid" | "text-to-diagram";
795
794
  } | {
796
795
  name: "commandPalette";
796
+ } | {
797
+ name: "settings";
797
798
  } | {
798
799
  name: "elementLinkSelector";
799
800
  sourceElementId: string;
@@ -918,6 +919,7 @@ export declare const actionResetZoom: {
918
919
  lockedMultiSelections: {
919
920
  [groupId: string]: true;
920
921
  };
922
+ bindMode: import("@excalidraw/element/types").BindMode;
921
923
  };
922
924
  captureUpdate: "EVENTUALLY";
923
925
  };
@@ -966,7 +968,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
966
968
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
967
969
  isBindingEnabled: boolean;
968
970
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
969
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
971
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
970
972
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
971
973
  frameRendering: {
972
974
  enabled: boolean;
@@ -1023,12 +1025,14 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1023
1025
  tab?: string | undefined;
1024
1026
  } | null;
1025
1027
  openDialog: {
1026
- name: "help" | "imageExport" | "jsonExport";
1028
+ name: "imageExport" | "help" | "jsonExport";
1027
1029
  } | {
1028
1030
  name: "ttd";
1029
1031
  tab: "mermaid" | "text-to-diagram";
1030
1032
  } | {
1031
1033
  name: "commandPalette";
1034
+ } | {
1035
+ name: "settings";
1032
1036
  } | {
1033
1037
  name: "elementLinkSelector";
1034
1038
  sourceElementId: string;
@@ -1154,6 +1158,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1154
1158
  lockedMultiSelections: {
1155
1159
  [groupId: string]: true;
1156
1160
  };
1161
+ bindMode: import("@excalidraw/element/types").BindMode;
1157
1162
  };
1158
1163
  captureUpdate: "EVENTUALLY";
1159
1164
  };
@@ -1197,7 +1202,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1197
1202
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1198
1203
  isBindingEnabled: boolean;
1199
1204
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1200
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1205
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1201
1206
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1202
1207
  frameRendering: {
1203
1208
  enabled: boolean;
@@ -1254,12 +1259,14 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1254
1259
  tab?: string | undefined;
1255
1260
  } | null;
1256
1261
  openDialog: {
1257
- name: "help" | "imageExport" | "jsonExport";
1262
+ name: "imageExport" | "help" | "jsonExport";
1258
1263
  } | {
1259
1264
  name: "ttd";
1260
1265
  tab: "mermaid" | "text-to-diagram";
1261
1266
  } | {
1262
1267
  name: "commandPalette";
1268
+ } | {
1269
+ name: "settings";
1263
1270
  } | {
1264
1271
  name: "elementLinkSelector";
1265
1272
  sourceElementId: string;
@@ -1385,6 +1392,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1385
1392
  lockedMultiSelections: {
1386
1393
  [groupId: string]: true;
1387
1394
  };
1395
+ bindMode: import("@excalidraw/element/types").BindMode;
1388
1396
  };
1389
1397
  captureUpdate: "EVENTUALLY";
1390
1398
  };
@@ -1395,7 +1403,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1395
1403
  trackEvent: {
1396
1404
  category: "canvas";
1397
1405
  };
1398
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
1406
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
1399
1407
  appState: {
1400
1408
  scrollX: number;
1401
1409
  scrollY: number;
@@ -1420,7 +1428,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1420
1428
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1421
1429
  isBindingEnabled: boolean;
1422
1430
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1423
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1431
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1424
1432
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1425
1433
  frameRendering: {
1426
1434
  enabled: boolean;
@@ -1477,12 +1485,14 @@ export declare const actionZoomToFitSelectionInViewport: {
1477
1485
  tab?: string | undefined;
1478
1486
  } | null;
1479
1487
  openDialog: {
1480
- name: "help" | "imageExport" | "jsonExport";
1488
+ name: "imageExport" | "help" | "jsonExport";
1481
1489
  } | {
1482
1490
  name: "ttd";
1483
1491
  tab: "mermaid" | "text-to-diagram";
1484
1492
  } | {
1485
1493
  name: "commandPalette";
1494
+ } | {
1495
+ name: "settings";
1486
1496
  } | {
1487
1497
  name: "elementLinkSelector";
1488
1498
  sourceElementId: string;
@@ -1608,6 +1618,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1608
1618
  lockedMultiSelections: {
1609
1619
  [groupId: string]: true;
1610
1620
  };
1621
+ bindMode: import("@excalidraw/element/types").BindMode;
1611
1622
  };
1612
1623
  captureUpdate: "EVENTUALLY";
1613
1624
  };
@@ -1622,7 +1633,7 @@ export declare const actionZoomToFitSelection: {
1622
1633
  trackEvent: {
1623
1634
  category: "canvas";
1624
1635
  };
1625
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
1636
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
1626
1637
  appState: {
1627
1638
  scrollX: number;
1628
1639
  scrollY: number;
@@ -1647,7 +1658,7 @@ export declare const actionZoomToFitSelection: {
1647
1658
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1648
1659
  isBindingEnabled: boolean;
1649
1660
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1650
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1661
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1651
1662
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1652
1663
  frameRendering: {
1653
1664
  enabled: boolean;
@@ -1704,12 +1715,14 @@ export declare const actionZoomToFitSelection: {
1704
1715
  tab?: string | undefined;
1705
1716
  } | null;
1706
1717
  openDialog: {
1707
- name: "help" | "imageExport" | "jsonExport";
1718
+ name: "imageExport" | "help" | "jsonExport";
1708
1719
  } | {
1709
1720
  name: "ttd";
1710
1721
  tab: "mermaid" | "text-to-diagram";
1711
1722
  } | {
1712
1723
  name: "commandPalette";
1724
+ } | {
1725
+ name: "settings";
1713
1726
  } | {
1714
1727
  name: "elementLinkSelector";
1715
1728
  sourceElementId: string;
@@ -1835,6 +1848,7 @@ export declare const actionZoomToFitSelection: {
1835
1848
  lockedMultiSelections: {
1836
1849
  [groupId: string]: true;
1837
1850
  };
1851
+ bindMode: import("@excalidraw/element/types").BindMode;
1838
1852
  };
1839
1853
  captureUpdate: "EVENTUALLY";
1840
1854
  };
@@ -1850,7 +1864,7 @@ export declare const actionZoomToFit: {
1850
1864
  trackEvent: {
1851
1865
  category: "canvas";
1852
1866
  };
1853
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
1867
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
1854
1868
  appState: {
1855
1869
  scrollX: number;
1856
1870
  scrollY: number;
@@ -1875,7 +1889,7 @@ export declare const actionZoomToFit: {
1875
1889
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1876
1890
  isBindingEnabled: boolean;
1877
1891
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1878
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1892
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1879
1893
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1880
1894
  frameRendering: {
1881
1895
  enabled: boolean;
@@ -1932,12 +1946,14 @@ export declare const actionZoomToFit: {
1932
1946
  tab?: string | undefined;
1933
1947
  } | null;
1934
1948
  openDialog: {
1935
- name: "help" | "imageExport" | "jsonExport";
1949
+ name: "imageExport" | "help" | "jsonExport";
1936
1950
  } | {
1937
1951
  name: "ttd";
1938
1952
  tab: "mermaid" | "text-to-diagram";
1939
1953
  } | {
1940
1954
  name: "commandPalette";
1955
+ } | {
1956
+ name: "settings";
1941
1957
  } | {
1942
1958
  name: "elementLinkSelector";
1943
1959
  sourceElementId: string;
@@ -2063,6 +2079,7 @@ export declare const actionZoomToFit: {
2063
2079
  lockedMultiSelections: {
2064
2080
  [groupId: string]: true;
2065
2081
  };
2082
+ bindMode: import("@excalidraw/element/types").BindMode;
2066
2083
  };
2067
2084
  captureUpdate: "EVENTUALLY";
2068
2085
  };
@@ -2070,235 +2087,8 @@ export declare const actionZoomToFit: {
2070
2087
  } & {
2071
2088
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2072
2089
  };
2073
- export declare const actionToggleTheme: {
2074
- name: "toggleTheme";
2075
- label: (_: readonly ExcalidrawElement[], appState: Readonly<AppState>) => "buttons.lightMode" | "buttons.darkMode";
2076
- keywords: string[];
2077
- icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
2078
- viewMode: true;
2079
- trackEvent: {
2080
- category: "canvas";
2081
- };
2082
- perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
2083
- appState: {
2084
- theme: any;
2085
- contextMenu: {
2086
- items: import("../components/ContextMenu").ContextMenuItems;
2087
- top: number;
2088
- left: number;
2089
- } | null;
2090
- showWelcomeScreen: boolean;
2091
- isLoading: boolean;
2092
- errorMessage: import("react").ReactNode;
2093
- activeEmbeddable: {
2094
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2095
- state: "active" | "hover";
2096
- } | null;
2097
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2098
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2099
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2100
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2101
- isBindingEnabled: boolean;
2102
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2103
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2104
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2105
- frameRendering: {
2106
- enabled: boolean;
2107
- name: boolean;
2108
- outline: boolean;
2109
- clip: boolean;
2110
- markerName: boolean;
2111
- markerEnabled: boolean;
2112
- };
2113
- editingFrame: string | null;
2114
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2115
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2116
- activeTool: {
2117
- lastActiveTool: import("../types").ActiveTool | null;
2118
- locked: boolean;
2119
- fromSelection: boolean;
2120
- } & import("../types").ActiveTool;
2121
- preferredSelectionTool: {
2122
- type: "selection" | "lasso";
2123
- initialized: boolean;
2124
- };
2125
- penMode: boolean;
2126
- penDetected: boolean;
2127
- exportBackground: boolean;
2128
- exportEmbedScene: boolean;
2129
- exportWithDarkMode: boolean;
2130
- exportScale: number;
2131
- currentItemStrokeColor: string;
2132
- currentItemBackgroundColor: string;
2133
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2134
- currentItemStrokeWidth: number;
2135
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2136
- currentItemRoughness: number;
2137
- currentItemOpacity: number;
2138
- currentItemFontFamily: number;
2139
- currentItemFontSize: number;
2140
- currentItemTextAlign: string;
2141
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2142
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2143
- currentHoveredFontFamily: number | null;
2144
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2145
- currentItemArrowType: "round" | "sharp" | "elbow";
2146
- currentItemFrameRole: ("marker" | null) | undefined;
2147
- viewBackgroundColor: string;
2148
- scrollX: number;
2149
- scrollY: number;
2150
- cursorButton: "up" | "down";
2151
- scrolledOutside: boolean;
2152
- name: string | null;
2153
- isResizing: boolean;
2154
- isRotating: boolean;
2155
- zoom: Readonly<{
2156
- value: import("../types").NormalizedZoomValue;
2157
- }>;
2158
- openMenu: "canvas" | "shape" | null;
2159
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2160
- openSidebar: {
2161
- name: string;
2162
- tab?: string | undefined;
2163
- } | null;
2164
- openDialog: {
2165
- name: "help" | "imageExport" | "jsonExport";
2166
- } | {
2167
- name: "ttd";
2168
- tab: "mermaid" | "text-to-diagram";
2169
- } | {
2170
- name: "commandPalette";
2171
- } | {
2172
- name: "elementLinkSelector";
2173
- sourceElementId: string;
2174
- } | null;
2175
- defaultSidebarDockedPreference: boolean;
2176
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2177
- selectedElementIds: Readonly<{
2178
- [id: string]: true;
2179
- }>;
2180
- hoveredElementIds: Readonly<{
2181
- [id: string]: true;
2182
- }>;
2183
- previousSelectedElementIds: {
2184
- [id: string]: true;
2185
- };
2186
- selectedElementsAreBeingDragged: boolean;
2187
- shouldCacheIgnoreZoom: boolean;
2188
- toast: {
2189
- message: string;
2190
- closable?: boolean | undefined;
2191
- duration?: number | undefined;
2192
- } | null;
2193
- zenModeEnabled: boolean;
2194
- gridSize: number;
2195
- gridStep: number;
2196
- gridModeEnabled: boolean;
2197
- viewModeEnabled: boolean;
2198
- selectedGroupIds: {
2199
- [groupId: string]: boolean;
2200
- };
2201
- editingGroupId: string | null;
2202
- width: number;
2203
- height: number;
2204
- offsetTop: number;
2205
- offsetLeft: number;
2206
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
2207
- collaborators: Map<import("../types").SocketId, Readonly<{
2208
- pointer?: import("../types").CollaboratorPointer | undefined;
2209
- button?: "up" | "down" | undefined;
2210
- selectedElementIds?: Readonly<{
2211
- [id: string]: true;
2212
- }> | undefined;
2213
- username?: string | null | undefined;
2214
- userState?: import("@excalidraw/common").UserIdleState | undefined;
2215
- color?: {
2216
- background: string;
2217
- stroke: string;
2218
- } | undefined;
2219
- avatarUrl?: string | undefined;
2220
- id?: string | undefined;
2221
- socketId?: import("../types").SocketId | undefined;
2222
- isCurrentUser?: boolean | undefined;
2223
- isInCall?: boolean | undefined;
2224
- isSpeaking?: boolean | undefined;
2225
- isMuted?: boolean | undefined;
2226
- }>>;
2227
- stats: {
2228
- open: boolean;
2229
- panels: number;
2230
- };
2231
- currentChartType: import("@excalidraw/element/types").ChartType;
2232
- pasteDialog: {
2233
- shown: false;
2234
- data: null;
2235
- } | {
2236
- shown: true;
2237
- data: import("../charts").Spreadsheet;
2238
- };
2239
- showHyperlinkPopup: false | "info" | "editor";
2240
- linkOpacity: number;
2241
- colorPalette?: {
2242
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
2243
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
2244
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
2245
- topPicks: {
2246
- canvasBackground: [string, string, string, string, string];
2247
- elementStroke: [string, string, string, string, string];
2248
- elementBackground: [string, string, string, string, string];
2249
- };
2250
- } | undefined;
2251
- allowWheelZoom?: boolean | undefined;
2252
- allowPinchZoom?: boolean | undefined;
2253
- disableContextMenu: boolean;
2254
- pinnedScripts?: string[] | undefined;
2255
- customPens?: any[] | undefined;
2256
- currentStrokeOptions?: any;
2257
- resetCustomPen?: any;
2258
- gridColor: {
2259
- Bold: string;
2260
- Regular: string;
2261
- };
2262
- gridDirection: {
2263
- horizontal: boolean;
2264
- vertical: boolean;
2265
- };
2266
- highlightSearchResult: boolean;
2267
- dynamicStyle: {
2268
- [x: string]: string;
2269
- };
2270
- frameColor: {
2271
- stroke: string;
2272
- fill: string;
2273
- nameColor: string;
2274
- };
2275
- invertBindingBehaviour: boolean;
2276
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2277
- snapLines: readonly import("../snapping").SnapLine[];
2278
- originSnapOffset: {
2279
- x: number;
2280
- y: number;
2281
- } | null;
2282
- objectsSnapModeEnabled: boolean;
2283
- userToFollow: import("../types").UserToFollow | null;
2284
- followedBy: Set<import("../types").SocketId>;
2285
- isCropping: boolean;
2286
- croppingElementId: string | null;
2287
- searchMatches: Readonly<{
2288
- focusedId: string | null;
2289
- matches: readonly import("../types").SearchMatch[];
2290
- }> | null;
2291
- activeLockedId: string | null;
2292
- lockedMultiSelections: {
2293
- [groupId: string]: true;
2294
- };
2295
- };
2296
- captureUpdate: "EVENTUALLY";
2297
- };
2298
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2299
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
2300
- } & {
2301
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2090
+ export declare const actionToggleTheme: import("./types").Action<import("@excalidraw/element/types").Theme> & {
2091
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
2302
2092
  };
2303
2093
  export declare const actionToggleEraserTool: {
2304
2094
  name: "toggleEraserTool";
@@ -2306,7 +2096,7 @@ export declare const actionToggleEraserTool: {
2306
2096
  trackEvent: {
2307
2097
  category: "toolbar";
2308
2098
  };
2309
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
2099
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
2310
2100
  appState: {
2311
2101
  selectedElementIds: {};
2312
2102
  selectedGroupIds: {};
@@ -2330,7 +2120,7 @@ export declare const actionToggleEraserTool: {
2330
2120
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2331
2121
  isBindingEnabled: boolean;
2332
2122
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2333
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2123
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2334
2124
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2335
2125
  frameRendering: {
2336
2126
  enabled: boolean;
@@ -2387,12 +2177,14 @@ export declare const actionToggleEraserTool: {
2387
2177
  tab?: string | undefined;
2388
2178
  } | null;
2389
2179
  openDialog: {
2390
- name: "help" | "imageExport" | "jsonExport";
2180
+ name: "imageExport" | "help" | "jsonExport";
2391
2181
  } | {
2392
2182
  name: "ttd";
2393
2183
  tab: "mermaid" | "text-to-diagram";
2394
2184
  } | {
2395
2185
  name: "commandPalette";
2186
+ } | {
2187
+ name: "settings";
2396
2188
  } | {
2397
2189
  name: "elementLinkSelector";
2398
2190
  sourceElementId: string;
@@ -2512,6 +2304,7 @@ export declare const actionToggleEraserTool: {
2512
2304
  lockedMultiSelections: {
2513
2305
  [groupId: string]: true;
2514
2306
  };
2307
+ bindMode: import("@excalidraw/element/types").BindMode;
2515
2308
  };
2516
2309
  captureUpdate: "IMMEDIATELY";
2517
2310
  };
@@ -2527,7 +2320,7 @@ export declare const actionToggleLassoTool: {
2527
2320
  category: "toolbar";
2528
2321
  };
2529
2322
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
2530
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
2323
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
2531
2324
  appState: {
2532
2325
  selectedElementIds: {};
2533
2326
  selectedGroupIds: {};
@@ -2551,7 +2344,7 @@ export declare const actionToggleLassoTool: {
2551
2344
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2552
2345
  isBindingEnabled: boolean;
2553
2346
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2554
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2347
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2555
2348
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2556
2349
  frameRendering: {
2557
2350
  enabled: boolean;
@@ -2608,12 +2401,14 @@ export declare const actionToggleLassoTool: {
2608
2401
  tab?: string | undefined;
2609
2402
  } | null;
2610
2403
  openDialog: {
2611
- name: "help" | "imageExport" | "jsonExport";
2404
+ name: "imageExport" | "help" | "jsonExport";
2612
2405
  } | {
2613
2406
  name: "ttd";
2614
2407
  tab: "mermaid" | "text-to-diagram";
2615
2408
  } | {
2616
2409
  name: "commandPalette";
2410
+ } | {
2411
+ name: "settings";
2617
2412
  } | {
2618
2413
  name: "elementLinkSelector";
2619
2414
  sourceElementId: string;
@@ -2733,6 +2528,7 @@ export declare const actionToggleLassoTool: {
2733
2528
  lockedMultiSelections: {
2734
2529
  [groupId: string]: true;
2735
2530
  };
2531
+ bindMode: import("@excalidraw/element/types").BindMode;
2736
2532
  };
2737
2533
  captureUpdate: "NEVER";
2738
2534
  };
@@ -2747,7 +2543,7 @@ export declare const actionToggleHandTool: {
2747
2543
  };
2748
2544
  icon: import("react/jsx-runtime").JSX.Element;
2749
2545
  viewMode: false;
2750
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
2546
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
2751
2547
  appState: {
2752
2548
  selectedElementIds: {};
2753
2549
  selectedGroupIds: {};
@@ -2771,7 +2567,7 @@ export declare const actionToggleHandTool: {
2771
2567
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2772
2568
  isBindingEnabled: boolean;
2773
2569
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2774
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2570
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2775
2571
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2776
2572
  frameRendering: {
2777
2573
  enabled: boolean;
@@ -2828,12 +2624,14 @@ export declare const actionToggleHandTool: {
2828
2624
  tab?: string | undefined;
2829
2625
  } | null;
2830
2626
  openDialog: {
2831
- name: "help" | "imageExport" | "jsonExport";
2627
+ name: "imageExport" | "help" | "jsonExport";
2832
2628
  } | {
2833
2629
  name: "ttd";
2834
2630
  tab: "mermaid" | "text-to-diagram";
2835
2631
  } | {
2836
2632
  name: "commandPalette";
2633
+ } | {
2634
+ name: "settings";
2837
2635
  } | {
2838
2636
  name: "elementLinkSelector";
2839
2637
  sourceElementId: string;
@@ -2953,6 +2751,7 @@ export declare const actionToggleHandTool: {
2953
2751
  lockedMultiSelections: {
2954
2752
  [groupId: string]: true;
2955
2753
  };
2754
+ bindMode: import("@excalidraw/element/types").BindMode;
2956
2755
  };
2957
2756
  captureUpdate: "IMMEDIATELY";
2958
2757
  };
@@ -2966,7 +2765,7 @@ export declare const actionToggleLaserPointer: {
2966
2765
  trackEvent: {
2967
2766
  category: "menu";
2968
2767
  };
2969
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties): {
2768
+ perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties): {
2970
2769
  appState: {
2971
2770
  selectedElementIds: {};
2972
2771
  selectedGroupIds: {};
@@ -2990,7 +2789,7 @@ export declare const actionToggleLaserPointer: {
2990
2789
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2991
2790
  isBindingEnabled: boolean;
2992
2791
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2993
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2792
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2994
2793
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2995
2794
  frameRendering: {
2996
2795
  enabled: boolean;
@@ -3047,12 +2846,14 @@ export declare const actionToggleLaserPointer: {
3047
2846
  tab?: string | undefined;
3048
2847
  } | null;
3049
2848
  openDialog: {
3050
- name: "help" | "imageExport" | "jsonExport";
2849
+ name: "imageExport" | "help" | "jsonExport";
3051
2850
  } | {
3052
2851
  name: "ttd";
3053
2852
  tab: "mermaid" | "text-to-diagram";
3054
2853
  } | {
3055
2854
  name: "commandPalette";
2855
+ } | {
2856
+ name: "settings";
3056
2857
  } | {
3057
2858
  name: "elementLinkSelector";
3058
2859
  sourceElementId: string;
@@ -3172,6 +2973,7 @@ export declare const actionToggleLaserPointer: {
3172
2973
  lockedMultiSelections: {
3173
2974
  [groupId: string]: true;
3174
2975
  };
2976
+ bindMode: import("@excalidraw/element/types").BindMode;
3175
2977
  };
3176
2978
  captureUpdate: "NEVER";
3177
2979
  };
@@ -3206,7 +3008,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3206
3008
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
3207
3009
  isBindingEnabled: boolean;
3208
3010
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
3209
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
3011
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
3210
3012
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
3211
3013
  frameRendering: {
3212
3014
  enabled: boolean;
@@ -3263,12 +3065,14 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3263
3065
  tab?: string | undefined;
3264
3066
  } | null;
3265
3067
  openDialog: {
3266
- name: "help" | "imageExport" | "jsonExport";
3068
+ name: "imageExport" | "help" | "jsonExport";
3267
3069
  } | {
3268
3070
  name: "ttd";
3269
3071
  tab: "mermaid" | "text-to-diagram";
3270
3072
  } | {
3271
3073
  name: "commandPalette";
3074
+ } | {
3075
+ name: "settings";
3272
3076
  } | {
3273
3077
  name: "elementLinkSelector";
3274
3078
  sourceElementId: string;
@@ -3394,6 +3198,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3394
3198
  lockedMultiSelections: {
3395
3199
  [groupId: string]: true;
3396
3200
  };
3201
+ bindMode: import("@excalidraw/element/types").BindMode;
3397
3202
  };
3398
3203
  commitToHistory: boolean;
3399
3204
  };