import type { SVG } from '../../diagram-api/types.js'; import type { EdgeData } from '../../types.js'; interface EdgeAnimation { animate?: boolean; animation?: string; cssCompiledStyles?: string[]; } /** The styles an edge takes from its classes for its path: all but the label styles. */ export declare const edgeClassStyles: ({ cssCompiledStyles }: Pick) => string[]; /** Whether the edge animates, by its own setting or by a class that names an animation. */ export declare const isAnimatedEdge: (edge: EdgeAnimation) => boolean; /** The neo look draws the margin variant of a marker, unless the edge animates. */ export declare const drawsMarginMarkers: (edge: EdgeAnimation & { look?: string; }) => boolean; /** * Adds SVG markers to a path element based on the arrow types specified in the edge. * * @param svgPath - The SVG path element to add markers to. * @param edge - The edge data object containing the arrow types. * @param url - The URL of the SVG marker definitions. * @param id - The ID prefix for the SVG marker definitions. * @param diagramType - The type of diagram being rendered. */ export declare const addEdgeMarkers: (svgPath: SVG, edge: Pick, url: string, id: string, diagramType: string, useMargin?: boolean, strokeColor?: string) => void; export {};