/// import { ExcalidrawElement } from "../element/types"; import { AppState, NormalizedZoomValue } from "../types"; export declare const actionChangeViewBackgroundColor: { name: "changeViewBackgroundColor"; trackEvent: false; perform: (_: readonly ExcalidrawElement[], appState: Readonly, value: any) => { appState: any; commitToHistory: boolean; }; PanelComponent: ({ elements, appState, updateData }: import("react").PropsWithChildren) => JSX.Element; } & { keyTest?: undefined; }; export declare const actionClearCanvas: { name: "clearCanvas"; trackEvent: { category: "canvas"; }; perform: (elements: readonly ExcalidrawElement[], appState: Readonly, _: any, app: import("../types").AppClassProperties) => { elements: ExcalidrawElement[]; appState: { files: {}; theme: string; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; gridSize: number | null; showStats: boolean; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; scrollX: number; scrollY: number; viewBackgroundColor: string; zoom: Readonly<{ value: NormalizedZoomValue; }>; shouldCacheIgnoreZoom: boolean; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; currentChartType: import("../element/types").ChartType; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: true; }; PanelComponent: ({ updateData }: import("react").PropsWithChildren) => JSX.Element; } & { keyTest?: undefined; }; export declare const actionZoomIn: { name: "zoomIn"; trackEvent: { category: "canvas"; }; perform: (_elements: readonly ExcalidrawElement[], appState: Readonly, _: any, app: import("../types").AppClassProperties) => { appState: { scrollX: number; scrollY: number; zoom: { value: NormalizedZoomValue; }; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; theme: string; gridSize: number | null; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: false; }; PanelComponent: ({ updateData }: import("react").PropsWithChildren) => JSX.Element; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; }; export declare const actionZoomOut: { name: "zoomOut"; trackEvent: { category: "canvas"; }; perform: (_elements: readonly ExcalidrawElement[], appState: Readonly, _: any, app: import("../types").AppClassProperties) => { appState: { scrollX: number; scrollY: number; zoom: { value: NormalizedZoomValue; }; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; theme: string; gridSize: number | null; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: false; }; PanelComponent: ({ updateData }: import("react").PropsWithChildren) => JSX.Element; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; }; export declare const actionResetZoom: { name: "resetZoom"; trackEvent: { category: "canvas"; }; perform: (_elements: readonly ExcalidrawElement[], appState: Readonly, _: any, app: import("../types").AppClassProperties) => { appState: { scrollX: number; scrollY: number; zoom: { value: NormalizedZoomValue; }; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; theme: string; gridSize: number | null; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: false; }; PanelComponent: ({ updateData, appState }: import("react").PropsWithChildren) => JSX.Element; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; }; export declare const actionZoomToSelected: { name: "zoomToSelection"; trackEvent: { category: "canvas"; }; perform: (elements: readonly ExcalidrawElement[], appState: Readonly) => { appState: { zoom: { value: NormalizedZoomValue; }; scrollX: number; scrollY: number; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; theme: string; gridSize: number | null; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: boolean; }; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; }; export declare const actionZoomToFit: { name: "zoomToFit"; trackEvent: { category: "canvas"; }; perform: (elements: readonly ExcalidrawElement[], appState: Readonly) => { appState: { zoom: { value: NormalizedZoomValue; }; scrollX: number; scrollY: number; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; theme: string; gridSize: number | null; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: boolean; }; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; }; export declare const actionToggleTheme: { name: "toggleTheme"; trackEvent: { category: "canvas"; }; perform: (_: readonly ExcalidrawElement[], appState: Readonly, value: any) => { appState: { theme: any; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; scrollX: number; scrollY: number; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; zoom: Readonly<{ value: NormalizedZoomValue; }>; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; selectedElementIds: { [id: string]: boolean; }; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; gridSize: number | null; viewModeEnabled: boolean; selectedGroupIds: { [groupId: string]: boolean; }; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: false; }; PanelComponent: ({ appState, updateData }: import("react").PropsWithChildren) => JSX.Element; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; }; export declare const actionErase: { name: "eraser"; trackEvent: { category: "toolbar"; }; perform: (elements: readonly ExcalidrawElement[], appState: Readonly) => { appState: { selectedElementIds: {}; selectedGroupIds: {}; activeTool: { type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser"; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; customType: null; } | { type: "custom"; customType: string; lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser; locked: boolean; }; isLoading: boolean; errorMessage: string | null; draggingElement: import("../element/types").NonDeletedExcalidrawElement | null; resizingElement: import("../element/types").NonDeletedExcalidrawElement | null; multiElement: import("../element/types").NonDeleted | null; selectionElement: import("../element/types").NonDeletedExcalidrawElement | null; isBindingEnabled: boolean; startBoundElement: import("../element/types").NonDeleted | null; suggestedBindings: import("../element/binding").SuggestedBinding[]; editingElement: import("../element/types").NonDeletedExcalidrawElement | null; editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null; penMode: boolean; penDetected: boolean; exportBackground: boolean; exportEmbedScene: boolean; exportWithDarkMode: boolean; exportScale: number; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: import("../element/types").FillStyle; currentItemStrokeWidth: number; currentItemStrokeStyle: import("../element/types").StrokeStyle; currentItemRoughness: number; currentItemOpacity: number; currentItemFontFamily: number; currentItemFontSize: number; currentItemTextAlign: import("../element/types").TextAlign; currentItemStrokeSharpness: import("../element/types").StrokeSharpness; currentItemStartArrowhead: import("../element/types").Arrowhead | null; currentItemEndArrowhead: import("../element/types").Arrowhead | null; currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness; viewBackgroundColor: string; scrollX: number; scrollY: number; cursorButton: "up" | "down"; scrolledOutside: boolean; name: string; isResizing: boolean; isRotating: boolean; zoom: Readonly<{ value: NormalizedZoomValue; }>; openMenu: "canvas" | "shape" | null; openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null; lastPointerDownWith: import("../element/types").PointerType; previousSelectedElementIds: { [id: string]: boolean; }; shouldCacheIgnoreZoom: boolean; showHelpDialog: boolean; toastMessage: string | null; zenModeEnabled: boolean; theme: string; gridSize: number | null; viewModeEnabled: boolean; editingGroupId: string | null; width: number; height: number; offsetTop: number; offsetLeft: number; isLibraryOpen: boolean; isLibraryMenuDocked: boolean; fileHandle: import("browser-fs-access").FileSystemHandle | null; collaborators: Map; showStats: boolean; currentChartType: import("../element/types").ChartType; pasteDialog: { shown: false; data: null; } | { shown: true; data: import("../charts").Spreadsheet; }; pendingImageElementId: string | null; showHyperlinkPopup: false | "info" | "editor"; }; commitToHistory: true; }; keyTest: (event: KeyboardEvent | import("react").KeyboardEvent) => boolean; PanelComponent: ({ elements, appState, updateData, data }: import("react").PropsWithChildren) => JSX.Element; } & { keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent) => boolean) | undefined; };