import type { GraphileBuild } from 'graphile-build'; /** * Walks from a PgCondition up to the PgSelectQueryBuilder. * Uses the `.parent` property on PgCondition to traverse up the chain, * following Benjie's pattern from postgraphile-plugin-fulltext-filter. * * This is used by satellite plugins (search, BM25, pgvector) that need to * access the query builder from within a filter's apply callback to inject * SELECT expressions (for ranking/scoring) and ORDER BY clauses. * * @param build - The Graphile Build object (needs build.dataplanPg.PgCondition) * @param $condition - The PgCondition instance from the filter apply callback * @returns The PgSelectQueryBuilder if found, or null */ export declare function getQueryBuilder(build: GraphileBuild.Build, $condition: any): any | null;