import 'reflect-metadata'; import { ChroniclePropertyDecorator } from '../../types/propertyDecoratorMetadata.js'; /** Metadata stored by the edgeSource property decorator. */ export interface EdgeSourceMetadata { /** The type of the node. */ readonly nodeType: Function; } /** * Property decorator that marks the member of an edge that holds the key of the node the edge starts at. * The member is not a property of the edge. * @param nodeType - The type of the node. * @returns A property decorator. */ export declare function edgeSource(nodeType: Function): ChroniclePropertyDecorator; /** * Retrieves the metadata stored by the edgeSource decorator on a property. * @param target - The class prototype. * @param propertyKey - The property name. * @returns The metadata, or undefined when the property is not marked. */ export declare function getEdgeSourceMetadata(target: object, propertyKey: string): EdgeSourceMetadata | undefined; //# sourceMappingURL=edgeSource.d.ts.map