import { Component } from 'react'; import type { ReactElement, ElementRef } from 'react'; import { PositionRecord } from '../../customTypings/index.d'; type Props = { position: PositionRecord; onDrag?: (event: any) => void; onDragEnd?: (event: any) => void; component: ReactElement; }; declare class LinkHandle extends Component { d3Handle: any; handle: ElementRef<'g'> | null; constructor(props: Props); componentDidMount(): void; componentWillUnmount(): void; drag(event: any): void; dragEnd(event: any): void; render(): import("react/jsx-runtime").JSX.Element; } export default LinkHandle;