import { type ComponentPropsWithoutRef } from "react";
import type { EdgeRouting } from "../../workflow/editor";
import type { WorkflowEdge as WorkflowEdgeType, WorkflowNode } from "../../workflow/types";
export interface FlowEdgeProps extends Omit<ComponentPropsWithoutRef<"g">, "id" | "onSelect"> {
    edge: WorkflowEdgeType;
    nodes?: WorkflowNode[];
    /**
     * Path routing — bezier (default), step, smoothstep, straight. Same
     * shape as the v2 canvas edge prop. When omitted, `edge.style` is
     * consulted for backwards compat, otherwise bezier.
     */
    routing?: EdgeRouting;
    /** Curvature for bezier routing (0–1). Smaller = tighter. Default 0.25. */
    curvature?: number;
    /** Corner radius for smoothstep routing. Default 8 px. */
    borderRadius?: number;
    /** Show an X delete affordance at the midpoint on hover / select. */
    showDelete?: boolean;
    onSelect?: (id: string) => void;
    onDelete?: (id: string) => void;
}
export declare function FlowEdge({ edge, nodes, routing, curvature, borderRadius, showDelete, onSelect, onDelete, className, ...props }: FlowEdgeProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=FlowEdge.d.ts.map