import { PropertyAccessor } from '@cratis/fundamentals'; import { ChildrenDefinitionLike, ProjectionBuilderCore } from './ProjectionBuilderCore.js'; import { IChildrenBuilder } from './IChildrenBuilder.js'; import { INestedBuilder } from './INestedBuilder.js'; /** * Concrete implementation of {@link IChildrenBuilder}, building the `ChildrenDefinition` for a * children collection sub-projection reached through `.children()`. * @template TParentReadModel - The parent read model type. * @template TChildReadModel - The child read model type. */ export declare class ChildrenBuilder extends ProjectionBuilderCore> implements IChildrenBuilder { private _identifiedBy; private _fromEventPropertyPath; /** @inheritdoc */ identifiedBy(propertyAccessor: PropertyAccessor): IChildrenBuilder; /** @inheritdoc */ fromEventProperty(propertyAccessor: PropertyAccessor): IChildrenBuilder; /** @inheritdoc */ children(targetPropertyAccessor: PropertyAccessor, builderCallback: (builder: IChildrenBuilder) => void): IChildrenBuilder; /** @inheritdoc */ nested(targetPropertyAccessor: PropertyAccessor, builderCallback: (builder: INestedBuilder) => void): IChildrenBuilder; /** @inheritdoc */ protected defaultJoinOn(): string | undefined; /** * Builds the {@link ChildrenDefinitionLike} representing this children collection. * @returns The accumulated children definition. */ buildDefinition(): ChildrenDefinitionLike; } //# sourceMappingURL=ChildrenBuilder.d.ts.map