import type { PropertyAccessor } from '@cratis/fundamentals'; import type { IAddBuilder } from '../declarative/IAddBuilder.js'; import type { ISetBuilder } from '../declarative/ISetBuilder.js'; import type { ISubtractBuilder } from '../declarative/ISubtractBuilder.js'; import type { IGraphMappingBuilder } from './IGraphMappingBuilder.js'; /** * Implements the property mappings shared by nodes and edges, recording them as expressions by property name. * @template TElement - The type of the node or edge. * @template TEvent - The type of event. * @template TSelf - The type of the builder, for continuation. */ export declare abstract class GraphMappingBuilder implements IGraphMappingBuilder { /** The property mapping expressions by property name. */ readonly properties: Record; /** Gets the builder to return for continuation. */ protected abstract get self(): TSelf; /** @inheritdoc */ set(propertyAccessor: PropertyAccessor): ISetBuilder; /** @inheritdoc */ add(propertyAccessor: PropertyAccessor): IAddBuilder; /** @inheritdoc */ subtract(propertyAccessor: PropertyAccessor): ISubtractBuilder; /** @inheritdoc */ increment(propertyAccessor: PropertyAccessor): TSelf; /** @inheritdoc */ decrement(propertyAccessor: PropertyAccessor): TSelf; /** @inheritdoc */ count(propertyAccessor: PropertyAccessor): TSelf; private readonly record; private constant; } //# sourceMappingURL=GraphMappingBuilder.d.ts.map