import { Relationship } from './module.js'; import { Path } from './util.js'; export type RelationshipGraphNode = { entity: Path; edges: RelationshipGraphEdge[]; }; export type RelationshipGraphEdge = { relationship: Relationship; node: RelationshipGraphNode; }; export declare class RelationshipGraph { nodes: RelationshipGraphNode[]; constructor(nodes: Array); getRoots(): RelationshipGraphNode[]; asObject(): object; private walkEdges; walk(onNode: Function, onContainsRelationship: Function, onBetweenRelationship: Function): void; } export declare function buildGraph(moduleName: string): RelationshipGraph; export declare function findEdgeForRelationship(relName: string, moduleName: string, edges: RelationshipGraphEdge[]): RelationshipGraphEdge | undefined; //# sourceMappingURL=relgraph.d.ts.map