import React from 'react'; import { BezierEdge } from 'reactflow'; import type { GetSmartEdgeOptions } from '../getSmartEdge'; import type { EdgeProps, Node } from 'reactflow'; export type EdgeElement = typeof BezierEdge; export type SmartEdgeOptions = GetSmartEdgeOptions & { fallback?: EdgeElement; }; export interface SmartEdgeProps extends EdgeProps { nodes: Node[]; options: SmartEdgeOptions; } export declare function SmartEdge({ nodes, options, ...edgeProps }: SmartEdgeProps): React.JSX.Element; export type SmartEdgeFunction = typeof SmartEdge;