/** * CAN network flow helpers — virtual edges along the bus so packets can * travel ECU → bus rail → ECU (no pairwise wires in the static diagram). */ import type { App } from '../App'; import type { Group } from '../shapes/Group'; import type { Node } from '../Node'; import type { DiagramFlowHop } from './flow'; /** Distance from ECU card top to bus midline (matches createCanEcuNode tap). */ export declare const CAN_BUS_TAP = 18; export declare function canBusHopPoints(from: Node, to: Node, busY: number): number[]; /** * Ensure an edge layer exists with bus-rail hop polylines for the given hops * (or all adjacent ECU pairs when hops omitted — for ambient bus traffic). */ export declare function ensureCanNetworkFlowEdges(app: App, root: Group, hops?: DiagramFlowHop[]): Group | undefined;