/// export declare const actionAddToLibrary: { name: "addToLibrary"; trackEvent: { category: "element"; }; perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly, _: any, app: import("../types").AppClassProperties) => Promise<{ captureUpdate: "EVENTUALLY"; appState: { toast: { message: string; }; contextMenu: { items: import("../components/ContextMenu").ContextMenuItems; top: number; left: number; } | null; showWelcomeScreen: boolean; isLoading: boolean; errorMessage: import("react").ReactNode; activeEmbeddable: { element: import("../../element/src/types").NonDeletedExcalidrawElement; state: "hover" | "active"; } | null; newElement: import("../../element/src/types").NonDeleted | null; resizingElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; multiElement: import("../../element/src/types").NonDeleted | null; selectionElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../../element/src/types").NonDeleted | null; suggestedBindings: import("../../element/src/binding").SuggestedBinding[]; frameToHighlight: import("../../element/src/types").NonDeleted | null; frameRendering: { enabled: boolean; name: boolean; outline: boolean; clip: boolean; }; editingFrame: string | null; elementsToHighlight: import("../../element/src/types").NonDeleted[] | null; editingTextElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../../element/src/linearElementEditor").LinearElementEditor | null; activeTool: { lastActiveTool: import("../types").ActiveTool | null; locked: boolean; fromSelection: boolean; } & import("../types").ActiveTool; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../../element/src/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../../element/src/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: string; currentItemStartArrowhead: import("../../element/src/types").Arrowhead | null; currentItemEndArrowhead: import("../../element/src/types").Arrowhead | null; currentHoveredFontFamily: number | null; currentItemRoundness: import("../../element/src/types").StrokeRoundness; currentItemArrowType: "round" | "sharp" | "elbow"; viewBackgroundColor: string; scrollX: number; scrollY: number; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string | null; isResizing: boolean; isRotating: boolean; zoom: Readonly<{ value: import("../types").NormalizedZoomValue; }>; openMenu: "canvas" | "shape" | null; openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null; openSidebar: { name: string; tab?: string | undefined; } | null; openDialog: { name: "imageExport" | "help" | "jsonExport"; } | { name: "ttd"; tab: "text-to-diagram" | "mermaid"; } | { name: "commandPalette"; } | { name: "elementLinkSelector"; sourceElementId: string; } | null; defaultSidebarDockedPreference: boolean; lastPointerDownWith: import("../../element/src/types").PointerType; selectedElementIds: Readonly<{ [id: string]: true; }>; hoveredElementIds: Readonly<{ [id: string]: true; }>; previousSelectedElementIds: { [id: string]: true; }; selectedElementsAreBeingDragged: boolean; shouldCacheIgnoreZoom: boolean; zenModeEnabled: boolean; theme: import("../../element/src/types").Theme; gridSize: number; gridStep: number; gridModeEnabled: boolean; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map | undefined; username?: string | null | undefined; userState?: import("@excalidraw/common").UserIdleState | undefined; color?: { background: string; stroke: string; } | undefined; avatarUrl?: string | undefined; id?: string | undefined; socketId?: import("../types").SocketId | undefined; isCurrentUser?: boolean | undefined; isInCall?: boolean | undefined; isSpeaking?: boolean | undefined; isMuted?: boolean | undefined; }>>; stats: { open: boolean; panels: number; }; currentChartType: import("../../element/src/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "editor" | "info"; selectedLinearElement: import("../../element/src/linearElementEditor").LinearElementEditor | null; snapLines: readonly import("../snapping").SnapLine[]; originSnapOffset: { x: number; y: number; } | null; objectsSnapModeEnabled: boolean; userToFollow: import("../types").UserToFollow | null; followedBy: Set; isCropping: boolean; croppingElementId: string | null; searchMatches: readonly { id: string; focus: boolean; matchedLines: { offsetX: number; offsetY: number; width: number; height: number; }[]; }[]; }; } | { captureUpdate: "EVENTUALLY"; appState: { errorMessage: any; contextMenu: { items: import("../components/ContextMenu").ContextMenuItems; top: number; left: number; } | null; showWelcomeScreen: boolean; isLoading: boolean; activeEmbeddable: { element: import("../../element/src/types").NonDeletedExcalidrawElement; state: "hover" | "active"; } | null; newElement: import("../../element/src/types").NonDeleted | null; resizingElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; multiElement: import("../../element/src/types").NonDeleted | null; selectionElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../../element/src/types").NonDeleted | null; suggestedBindings: import("../../element/src/binding").SuggestedBinding[]; frameToHighlight: import("../../element/src/types").NonDeleted | null; frameRendering: { enabled: boolean; name: boolean; outline: boolean; clip: boolean; }; editingFrame: string | null; elementsToHighlight: import("../../element/src/types").NonDeleted[] | null; editingTextElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../../element/src/linearElementEditor").LinearElementEditor | null; activeTool: { lastActiveTool: import("../types").ActiveTool | null; locked: boolean; fromSelection: boolean; } & import("../types").ActiveTool; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../../element/src/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../../element/src/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: string; currentItemStartArrowhead: import("../../element/src/types").Arrowhead | null; currentItemEndArrowhead: import("../../element/src/types").Arrowhead | null; currentHoveredFontFamily: number | null; currentItemRoundness: import("../../element/src/types").StrokeRoundness; currentItemArrowType: "round" | "sharp" | "elbow"; viewBackgroundColor: string; scrollX: number; scrollY: number; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string | null; isResizing: boolean; isRotating: boolean; zoom: Readonly<{ value: import("../types").NormalizedZoomValue; }>; openMenu: "canvas" | "shape" | null; openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null; openSidebar: { name: string; tab?: string | undefined; } | null; openDialog: { name: "imageExport" | "help" | "jsonExport"; } | { name: "ttd"; tab: "text-to-diagram" | "mermaid"; } | { name: "commandPalette"; } | { name: "elementLinkSelector"; sourceElementId: string; } | null; defaultSidebarDockedPreference: boolean; lastPointerDownWith: import("../../element/src/types").PointerType; selectedElementIds: Readonly<{ [id: string]: true; }>; hoveredElementIds: Readonly<{ [id: string]: true; }>; previousSelectedElementIds: { [id: string]: true; }; selectedElementsAreBeingDragged: boolean; shouldCacheIgnoreZoom: boolean; toast: { message: string; closable?: boolean | undefined; duration?: number | undefined; } | null; zenModeEnabled: boolean; theme: import("../../element/src/types").Theme; gridSize: number; gridStep: number; gridModeEnabled: boolean; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map | undefined; username?: string | null | undefined; userState?: import("@excalidraw/common").UserIdleState | undefined; color?: { background: string; stroke: string; } | undefined; avatarUrl?: string | undefined; id?: string | undefined; socketId?: import("../types").SocketId | undefined; isCurrentUser?: boolean | undefined; isInCall?: boolean | undefined; isSpeaking?: boolean | undefined; isMuted?: boolean | undefined; }>>; stats: { open: boolean; panels: number; }; currentChartType: import("../../element/src/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "editor" | "info"; selectedLinearElement: import("../../element/src/linearElementEditor").LinearElementEditor | null; snapLines: readonly import("../snapping").SnapLine[]; originSnapOffset: { x: number; y: number; } | null; objectsSnapModeEnabled: boolean; userToFollow: import("../types").UserToFollow | null; followedBy: Set; isCropping: boolean; croppingElementId: string | null; searchMatches: readonly { id: string; focus: boolean; matchedLines: { offsetX: number; offsetY: number; width: number; height: number; }[]; }[]; }; }> | { captureUpdate: "EVENTUALLY"; appState: { errorMessage: string; contextMenu: { items: import("../components/ContextMenu").ContextMenuItems; top: number; left: number; } | null; showWelcomeScreen: boolean; isLoading: boolean; activeEmbeddable: { element: import("../../element/src/types").NonDeletedExcalidrawElement; state: "hover" | "active"; } | null; newElement: import("../../element/src/types").NonDeleted | null; resizingElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; multiElement: import("../../element/src/types").NonDeleted | null; selectionElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../../element/src/types").NonDeleted | null; suggestedBindings: import("../../element/src/binding").SuggestedBinding[]; frameToHighlight: import("../../element/src/types").NonDeleted | null; frameRendering: { enabled: boolean; name: boolean; outline: boolean; clip: boolean; }; editingFrame: string | null; elementsToHighlight: import("../../element/src/types").NonDeleted[] | null; editingTextElement: import("../../element/src/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../../element/src/linearElementEditor").LinearElementEditor | null; activeTool: { lastActiveTool: import("../types").ActiveTool | null; locked: boolean; fromSelection: boolean; } & import("../types").ActiveTool; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../../element/src/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../../element/src/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: string; currentItemStartArrowhead: import("../../element/src/types").Arrowhead | null; currentItemEndArrowhead: import("../../element/src/types").Arrowhead | null; currentHoveredFontFamily: number | null; currentItemRoundness: import("../../element/src/types").StrokeRoundness; currentItemArrowType: "round" | "sharp" | "elbow"; viewBackgroundColor: string; scrollX: number; scrollY: number; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string | null; isResizing: boolean; isRotating: boolean; zoom: Readonly<{ value: import("../types").NormalizedZoomValue; }>; openMenu: "canvas" | "shape" | null; openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null; openSidebar: { name: string; tab?: string | undefined; } | null; openDialog: { name: "imageExport" | "help" | "jsonExport"; } | { name: "ttd"; tab: "text-to-diagram" | "mermaid"; } | { name: "commandPalette"; } | { name: "elementLinkSelector"; sourceElementId: string; } | null; defaultSidebarDockedPreference: boolean; lastPointerDownWith: import("../../element/src/types").PointerType; selectedElementIds: Readonly<{ [id: string]: true; }>; hoveredElementIds: Readonly<{ [id: string]: true; }>; previousSelectedElementIds: { [id: string]: true; }; selectedElementsAreBeingDragged: boolean; shouldCacheIgnoreZoom: boolean; toast: { message: string; closable?: boolean | undefined; duration?: number | undefined; } | null; zenModeEnabled: boolean; theme: import("../../element/src/types").Theme; gridSize: number; gridStep: number; gridModeEnabled: boolean; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map | undefined; username?: string | null | undefined; userState?: import("@excalidraw/common").UserIdleState | undefined; color?: { background: string; stroke: string; } | undefined; avatarUrl?: string | undefined; id?: string | undefined; socketId?: import("../types").SocketId | undefined; isCurrentUser?: boolean | undefined; isInCall?: boolean | undefined; isSpeaking?: boolean | undefined; isMuted?: boolean | undefined; }>>; stats: { open: boolean; panels: number; }; currentChartType: import("../../element/src/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "editor" | "info"; selectedLinearElement: import("../../element/src/linearElementEditor").LinearElementEditor | null; snapLines: readonly import("../snapping").SnapLine[]; originSnapOffset: { x: number; y: number; } | null; objectsSnapModeEnabled: boolean; userToFollow: import("../types").UserToFollow | null; followedBy: Set; isCropping: boolean; croppingElementId: string | null; searchMatches: readonly { id: string; focus: boolean; matchedLines: { offsetX: number; offsetY: number; width: number; height: number; }[]; }[]; }; }; label: string; } & { keyTest?: undefined; };