import type { FlowStore, NodeBase, EdgeBase } from './types.ts'; /** * Attach a connection drag handler to a handle element. * Called when creating each handle in node-wrapper. */ export declare function attachConnectionHandler(handleEl: HTMLElement, nodeId: string, handleType: 'source' | 'target', container: HTMLElement, _edgesSvg: SVGSVGElement, store: FlowStore): void; /** * Attach a reconnection drag handler to an edge endpoint handle. * Dragging this handle detaches the edge from its source/target and allows * reconnecting to a different handle. * * @param handleEl - The SVG circle element acting as the reconnection grip * @param edge - The edge being reconnected * @param endpointType - Which endpoint of the edge is being dragged ('source' | 'target') * @param container - The flow container element * @param edgesSvg - The SVG element containing edge paths * @param store - The flow store */ export declare function attachReconnectionHandler(handleEl: SVGCircleElement, edge: EdgeType, endpointType: 'source' | 'target', container: HTMLElement, edgesSvg: SVGSVGElement, store: FlowStore): void; //# sourceMappingURL=connection.d.ts.map