import * as React from 'react';
import { Point } from '../layout';
import { Viewport } from "../Viewport";
interface IEdgeDrawerProps {
    svgRef: React.RefObject<SVGSVGElement>;
    viewport: Viewport;
    sourcePoint?: Point;
}
interface IEdgeDrawerState {
    targetPoint?: Point;
}
export declare class EdgeDrawer extends React.PureComponent<IEdgeDrawerProps, IEdgeDrawerState> {
    constructor(props: Readonly<IEdgeDrawerProps>);
    componentDidMount(): void;
    componentWillUnmount(): void;
    onMouseMove(e: MouseEvent): void;
    render(): JSX.Element | null;
}
export {};
