import 'reflect-metadata'; import type { ChronicleClassDecorator } from '../../types/standardDecoratorMetadata.js'; /** * Class decorator that names the graph a node, an edge or a graph projection belongs to. * All the nodes and edges that name the same graph are registered as one graph. * @param name - The name of the graph. It is also the name of the read model the graph is registered as. * @returns A class decorator. */ export declare function graph(name: string): ChronicleClassDecorator; /** * Retrieves the graph name stored by the graph decorator. * @param target - The class constructor. * @returns The name of the graph, or undefined when the type does not name one. */ export declare function getGraphName(target: Function): string | undefined; //# sourceMappingURL=graph.d.ts.map