import type Cypher from "@neo4j/cypher-builder"; import type { QueryASTContext } from "../../QueryASTContext"; import { QueryASTNode } from "../../QueryASTNode"; export declare abstract class SelectionPattern extends QueryASTNode { getChildren(): QueryASTNode[]; /** Apply selection over the given context, returns the updated context and the selection clause * This ensures the new context matches the generated Cypher (i.e. the target is the nested relationship) */ abstract apply(context: QueryASTContext): { nestedContext: QueryASTContext; pattern: Cypher.Pattern; }; } //# sourceMappingURL=SelectionPattern.d.ts.map