import 'reflect-metadata'; import type { ChronicleClassDecorator } from '../../types/standardDecoratorMetadata.js'; /** Metadata stored by the node class decorator. */ export interface NodeMetadata { /** The node label. */ readonly label: string; } /** * Class decorator that marks a class as a node in a property graph. The properties of the class are the * properties of the node, and the member with the graphKey decorator holds its unique key. Which events create, * update and remove nodes is declared with nodeFrom, nodeRemovedWith and the property mapping decorators. * @param label - The node label. Defaults to the name of the class. * @returns A class decorator. */ export declare function node(label?: string): ChronicleClassDecorator; /** * Retrieves the metadata stored by the node decorator. * @param target - The class constructor. * @returns The metadata, or undefined when the class is not a node. */ export declare function getNodeMetadata(target: Function): NodeMetadata | undefined; //# sourceMappingURL=node.d.ts.map