import type { Constructor } from '@cratis/fundamentals'; import { Graphs } from '../../graphs/Graphs.js'; /** * Discovers the graphs of the given nodes, edges and fluent graph projections. * @param graphElements - The nodes and edges. * @param graphProjections - The fluent graph projections. * @param sinkTypeId - The sink type of the graphs. * @param graphViews - The views over graphs. * @returns The graphs, once discovered, and what is needed to look at what they registered. */ export declare function discoverGraphs(graphElements: Constructor[], graphProjections?: Constructor[], sinkTypeId?: string, graphViews?: Constructor[]): Promise<{ connection: import("../../../connection/ChronicleConnection.js").ChronicleConnection; readModelRequests: { EventStore: string; Owner: number; ReadModels: Array<{ Type: { Identifier: string; }; }>; Source: number; }[]; projectionRequests: { EventStore: string; Owner: number; Projections: any[]; }[]; graphs: Graphs; }>; //# sourceMappingURL=a_discovered_graph.d.ts.map