cullmann.io/themes/blowfish/assets/lib/mermaid/utils/lineWithOffset.d.ts

6 lines
357 B
TypeScript
Raw Normal View History

import type { EdgeData, Point } from '../types.js';
export declare const getLineFunctionsWithOffset: (edge: Pick<EdgeData, 'arrowTypeStart' | 'arrowTypeEnd'>) => {
x: (d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
y: (d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
};