@excalidraw/common 0.18.0-c141960 → 0.18.0-c158187
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.
- package/dist/dev/index.js +1070 -10
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +3 -3
- package/dist/types/common/src/bounds.d.ts +10 -0
- package/dist/types/common/src/colors.d.ts +5 -2
- package/dist/types/common/src/constants.d.ts +14 -12
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/keys.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +0 -1
- package/dist/types/common/src/utils.d.ts +44 -34
- package/dist/types/common/src/visualdebug.d.ts +1 -1
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/binding.d.ts +6 -4
- package/dist/types/element/src/bounds.d.ts +2 -10
- package/dist/types/element/src/collision.d.ts +2 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- package/dist/types/element/src/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +7 -3
- package/dist/types/element/src/heading.d.ts +2 -1
- package/dist/types/element/src/image.d.ts +1 -11
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +1 -2
- package/dist/types/element/src/mutateElement.d.ts +3 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +0 -6
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +3 -7
- package/dist/types/element/src/shape.d.ts +8 -7
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +3 -23
- package/dist/types/element/src/typeChecks.d.ts +2 -4
- package/dist/types/element/src/utils.d.ts +3 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +114 -178
- package/dist/types/excalidraw/actions/actionAlign.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +44 -87
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +263 -510
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +85 -128
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +21 -43
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +74 -142
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +41 -63
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -88
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +41 -63
- package/dist/types/excalidraw/actions/actionExport.d.ts +85 -170
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionFlip.d.ts +0 -1
- package/dist/types/excalidraw/actions/actionFrame.d.ts +208 -329
- package/dist/types/excalidraw/actions/actionGroup.d.ts +48 -99
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +149 -207
- package/dist/types/excalidraw/actions/actionLink.d.ts +43 -65
- package/dist/types/excalidraw/actions/actionMenu.d.ts +35 -57
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionProperties.d.ts +59 -102
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +24 -50
- package/dist/types/excalidraw/actions/actionStyles.d.ts +20 -42
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +41 -63
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +41 -63
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +35 -57
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +40 -62
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +41 -63
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +41 -63
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -9
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/register.d.ts +2 -2
- package/dist/types/excalidraw/appState.d.ts +12 -12
- package/dist/types/excalidraw/clipboard.d.ts +7 -31
- package/dist/types/excalidraw/components/Actions.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +32 -40
- package/dist/types/excalidraw/components/Card.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +7 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +0 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +2 -2
- package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -1
- package/dist/types/excalidraw/components/Modal.d.ts +0 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
- package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
- package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
- package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +0 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +2 -3
- package/dist/types/excalidraw/components/Toast.d.ts +3 -3
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +28 -32
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +5 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +11 -11
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +2 -13
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +26 -28
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
- package/dist/types/excalidraw/data/blob.d.ts +321 -3
- package/dist/types/excalidraw/data/encode.d.ts +4 -4
- package/dist/types/excalidraw/data/encryption.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +159 -2
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -2
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/index.d.ts +2 -4
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -4
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -6
- package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
- package/dist/types/excalidraw/scene/types.d.ts +7 -2
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
- package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
- package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
- package/dist/types/excalidraw/types.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/range.d.ts +1 -3
- package/dist/types/math/src/segment.d.ts +3 -3
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +7 -1
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { Theme } from "@excalidraw/element/types";
|
|
3
2
|
import "../components/ToolIcon.scss";
|
|
4
3
|
import type { AppState } from "../types";
|
|
5
4
|
export declare const actionChangeProjectName: import("./types").Action<string | null> & {
|
|
6
|
-
keyTest?: ((event: KeyboardEvent |
|
|
5
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
7
6
|
};
|
|
8
7
|
export declare const actionChangeExportScale: import("./types").Action<number> & {
|
|
9
|
-
keyTest?: ((event: KeyboardEvent |
|
|
8
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
10
9
|
};
|
|
11
10
|
export declare const actionChangeExportBackground: import("./types").Action<boolean> & {
|
|
12
|
-
keyTest?: ((event: KeyboardEvent |
|
|
11
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
13
12
|
};
|
|
14
13
|
export declare const actionChangeExportEmbedScene: import("./types").Action<boolean> & {
|
|
15
|
-
keyTest?: ((event: KeyboardEvent |
|
|
14
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
16
15
|
};
|
|
17
16
|
export declare const actionSaveToActiveFile: {
|
|
18
17
|
name: "saveToActiveFile";
|
|
@@ -36,10 +35,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
36
35
|
} | null;
|
|
37
36
|
showWelcomeScreen: boolean;
|
|
38
37
|
isLoading: boolean;
|
|
39
|
-
errorMessage:
|
|
38
|
+
errorMessage: React.ReactNode;
|
|
40
39
|
activeEmbeddable: {
|
|
41
40
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
42
|
-
state: "
|
|
41
|
+
state: "hover" | "active";
|
|
43
42
|
} | null;
|
|
44
43
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
45
44
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -75,19 +74,19 @@ export declare const actionSaveToActiveFile: {
|
|
|
75
74
|
exportScale: number;
|
|
76
75
|
currentItemStrokeColor: string;
|
|
77
76
|
currentItemBackgroundColor: string;
|
|
78
|
-
currentItemFillStyle: import("@excalidraw/element/types").
|
|
77
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
79
78
|
currentItemStrokeWidth: number;
|
|
80
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").
|
|
79
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
81
80
|
currentItemRoughness: number;
|
|
82
81
|
currentItemOpacity: number;
|
|
83
|
-
currentItemFontFamily:
|
|
82
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
84
83
|
currentItemFontSize: number;
|
|
85
|
-
currentItemTextAlign:
|
|
84
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
86
85
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
87
86
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
88
|
-
currentHoveredFontFamily:
|
|
87
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
89
88
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
90
|
-
currentItemArrowType: "
|
|
89
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
91
90
|
viewBackgroundColor: string;
|
|
92
91
|
scrollX: number;
|
|
93
92
|
scrollY: number;
|
|
@@ -96,28 +95,26 @@ export declare const actionSaveToActiveFile: {
|
|
|
96
95
|
name: string | null;
|
|
97
96
|
isResizing: boolean;
|
|
98
97
|
isRotating: boolean;
|
|
99
|
-
zoom:
|
|
100
|
-
value: import("../types").NormalizedZoomValue;
|
|
101
|
-
}>;
|
|
98
|
+
zoom: import("../types").Zoom;
|
|
102
99
|
openMenu: "canvas" | null;
|
|
103
|
-
openPopup: "
|
|
100
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
104
101
|
openSidebar: {
|
|
105
|
-
name:
|
|
106
|
-
tab?:
|
|
102
|
+
name: import("../types").SidebarName;
|
|
103
|
+
tab?: import("../types").SidebarTabName;
|
|
107
104
|
} | null;
|
|
108
|
-
openDialog: {
|
|
105
|
+
openDialog: null | {
|
|
109
106
|
name: "imageExport" | "help" | "jsonExport";
|
|
110
107
|
} | {
|
|
111
108
|
name: "ttd";
|
|
112
|
-
tab: "
|
|
109
|
+
tab: "text-to-diagram" | "mermaid";
|
|
113
110
|
} | {
|
|
114
111
|
name: "commandPalette";
|
|
115
112
|
} | {
|
|
116
113
|
name: "settings";
|
|
117
114
|
} | {
|
|
118
115
|
name: "elementLinkSelector";
|
|
119
|
-
sourceElementId:
|
|
120
|
-
}
|
|
116
|
+
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
117
|
+
};
|
|
121
118
|
defaultSidebarDockedPreference: boolean;
|
|
122
119
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
123
120
|
selectedElementIds: Readonly<{
|
|
@@ -140,31 +137,12 @@ export declare const actionSaveToActiveFile: {
|
|
|
140
137
|
selectedGroupIds: {
|
|
141
138
|
[groupId: string]: boolean;
|
|
142
139
|
};
|
|
143
|
-
editingGroupId:
|
|
140
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
144
141
|
width: number;
|
|
145
142
|
height: number;
|
|
146
143
|
offsetTop: number;
|
|
147
144
|
offsetLeft: number;
|
|
148
|
-
collaborators: Map<import("../types").SocketId,
|
|
149
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
150
|
-
button?: "up" | "down" | undefined;
|
|
151
|
-
selectedElementIds?: Readonly<{
|
|
152
|
-
[id: string]: true;
|
|
153
|
-
}> | undefined;
|
|
154
|
-
username?: string | null | undefined;
|
|
155
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
156
|
-
color?: {
|
|
157
|
-
background: string;
|
|
158
|
-
stroke: string;
|
|
159
|
-
} | undefined;
|
|
160
|
-
avatarUrl?: string | undefined;
|
|
161
|
-
id?: string | undefined;
|
|
162
|
-
socketId?: import("../types").SocketId | undefined;
|
|
163
|
-
isCurrentUser?: boolean | undefined;
|
|
164
|
-
isInCall?: boolean | undefined;
|
|
165
|
-
isSpeaking?: boolean | undefined;
|
|
166
|
-
isMuted?: boolean | undefined;
|
|
167
|
-
}>>;
|
|
145
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
168
146
|
stats: {
|
|
169
147
|
open: boolean;
|
|
170
148
|
panels: number;
|
|
@@ -188,9 +166,9 @@ export declare const actionSaveToActiveFile: {
|
|
|
188
166
|
userToFollow: import("../types").UserToFollow | null;
|
|
189
167
|
followedBy: Set<import("../types").SocketId>;
|
|
190
168
|
isCropping: boolean;
|
|
191
|
-
croppingElementId:
|
|
169
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
192
170
|
searchMatches: Readonly<{
|
|
193
|
-
focusedId:
|
|
171
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
194
172
|
matches: readonly import("../types").SearchMatch[];
|
|
195
173
|
}> | null;
|
|
196
174
|
activeLockedId: string | null;
|
|
@@ -230,10 +208,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
230
208
|
} | null;
|
|
231
209
|
showWelcomeScreen: boolean;
|
|
232
210
|
isLoading: boolean;
|
|
233
|
-
errorMessage:
|
|
211
|
+
errorMessage: React.ReactNode;
|
|
234
212
|
activeEmbeddable: {
|
|
235
213
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
236
|
-
state: "
|
|
214
|
+
state: "hover" | "active";
|
|
237
215
|
} | null;
|
|
238
216
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
239
217
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -269,19 +247,19 @@ export declare const actionSaveFileToDisk: {
|
|
|
269
247
|
exportScale: number;
|
|
270
248
|
currentItemStrokeColor: string;
|
|
271
249
|
currentItemBackgroundColor: string;
|
|
272
|
-
currentItemFillStyle: import("@excalidraw/element/types").
|
|
250
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
273
251
|
currentItemStrokeWidth: number;
|
|
274
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").
|
|
252
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
275
253
|
currentItemRoughness: number;
|
|
276
254
|
currentItemOpacity: number;
|
|
277
|
-
currentItemFontFamily:
|
|
255
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
278
256
|
currentItemFontSize: number;
|
|
279
|
-
currentItemTextAlign:
|
|
257
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
280
258
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
281
259
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
282
|
-
currentHoveredFontFamily:
|
|
260
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
283
261
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
284
|
-
currentItemArrowType: "
|
|
262
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
285
263
|
viewBackgroundColor: string;
|
|
286
264
|
scrollX: number;
|
|
287
265
|
scrollY: number;
|
|
@@ -290,14 +268,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
290
268
|
name: string | null;
|
|
291
269
|
isResizing: boolean;
|
|
292
270
|
isRotating: boolean;
|
|
293
|
-
zoom:
|
|
294
|
-
value: import("../types").NormalizedZoomValue;
|
|
295
|
-
}>;
|
|
271
|
+
zoom: import("../types").Zoom;
|
|
296
272
|
openMenu: "canvas" | null;
|
|
297
|
-
openPopup: "
|
|
273
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
298
274
|
openSidebar: {
|
|
299
|
-
name:
|
|
300
|
-
tab?:
|
|
275
|
+
name: import("../types").SidebarName;
|
|
276
|
+
tab?: import("../types").SidebarTabName;
|
|
301
277
|
} | null;
|
|
302
278
|
defaultSidebarDockedPreference: boolean;
|
|
303
279
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -321,31 +297,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
321
297
|
selectedGroupIds: {
|
|
322
298
|
[groupId: string]: boolean;
|
|
323
299
|
};
|
|
324
|
-
editingGroupId:
|
|
300
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
325
301
|
width: number;
|
|
326
302
|
height: number;
|
|
327
303
|
offsetTop: number;
|
|
328
304
|
offsetLeft: number;
|
|
329
|
-
collaborators: Map<import("../types").SocketId,
|
|
330
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
331
|
-
button?: "up" | "down" | undefined;
|
|
332
|
-
selectedElementIds?: Readonly<{
|
|
333
|
-
[id: string]: true;
|
|
334
|
-
}> | undefined;
|
|
335
|
-
username?: string | null | undefined;
|
|
336
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
337
|
-
color?: {
|
|
338
|
-
background: string;
|
|
339
|
-
stroke: string;
|
|
340
|
-
} | undefined;
|
|
341
|
-
avatarUrl?: string | undefined;
|
|
342
|
-
id?: string | undefined;
|
|
343
|
-
socketId?: import("../types").SocketId | undefined;
|
|
344
|
-
isCurrentUser?: boolean | undefined;
|
|
345
|
-
isInCall?: boolean | undefined;
|
|
346
|
-
isSpeaking?: boolean | undefined;
|
|
347
|
-
isMuted?: boolean | undefined;
|
|
348
|
-
}>>;
|
|
305
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
349
306
|
stats: {
|
|
350
307
|
open: boolean;
|
|
351
308
|
panels: number;
|
|
@@ -369,9 +326,9 @@ export declare const actionSaveFileToDisk: {
|
|
|
369
326
|
userToFollow: import("../types").UserToFollow | null;
|
|
370
327
|
followedBy: Set<import("../types").SocketId>;
|
|
371
328
|
isCropping: boolean;
|
|
372
|
-
croppingElementId:
|
|
329
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
373
330
|
searchMatches: Readonly<{
|
|
374
|
-
focusedId:
|
|
331
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
375
332
|
matches: readonly import("../types").SearchMatch[];
|
|
376
333
|
}> | null;
|
|
377
334
|
activeLockedId: string | null;
|
|
@@ -400,6 +357,7 @@ export declare const actionLoadScene: {
|
|
|
400
357
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
401
358
|
appState: {
|
|
402
359
|
viewBackgroundColor: string;
|
|
360
|
+
theme: Theme;
|
|
403
361
|
frameRendering: {
|
|
404
362
|
enabled: boolean;
|
|
405
363
|
name: boolean;
|
|
@@ -407,34 +365,31 @@ export declare const actionLoadScene: {
|
|
|
407
365
|
clip: boolean;
|
|
408
366
|
};
|
|
409
367
|
name: string | null;
|
|
410
|
-
zoom:
|
|
411
|
-
value: import("../types").NormalizedZoomValue;
|
|
412
|
-
}>;
|
|
368
|
+
zoom: import("../types").Zoom;
|
|
413
369
|
scrollX: number;
|
|
414
370
|
scrollY: number;
|
|
415
371
|
viewModeEnabled: boolean;
|
|
416
|
-
openDialog: {
|
|
372
|
+
openDialog: null | {
|
|
417
373
|
name: "imageExport" | "help" | "jsonExport";
|
|
418
374
|
} | {
|
|
419
375
|
name: "ttd";
|
|
420
|
-
tab: "
|
|
376
|
+
tab: "text-to-diagram" | "mermaid";
|
|
421
377
|
} | {
|
|
422
378
|
name: "commandPalette";
|
|
423
379
|
} | {
|
|
424
380
|
name: "settings";
|
|
425
381
|
} | {
|
|
426
382
|
name: "elementLinkSelector";
|
|
427
|
-
sourceElementId:
|
|
428
|
-
}
|
|
429
|
-
editingGroupId:
|
|
383
|
+
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
384
|
+
};
|
|
385
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
430
386
|
selectedElementIds: Readonly<{
|
|
431
387
|
[id: string]: true;
|
|
432
388
|
}>;
|
|
433
389
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
434
|
-
theme: Theme;
|
|
435
390
|
activeEmbeddable: {
|
|
436
391
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
437
|
-
state: "
|
|
392
|
+
state: "hover" | "active";
|
|
438
393
|
} | null;
|
|
439
394
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
440
395
|
selectedGroupIds: {
|
|
@@ -447,33 +402,14 @@ export declare const actionLoadScene: {
|
|
|
447
402
|
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
448
403
|
isRotating: boolean;
|
|
449
404
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
450
|
-
collaborators: Map<import("../types").SocketId,
|
|
451
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
452
|
-
button?: "up" | "down" | undefined;
|
|
453
|
-
selectedElementIds?: Readonly<{
|
|
454
|
-
[id: string]: true;
|
|
455
|
-
}> | undefined;
|
|
456
|
-
username?: string | null | undefined;
|
|
457
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
458
|
-
color?: {
|
|
459
|
-
background: string;
|
|
460
|
-
stroke: string;
|
|
461
|
-
} | undefined;
|
|
462
|
-
avatarUrl?: string | undefined;
|
|
463
|
-
id?: string | undefined;
|
|
464
|
-
socketId?: import("../types").SocketId | undefined;
|
|
465
|
-
isCurrentUser?: boolean | undefined;
|
|
466
|
-
isInCall?: boolean | undefined;
|
|
467
|
-
isSpeaking?: boolean | undefined;
|
|
468
|
-
isMuted?: boolean | undefined;
|
|
469
|
-
}>>;
|
|
405
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
470
406
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
471
407
|
zenModeEnabled: boolean;
|
|
472
408
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
473
409
|
isCropping: boolean;
|
|
474
|
-
croppingElementId:
|
|
410
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
475
411
|
searchMatches: Readonly<{
|
|
476
|
-
focusedId:
|
|
412
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
477
413
|
matches: readonly import("../types").SearchMatch[];
|
|
478
414
|
}> | null;
|
|
479
415
|
activeLockedId: string | null;
|
|
@@ -491,7 +427,7 @@ export declare const actionLoadScene: {
|
|
|
491
427
|
} | null;
|
|
492
428
|
showWelcomeScreen: boolean;
|
|
493
429
|
isLoading: boolean;
|
|
494
|
-
errorMessage:
|
|
430
|
+
errorMessage: React.ReactNode;
|
|
495
431
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
496
432
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
497
433
|
editingFrame: string | null;
|
|
@@ -511,27 +447,27 @@ export declare const actionLoadScene: {
|
|
|
511
447
|
exportWithDarkMode: boolean;
|
|
512
448
|
currentItemStrokeColor: string;
|
|
513
449
|
currentItemBackgroundColor: string;
|
|
514
|
-
currentItemFillStyle: import("@excalidraw/element/types").
|
|
450
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
515
451
|
currentItemStrokeWidth: number;
|
|
516
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").
|
|
452
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
517
453
|
currentItemRoughness: number;
|
|
518
454
|
currentItemOpacity: number;
|
|
519
|
-
currentItemFontFamily:
|
|
455
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
520
456
|
currentItemFontSize: number;
|
|
521
|
-
currentItemTextAlign:
|
|
457
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
522
458
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
523
459
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
524
|
-
currentHoveredFontFamily:
|
|
460
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
525
461
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
526
|
-
currentItemArrowType: "
|
|
462
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
527
463
|
cursorButton: "up" | "down";
|
|
528
464
|
scrolledOutside: boolean;
|
|
529
465
|
isResizing: boolean;
|
|
530
466
|
openMenu: "canvas" | null;
|
|
531
|
-
openPopup: "
|
|
467
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
532
468
|
openSidebar: {
|
|
533
|
-
name:
|
|
534
|
-
tab?:
|
|
469
|
+
name: import("../types").SidebarName;
|
|
470
|
+
tab?: import("../types").SidebarTabName;
|
|
535
471
|
} | null;
|
|
536
472
|
defaultSidebarDockedPreference: boolean;
|
|
537
473
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -541,8 +477,8 @@ export declare const actionLoadScene: {
|
|
|
541
477
|
selectedElementsAreBeingDragged: boolean;
|
|
542
478
|
toast: {
|
|
543
479
|
message: string;
|
|
544
|
-
closable?: boolean
|
|
545
|
-
duration?: number
|
|
480
|
+
closable?: boolean;
|
|
481
|
+
duration?: number;
|
|
546
482
|
} | null;
|
|
547
483
|
gridStep: number;
|
|
548
484
|
gridModeEnabled: boolean;
|
|
@@ -586,7 +522,7 @@ export declare const actionLoadScene: {
|
|
|
586
522
|
isLoading: boolean;
|
|
587
523
|
activeEmbeddable: {
|
|
588
524
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
589
|
-
state: "
|
|
525
|
+
state: "hover" | "active";
|
|
590
526
|
} | null;
|
|
591
527
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
592
528
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -622,19 +558,19 @@ export declare const actionLoadScene: {
|
|
|
622
558
|
exportScale: number;
|
|
623
559
|
currentItemStrokeColor: string;
|
|
624
560
|
currentItemBackgroundColor: string;
|
|
625
|
-
currentItemFillStyle: import("@excalidraw/element/types").
|
|
561
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
626
562
|
currentItemStrokeWidth: number;
|
|
627
|
-
currentItemStrokeStyle: import("@excalidraw/element/types").
|
|
563
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
628
564
|
currentItemRoughness: number;
|
|
629
565
|
currentItemOpacity: number;
|
|
630
|
-
currentItemFontFamily:
|
|
566
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
631
567
|
currentItemFontSize: number;
|
|
632
|
-
currentItemTextAlign:
|
|
568
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
633
569
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
634
570
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
635
|
-
currentHoveredFontFamily:
|
|
571
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
636
572
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
637
|
-
currentItemArrowType: "
|
|
573
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
638
574
|
viewBackgroundColor: string;
|
|
639
575
|
scrollX: number;
|
|
640
576
|
scrollY: number;
|
|
@@ -643,28 +579,26 @@ export declare const actionLoadScene: {
|
|
|
643
579
|
name: string | null;
|
|
644
580
|
isResizing: boolean;
|
|
645
581
|
isRotating: boolean;
|
|
646
|
-
zoom:
|
|
647
|
-
value: import("../types").NormalizedZoomValue;
|
|
648
|
-
}>;
|
|
582
|
+
zoom: import("../types").Zoom;
|
|
649
583
|
openMenu: "canvas" | null;
|
|
650
|
-
openPopup: "
|
|
584
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
651
585
|
openSidebar: {
|
|
652
|
-
name:
|
|
653
|
-
tab?:
|
|
586
|
+
name: import("../types").SidebarName;
|
|
587
|
+
tab?: import("../types").SidebarTabName;
|
|
654
588
|
} | null;
|
|
655
|
-
openDialog: {
|
|
589
|
+
openDialog: null | {
|
|
656
590
|
name: "imageExport" | "help" | "jsonExport";
|
|
657
591
|
} | {
|
|
658
592
|
name: "ttd";
|
|
659
|
-
tab: "
|
|
593
|
+
tab: "text-to-diagram" | "mermaid";
|
|
660
594
|
} | {
|
|
661
595
|
name: "commandPalette";
|
|
662
596
|
} | {
|
|
663
597
|
name: "settings";
|
|
664
598
|
} | {
|
|
665
599
|
name: "elementLinkSelector";
|
|
666
|
-
sourceElementId:
|
|
667
|
-
}
|
|
600
|
+
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
601
|
+
};
|
|
668
602
|
defaultSidebarDockedPreference: boolean;
|
|
669
603
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
670
604
|
selectedElementIds: Readonly<{
|
|
@@ -680,8 +614,8 @@ export declare const actionLoadScene: {
|
|
|
680
614
|
shouldCacheIgnoreZoom: boolean;
|
|
681
615
|
toast: {
|
|
682
616
|
message: string;
|
|
683
|
-
closable?: boolean
|
|
684
|
-
duration?: number
|
|
617
|
+
closable?: boolean;
|
|
618
|
+
duration?: number;
|
|
685
619
|
} | null;
|
|
686
620
|
zenModeEnabled: boolean;
|
|
687
621
|
theme: Theme;
|
|
@@ -692,32 +626,13 @@ export declare const actionLoadScene: {
|
|
|
692
626
|
selectedGroupIds: {
|
|
693
627
|
[groupId: string]: boolean;
|
|
694
628
|
};
|
|
695
|
-
editingGroupId:
|
|
629
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
696
630
|
width: number;
|
|
697
631
|
height: number;
|
|
698
632
|
offsetTop: number;
|
|
699
633
|
offsetLeft: number;
|
|
700
634
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
701
|
-
collaborators: Map<import("../types").SocketId,
|
|
702
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
703
|
-
button?: "up" | "down" | undefined;
|
|
704
|
-
selectedElementIds?: Readonly<{
|
|
705
|
-
[id: string]: true;
|
|
706
|
-
}> | undefined;
|
|
707
|
-
username?: string | null | undefined;
|
|
708
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
709
|
-
color?: {
|
|
710
|
-
background: string;
|
|
711
|
-
stroke: string;
|
|
712
|
-
} | undefined;
|
|
713
|
-
avatarUrl?: string | undefined;
|
|
714
|
-
id?: string | undefined;
|
|
715
|
-
socketId?: import("../types").SocketId | undefined;
|
|
716
|
-
isCurrentUser?: boolean | undefined;
|
|
717
|
-
isInCall?: boolean | undefined;
|
|
718
|
-
isSpeaking?: boolean | undefined;
|
|
719
|
-
isMuted?: boolean | undefined;
|
|
720
|
-
}>>;
|
|
635
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
721
636
|
stats: {
|
|
722
637
|
open: boolean;
|
|
723
638
|
panels: number;
|
|
@@ -741,9 +656,9 @@ export declare const actionLoadScene: {
|
|
|
741
656
|
userToFollow: import("../types").UserToFollow | null;
|
|
742
657
|
followedBy: Set<import("../types").SocketId>;
|
|
743
658
|
isCropping: boolean;
|
|
744
|
-
croppingElementId:
|
|
659
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
745
660
|
searchMatches: Readonly<{
|
|
746
|
-
focusedId:
|
|
661
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
747
662
|
matches: readonly import("../types").SearchMatch[];
|
|
748
663
|
}> | null;
|
|
749
664
|
activeLockedId: string | null;
|
|
@@ -760,5 +675,5 @@ export declare const actionLoadScene: {
|
|
|
760
675
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
761
676
|
};
|
|
762
677
|
export declare const actionExportWithDarkMode: import("./types").Action<boolean> & {
|
|
763
|
-
keyTest?: ((event: KeyboardEvent |
|
|
678
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
764
679
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
2
|
import type { AppState } from "../types";
|
|
4
3
|
type FormData = {
|
|
@@ -9,6 +8,6 @@ type FormData = {
|
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
export declare const actionFinalize: import("./types").Action<FormData> & {
|
|
12
|
-
keyTest?: ((event: KeyboardEvent |
|
|
11
|
+
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
13
12
|
};
|
|
14
13
|
export {};
|