import React, { RefObject } from "react"; import type { HotspotType, Hotspot, Image } from "../types"; interface HotspotEditorProps { imageUrl: string; imageData: Image; hotspots: Hotspot[]; selectionMode: HotspotType; isDrawingRectangle: boolean; currentRectangle: { x: number; y: number; width: number; height: number; } | null; error?: string; imageRef: RefObject; onImageMouseDown: (event: React.MouseEvent) => void; onHotspotDrag: (id: string, newX: number, newY: number) => void; onRectangleResize: (id: string, newWidth: number, newHeight: number) => void; onSelectionModeChange: (mode: HotspotType) => void; } export declare const HotspotEditor: React.FC; export {};