import { type CanvasAnimatedEdgePathType, type CanvasEdgeAnimation, type Position } from '@pixerate/editor/canvas'; /** The props Svelte Flow passes a custom edge (the subset `` uses). */ interface Props { id: string; sourceX: number; sourceY: number; targetX: number; targetY: number; sourcePosition?: Position; targetPosition?: Position; /** `data.animation` is the animation; `data.pathType` the path style (default `default`, a bézier). */ data?: { animation?: CanvasEdgeAnimation | null; pathType?: CanvasAnimatedEdgePathType; [key: string]: any; }; label?: string; labelStyle?: string; /** Inline CSS for the edge line (e.g. `stroke: #38bdf8`). */ style?: string; markerStart?: string; markerEnd?: string; selected?: boolean; /** Width of the invisible line that takes the pointer. Default 20. */ interactionWidth?: number; /** Hold the first frame. Default: follow `prefers-reduced-motion`. */ reducedMotion?: boolean; [key: string]: any; } declare const AnimatedEdge: import("svelte").Component; type AnimatedEdge = ReturnType; export default AnimatedEdge;