import type { PgCodec, PgCodecWithAttributes, PgResource, PgResourceParameter } from "postgraphile/@dataplan/pg"; declare global { namespace GraphileBuild { interface Inflection { fullTextScalarTypeName(this: Inflection): string; pgTsvRank(this: Inflection, fieldName: string): string; pgTsvOrderByColumnRankEnum(this: Inflection, codec: PgCodecWithAttributes, attributeName: string, ascending: boolean): string; pgTsvOrderByComputedColumnRankEnum(this: Inflection, codec: PgCodecWithAttributes, resource: PgResource, ascending: boolean): string; } interface ScopeObjectFieldsField { isPgTSVRankField?: boolean; } interface BehaviorStrings { "attributeFtsRank:select": true; "procFtsRank:select": true; "attributeFtsRank:orderBy": true; "procFtsRank:orderBy": true; } } namespace GraphileConfig { interface Plugins { PostGraphileFulltextFilterPlugin: true; } interface GatherHelpers { pgFulltextFilter: { getTsvectorCodec(): PgCodec; getTsvectorArrayCodec(): PgCodec; }; } } } /** * This is a TypeScript constrained identity function to save having to specify * all the generics manually. */ export declare function gatherConfig(config: GraphileConfig.PluginGatherConfig): GraphileConfig.PluginGatherConfig; export declare const PgFulltextFilterPlugin: GraphileConfig.Plugin; export declare const PgFulltextExposePlugin: GraphileConfig.Plugin; export default PgFulltextFilterPlugin;