import * as react_jsx_runtime from 'react/jsx-runtime'; import { GraphicsObject } from './types.js'; import { Matrix } from 'transformation-matrix'; type GraphicsObjectClickEvent = { type: "point" | "line" | "infinite-line" | "rect" | "circle" | "text" | "arrow" | "polygon"; index: number; object: any; }; declare const InteractiveGraphics: ({ graphics, onObjectClicked, objectLimit, height, stepMetadata, alwaysShowToolbar, }: { graphics: GraphicsObject; onObjectClicked?: (event: GraphicsObjectClickEvent) => void; objectLimit?: number; height?: number; stepMetadata?: Array<{ title: string; }>; alwaysShowToolbar?: boolean; }) => react_jsx_runtime.JSX.Element; interface InteractiveGraphicsCanvasProps { graphics: GraphicsObject; showLabelsByDefault?: boolean; showGrid?: boolean; height?: number | string; width?: number | string; stepMetadata?: Array<{ title: string; }>; alwaysShowToolbar?: boolean; } declare function InteractiveGraphicsCanvas({ graphics, showLabelsByDefault, showGrid, height, width, stepMetadata, alwaysShowToolbar, }: InteractiveGraphicsCanvasProps): react_jsx_runtime.JSX.Element; interface CanvasGraphicsProps { graphics: GraphicsObject; width?: number; height?: number; withGrid?: boolean; initialTransform?: Matrix; disableLabels?: boolean; } declare const CanvasGraphics: ({ graphics, width, height, withGrid, disableLabels, initialTransform, }: CanvasGraphicsProps) => react_jsx_runtime.JSX.Element; export { CanvasGraphics, type GraphicsObjectClickEvent, InteractiveGraphics, InteractiveGraphicsCanvas };