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 INestedBuilder}, building the `ChildrenDefinition` for a * nested single-object sub-projection reached through `.nested()`. * @template TParentReadModel - The parent read model type. * @template TNestedReadModel - The nested object read model type. */ export declare class NestedBuilder extends ProjectionBuilderCore> implements INestedBuilder { /** @inheritdoc */ clearWith(eventType: Function): INestedBuilder; /** @inheritdoc */ children(targetPropertyAccessor: PropertyAccessor, builderCallback: (builder: IChildrenBuilder) => void): INestedBuilder; /** @inheritdoc */ nested(targetPropertyAccessor: PropertyAccessor, builderCallback: (builder: INestedBuilder) => void): INestedBuilder; /** * Builds the {@link ChildrenDefinitionLike} representing this nested object. * @returns The accumulated nested definition. */ buildDefinition(): ChildrenDefinitionLike; } //# sourceMappingURL=NestedBuilder.d.ts.map