import { FC, HTMLAttributes } from 'react'; /** * Since PVSystemVisualizer stacks multiple images on top of one another (satellite, SVGS), * it is difficult to capture the drag action on the element that we want to actually move. * This component watches for drag events on a parent element and facilitates responding * to the x and y movement, but without any dragging animation of the parent * element. */ export declare const DragWatcher: FC; export interface DragWatcherProps extends HTMLAttributes { onDragSeen: (xChange: number, yChange: number) => void; dragEnabled?: boolean; className?: string; children?: React.ReactNode | React.ReactNode[]; }