import { CatalogScope } from "../interfaces/graph.catalog.interface"; /** * `(alias)-[:REL]->(:Label)…-[:REL]->(:Root { id: $ })` * * The single place a scope chain becomes Cypher. Both consumers — `ScopeGuard` * (post-filtering records an agent already read) and `ScopePredicateService` * (pre-filtering retrieval before it reads anything) — build their patterns * here, so "is this node inside the run's scope root" cannot drift between * the two. */ export declare const buildScopePattern: (params: { scope: CatalogScope; alias: string; /** Pins the root to a known id: `(:Root { id: $ })`. */ paramName?: string; /** * Binds the root to a variable instead of pinning it: `(:Root)`. * For the inverse question — "which root is this node under?" — where the id * is the answer rather than the input. Ignored when `paramName` is given. */ rootAlias?: string; }) => string; //# sourceMappingURL=scope.pattern.d.ts.map