import { applyLineJumpsToSvg } from '../../rendering-elements/lineJump.js';
import type { LayoutData } from '../../types.js';
import type { CommonLayoutPaintContext } from '../common/index.js';
/** The paint groups `applyLayeredLineJumps` needs off the measure context. */
interface EdgePaintGroups {
    groups: {
        edgePaths: Parameters<typeof applyLineJumpsToSvg>[0];
    };
}
/**
 * Draws a hop where two edges cross (`layered.lineHops`), as the `elk` layout does (#8835).
 *
 * Runs as `afterPaint`: the crossings are only known once every edge is drawn, and the fix is
 * to rewrite the `d` of the edge that gives way. The `rounded`, `stepped` and `straight`
 * routings draw curves the line-jump module rewrites; `curved` keeps the edge's own smoothing
 * curve, which it skips.
 */
export declare function applyLayeredLineJumps(data: LayoutData, { measure }: CommonLayoutPaintContext<unknown, EdgePaintGroups>): void;
export {};
