import React from "react"; import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types"; import type { RenderableElementsMap, RenderInteractiveSceneCallback } from "../../scene/types"; import type { Device, InteractiveCanvasAppState } from "../../types"; import type { DOMAttributes } from "react"; type InteractiveCanvasProps = { containerRef: React.RefObject; canvas: HTMLCanvasElement | null; elementsMap: RenderableElementsMap; visibleElements: readonly NonDeletedExcalidrawElement[]; selectedElements: readonly NonDeletedExcalidrawElement[]; allElementsMap: NonDeletedSceneElementsMap; sceneNonce: number | undefined; selectionNonce: number | undefined; scale: number; appState: InteractiveCanvasAppState; renderScrollbars: boolean; device: Device; renderInteractiveSceneCallback: (data: RenderInteractiveSceneCallback) => void; handleCanvasRef: (canvas: HTMLCanvasElement | null) => void; onContextMenu: Exclude["onContextMenu"], undefined>; onPointerMove: Exclude["onPointerMove"], undefined>; onPointerUp: Exclude["onPointerUp"], undefined>; onPointerCancel: Exclude["onPointerCancel"], undefined>; onTouchMove: Exclude["onTouchMove"], undefined>; onPointerDown: Exclude["onPointerDown"], undefined>; onDoubleClick: Exclude["onDoubleClick"], undefined>; }; declare const _default: React.MemoExoticComponent<(props: InteractiveCanvasProps) => import("react/jsx-runtime").JSX.Element>; export default _default;