import { SerializedEdge } from '../index.js';
/**
 * Additional data stored on an edge
 */
export type VariadicEdgeData = {
    /**
     * The index of the edge in the variadic port
     */
    index?: number;
};
export interface IEdge {
    id: string;
    source: string;
    sourceHandle: string;
    target: string;
    targetHandle: string;
    annotations?: Record<string, any>;
}
export declare class Edge {
    annotations: Record<string, any>;
    id: string;
    source: string;
    sourceHandle: string;
    target: string;
    targetHandle: string;
    constructor(props: IEdge);
    serialize(): SerializedEdge;
    static deserialize(props: SerializedEdge): Edge;
}
//# sourceMappingURL=edge.d.ts.map