export declare enum Position {
    Left = "left",
    Top = "top",
    Right = "right",
    Bottom = "bottom"
}
export interface XYPosition {
    x: number;
    y: number;
}
export interface Node<T = any> {
    id: string;
    type: string;
    data: T;
    width?: number;
    height?: number;
    position: XYPosition;
}
export interface Edge<T = any> {
    id: string;
    data?: T;
    source: string;
    target: string;
    type: string;
}
export interface NodeProps<T = any> extends Node<T> {
    selected?: boolean;
}
export interface EdgeProps<T = any> extends Edge<T> {
    sourceX: number;
    sourceY: number;
    targetX: number;
    targetY: number;
}
export interface HandleProps {
    className?: string;
    style?: React.CSSProperties;
    position: Position;
    id: string;
    type: 'target' | 'source';
}
