import type { Constructor } from '@cratis/fundamentals'; import type { GraphModel } from '../GraphModel.js'; import type { GraphViewBuildResult } from './GraphViewBuildResult.js'; /** * Validates the views declared over a graph and builds their {@link GraphViewDefinition}. Every rule of a view has a * reason code, carried by the error that reports it. One invalid view never stops the discovery of anything else; it * is reported, and the views of its graph are then withheld as a whole, because a view is read together with the views * it nests. */ export declare class GraphViewDefinitionBuilder { private readonly _schemaWriter; /** * Builds the definition of the views of one graph. * @param model - The {@link GraphModel} the views read. * @param views - The view types that name the graph. * @returns The {@link GraphViewBuildResult}. */ build(model: GraphModel, views: readonly Constructor[]): GraphViewBuildResult; private edgeInfo; private resolve; private directionOf; private validateAcrossViews; private validateEdgeProperties; private cycleThrough; private member; private edgeOf; private edgeName; private find; } //# sourceMappingURL=GraphViewDefinitionBuilder.d.ts.map