import type { Graph, NodeId } from './helpers.js';
/**
 * Builds a layering (array of layers) by traversing the driving tree in a
 * multitree order that tries to minimize crossings.
 */
export declare function buildMultitreeLayerOrder(g: Graph, rankOf: Record<NodeId, number>, laneOf: (id: NodeId) => string | null): NodeId[][];
