@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
@@ -7,7 +7,7 @@ export declare const actionToggleCropEditor: {
7
7
  category: "menu";
8
8
  };
9
9
  keywords: string[];
10
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties): {
10
+ perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
11
11
  appState: {
12
12
  isCropping: false;
13
13
  croppingElementId: string;
@@ -29,7 +29,7 @@ export declare const actionToggleCropEditor: {
29
29
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
30
30
  isBindingEnabled: boolean;
31
31
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
32
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
33
33
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
34
34
  frameRendering: {
35
35
  enabled: boolean;
@@ -91,12 +91,14 @@ export declare const actionToggleCropEditor: {
91
91
  tab?: string | undefined;
92
92
  } | null;
93
93
  openDialog: {
94
- name: "help" | "imageExport" | "jsonExport";
94
+ name: "imageExport" | "help" | "jsonExport";
95
95
  } | {
96
96
  name: "ttd";
97
97
  tab: "mermaid" | "text-to-diagram";
98
98
  } | {
99
99
  name: "commandPalette";
100
+ } | {
101
+ name: "settings";
100
102
  } | {
101
103
  name: "elementLinkSelector";
102
104
  sourceElementId: string;
@@ -220,6 +222,7 @@ export declare const actionToggleCropEditor: {
220
222
  lockedMultiSelections: {
221
223
  [groupId: string]: true;
222
224
  };
225
+ bindMode: import("@excalidraw/element/types").BindMode;
223
226
  };
224
227
  captureUpdate: "IMMEDIATELY";
225
228
  };
@@ -8,7 +8,7 @@ export declare const actionDeleteSelected: {
8
8
  category: "element";
9
9
  action: string;
10
10
  };
11
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: AppClassProperties) => false | {
11
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: unknown, app: AppClassProperties) => false | {
12
12
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
13
13
  appState: {
14
14
  selectedLinearElement: null;
@@ -30,7 +30,7 @@ export declare const actionDeleteSelected: {
30
30
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
31
31
  isBindingEnabled: boolean;
32
32
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
33
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
33
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
34
34
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
35
35
  frameRendering: {
36
36
  enabled: boolean;
@@ -92,12 +92,14 @@ export declare const actionDeleteSelected: {
92
92
  tab?: string | undefined;
93
93
  } | null;
94
94
  openDialog: {
95
- name: "help" | "imageExport" | "jsonExport";
95
+ name: "imageExport" | "help" | "jsonExport";
96
96
  } | {
97
97
  name: "ttd";
98
98
  tab: "mermaid" | "text-to-diagram";
99
99
  } | {
100
100
  name: "commandPalette";
101
+ } | {
102
+ name: "settings";
101
103
  } | {
102
104
  name: "elementLinkSelector";
103
105
  sourceElementId: string;
@@ -222,6 +224,7 @@ export declare const actionDeleteSelected: {
222
224
  lockedMultiSelections: {
223
225
  [groupId: string]: true;
224
226
  };
227
+ bindMode: import("@excalidraw/element/types").BindMode;
225
228
  };
226
229
  captureUpdate: "IMMEDIATELY";
227
230
  } | {
@@ -229,27 +232,24 @@ export declare const actionDeleteSelected: {
229
232
  appState: {
230
233
  selectedLinearElement: {
231
234
  selectedPointsIndices: number[];
232
- startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
233
- endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
234
235
  elementId: string & {
235
236
  _brand: "excalidrawLinearElementId";
236
237
  };
237
- pointerDownState: Readonly<{
238
+ initialState: Readonly<{
238
239
  prevSelectedPointsIndices: readonly number[] | null;
239
240
  lastClickedPoint: number;
240
- lastClickedIsEndPoint: boolean;
241
- origin: Readonly<{
242
- x: number;
243
- y: number;
244
- }> | null;
241
+ origin: Readonly<import("@excalidraw/math").GlobalPoint> | null;
245
242
  segmentMidpoint: {
246
243
  value: import("@excalidraw/math").GlobalPoint | null;
247
244
  index: number | null;
248
245
  added: boolean;
249
246
  };
247
+ arrowStartIsInside: boolean;
248
+ altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
250
249
  }>;
251
250
  isDragging: boolean;
252
251
  lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
252
+ lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
253
253
  pointerOffset: Readonly<{
254
254
  x: number;
255
255
  y: number;
@@ -259,6 +259,7 @@ export declare const actionDeleteSelected: {
259
259
  elbowed: boolean;
260
260
  customLineAngle: number | null;
261
261
  isEditing: boolean;
262
+ pointerDownState: never;
262
263
  };
263
264
  contextMenu: {
264
265
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -278,7 +279,7 @@ export declare const actionDeleteSelected: {
278
279
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
279
280
  isBindingEnabled: boolean;
280
281
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
281
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
282
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
282
283
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
283
284
  frameRendering: {
284
285
  enabled: boolean;
@@ -340,12 +341,14 @@ export declare const actionDeleteSelected: {
340
341
  tab?: string | undefined;
341
342
  } | null;
342
343
  openDialog: {
343
- name: "help" | "imageExport" | "jsonExport";
344
+ name: "imageExport" | "help" | "jsonExport";
344
345
  } | {
345
346
  name: "ttd";
346
347
  tab: "mermaid" | "text-to-diagram";
347
348
  } | {
348
349
  name: "commandPalette";
350
+ } | {
351
+ name: "settings";
349
352
  } | {
350
353
  name: "elementLinkSelector";
351
354
  sourceElementId: string;
@@ -470,6 +473,7 @@ export declare const actionDeleteSelected: {
470
473
  lockedMultiSelections: {
471
474
  [groupId: string]: true;
472
475
  };
476
+ bindMode: import("@excalidraw/element/types").BindMode;
473
477
  };
474
478
  captureUpdate: "IMMEDIATELY";
475
479
  } | {
@@ -481,6 +485,7 @@ export declare const actionDeleteSelected: {
481
485
  fromSelection: boolean;
482
486
  } & import("../types").ActiveTool;
483
487
  multiElement: null;
488
+ newElement: null;
484
489
  activeEmbeddable: null;
485
490
  selectedLinearElement: null;
486
491
  editingGroupId: string | null;
@@ -498,12 +503,11 @@ export declare const actionDeleteSelected: {
498
503
  showWelcomeScreen: boolean;
499
504
  isLoading: boolean;
500
505
  errorMessage: import("react").ReactNode;
501
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
502
506
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
503
507
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
504
508
  isBindingEnabled: boolean;
505
509
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
506
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
510
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
507
511
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
508
512
  frameRendering: {
509
513
  enabled: boolean;
@@ -560,12 +564,14 @@ export declare const actionDeleteSelected: {
560
564
  tab?: string | undefined;
561
565
  } | null;
562
566
  openDialog: {
563
- name: "help" | "imageExport" | "jsonExport";
567
+ name: "imageExport" | "help" | "jsonExport";
564
568
  } | {
565
569
  name: "ttd";
566
570
  tab: "mermaid" | "text-to-diagram";
567
571
  } | {
568
572
  name: "commandPalette";
573
+ } | {
574
+ name: "settings";
569
575
  } | {
570
576
  name: "elementLinkSelector";
571
577
  sourceElementId: string;
@@ -683,6 +689,7 @@ export declare const actionDeleteSelected: {
683
689
  lockedMultiSelections: {
684
690
  [groupId: string]: true;
685
691
  };
692
+ bindMode: import("@excalidraw/element/types").BindMode;
686
693
  };
687
694
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
688
695
  };
@@ -6,7 +6,7 @@ export declare const distributeHorizontally: {
6
6
  trackEvent: {
7
7
  category: "element";
8
8
  };
9
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
9
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
10
10
  appState: Readonly<AppState>;
11
11
  elements: ExcalidrawElement[];
12
12
  captureUpdate: "IMMEDIATELY";
@@ -22,7 +22,7 @@ export declare const distributeVertically: {
22
22
  trackEvent: {
23
23
  category: "element";
24
24
  };
25
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
25
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
26
26
  appState: Readonly<AppState>;
27
27
  elements: ExcalidrawElement[];
28
28
  captureUpdate: "IMMEDIATELY";
@@ -5,7 +5,7 @@ export declare const actionDuplicateSelection: {
5
5
  trackEvent: {
6
6
  category: "element";
7
7
  };
8
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: any, app: import("../types").AppClassProperties) => false | {
8
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => false | {
9
9
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
10
10
  appState: import("../types").AppState;
11
11
  captureUpdate: "IMMEDIATELY";
@@ -5,7 +5,7 @@ export declare const actionCopyElementLink: {
5
5
  trackEvent: {
6
6
  category: "element";
7
7
  };
8
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<{
8
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
9
9
  appState: {
10
10
  toast: {
11
11
  message: string;
@@ -29,7 +29,7 @@ export declare const actionLinkToElement: {
29
29
  name: "linkToElement";
30
30
  label: string;
31
31
  icon: import("react/jsx-runtime").JSX.Element;
32
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
32
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
33
33
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
34
34
  appState: Readonly<import("../types").AppState>;
35
35
  app: import("../types").AppClassProperties;
@@ -58,7 +58,7 @@ export declare const actionLinkToElement: {
58
58
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
59
59
  isBindingEnabled: boolean;
60
60
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
61
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
61
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
62
62
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
63
63
  frameRendering: {
64
64
  enabled: boolean;
@@ -240,6 +240,7 @@ export declare const actionLinkToElement: {
240
240
  lockedMultiSelections: {
241
241
  [groupId: string]: true;
242
242
  };
243
+ bindMode: import("@excalidraw/element/types").BindMode;
243
244
  };
244
245
  captureUpdate: "IMMEDIATELY";
245
246
  elements?: undefined;
@@ -8,7 +8,7 @@ export declare const actionToggleElementLock: {
8
8
  category: "element";
9
9
  };
10
10
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
11
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => false | {
11
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => false | {
12
12
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
13
13
  appState: {
14
14
  selectedElementIds: Readonly<{
@@ -40,7 +40,7 @@ export declare const actionToggleElementLock: {
40
40
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
41
41
  isBindingEnabled: boolean;
42
42
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
43
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
43
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
44
44
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
45
45
  frameRendering: {
46
46
  enabled: boolean;
@@ -102,12 +102,14 @@ export declare const actionToggleElementLock: {
102
102
  tab?: string | undefined;
103
103
  } | null;
104
104
  openDialog: {
105
- name: "help" | "imageExport" | "jsonExport";
105
+ name: "imageExport" | "help" | "jsonExport";
106
106
  } | {
107
107
  name: "ttd";
108
108
  tab: "mermaid" | "text-to-diagram";
109
109
  } | {
110
110
  name: "commandPalette";
111
+ } | {
112
+ name: "settings";
111
113
  } | {
112
114
  name: "elementLinkSelector";
113
115
  sourceElementId: string;
@@ -222,6 +224,7 @@ export declare const actionToggleElementLock: {
222
224
  focusedId: string | null;
223
225
  matches: readonly import("../types").SearchMatch[];
224
226
  }> | null;
227
+ bindMode: import("@excalidraw/element/types").BindMode;
225
228
  };
226
229
  captureUpdate: "IMMEDIATELY";
227
230
  };
@@ -266,7 +269,7 @@ export declare const actionUnlockAllElements: {
266
269
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
267
270
  isBindingEnabled: boolean;
268
271
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
269
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
272
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
270
273
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
271
274
  frameRendering: {
272
275
  enabled: boolean;
@@ -328,12 +331,14 @@ export declare const actionUnlockAllElements: {
328
331
  tab?: string | undefined;
329
332
  } | null;
330
333
  openDialog: {
331
- name: "help" | "imageExport" | "jsonExport";
334
+ name: "imageExport" | "help" | "jsonExport";
332
335
  } | {
333
336
  name: "ttd";
334
337
  tab: "mermaid" | "text-to-diagram";
335
338
  } | {
336
339
  name: "commandPalette";
340
+ } | {
341
+ name: "settings";
337
342
  } | {
338
343
  name: "elementLinkSelector";
339
344
  sourceElementId: string;
@@ -449,6 +454,7 @@ export declare const actionUnlockAllElements: {
449
454
  focusedId: string | null;
450
455
  matches: readonly import("../types").SearchMatch[];
451
456
  }> | null;
457
+ bindMode: import("@excalidraw/element/types").BindMode;
452
458
  };
453
459
  captureUpdate: "IMMEDIATELY";
454
460
  };
@@ -5,7 +5,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
5
5
  };
6
6
  target: string;
7
7
  label: string;
8
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
8
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
9
9
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
10
10
  appState: {
11
11
  activeTool: {
@@ -31,7 +31,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
31
31
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
32
32
  isBindingEnabled: boolean;
33
33
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
34
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
34
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
35
35
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
36
36
  frameRendering: {
37
37
  enabled: boolean;
@@ -88,12 +88,14 @@ export declare const actionSetEmbeddableAsActiveTool: {
88
88
  tab?: string | undefined;
89
89
  } | null;
90
90
  openDialog: {
91
- name: "help" | "imageExport" | "jsonExport";
91
+ name: "imageExport" | "help" | "jsonExport";
92
92
  } | {
93
93
  name: "ttd";
94
94
  tab: "mermaid" | "text-to-diagram";
95
95
  } | {
96
96
  name: "commandPalette";
97
+ } | {
98
+ name: "settings";
97
99
  } | {
98
100
  name: "elementLinkSelector";
99
101
  sourceElementId: string;
@@ -219,6 +221,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
219
221
  lockedMultiSelections: {
220
222
  [groupId: string]: true;
221
223
  };
224
+ bindMode: import("@excalidraw/element/types").BindMode;
222
225
  };
223
226
  captureUpdate: "EVENTUALLY";
224
227
  };