import type { XYPosition } from '@xyflow/svelte'; import type { CanvasNode, FanOutTrajectoryOptions, NodeTransition, TrajectoryFunction } from './types.js'; /** * Standard linear trajectory: straight line interpolation with linear scale & opacity progression. */ export declare const linearTrajectory: TrajectoryFunction; /** * Linear position trajectory: pure position interpolation without altering scale or opacity. * Used for displaced sibling nodes to ensure their visibility remains unaltered. */ export declare const linearPositionTrajectory: TrajectoryFunction; /** * Creates a fan-out trajectory where nodes arc outward from origin to target. * Matches the curved distribution shown in multi-node branching diagrams. */ export declare function createFanOutTrajectory(options?: FanOutTrajectoryOptions): TrajectoryFunction; /** * Creates a custom quadratic Bezier trajectory with a specified or dynamically calculated control point. */ export declare function createBezierTrajectory(getControlPoint: (origin: XYPosition, target: XYPosition) => XYPosition): TrajectoryFunction; /** * Coordinates and animates multiple node transitions simultaneously. * * Input nodes are never mutated: every frame produces updated copies (position, * `data.scale` / `data.opacity`, `style` opacity) which are passed to `onUpdate` * (and finally `onComplete`) in the same order as `transitions`. Both CSS-string and * object styles are supported. Merge the copies into your graph state by `id`. */ export declare function runMultiNodeTransition(transitions: NodeTransition[], options?: { defaultDuration?: number; defaultEasing?: (t: number) => number; onUpdate?: (nodes: TNode[]) => void; onComplete?: (nodes: TNode[]) => void; }): () => void;