import type { LayoutGraph, LayoutModel } from './types.js';
/** Returns one message per problem; an empty list means the model is valid for the graph. */
export declare function validateLayout(graph: LayoutGraph, model: LayoutModel): string[];
/**
 * Counts pairs of edges whose routes, taken as polylines, properly cross. Edges that share an
 * end point are not compared, since they fan out of one place. Each pair counts once.
 */
export declare function countCrossings(model: LayoutModel): number;
