import { EntityInfo } from './entity-info'; import { IncludeExpressionVisitor } from './include-expression-visitor'; import { PropertyInfo } from './property-info'; /** * Expression to include navigation properties of entities. * * @type {IncludeExpression} */ export declare class IncludeExpression { /** * Property info attached to expression. * * @type {PropertyInfo} */ readonly propertyInfo: PropertyInfo; /** * Parent include expression. This one will be present when «thenInclude» method * is called on query command builder. * * @type {IncludeExpression} */ readonly parentIncludeExpression?: IncludeExpression; /** * Entity info. This one will be present when including started * from entity root. * * @type {EntityInfo} */ readonly entityInfo?: EntityInfo; /** * Constructor. * * @param {PropertyInfo} propertyInfo Property info attached to expression. * @param {IncludeExpression} parentIncludeExpression Parent include expression. * @param {EntityInfo} entityInfo Entity info. */ constructor(propertyInfo: PropertyInfo, parentIncludeExpression?: IncludeExpression, entityInfo?: EntityInfo); /** * Accepts a certain include expression visitor. * * @param {IncludeExpressionVisitor} includeExpressionVisitor Include expression visitor which returns a concrete result. * * @returns {TResult} Include expression visitor result. */ accept(includeExpressionVisitor: IncludeExpressionVisitor): TResult; } //# sourceMappingURL=include-expression.d.ts.map