import type { GraphQLFieldMap } from 'graphql'; import { type DocumentNode, type GraphQLOutputType, type GraphQLSchema } from 'graphql'; import type { GraphQLConnector } from '../types.ts'; export declare function getItemType(fieldType: GraphQLOutputType): GraphQLOutputType; export declare function getFields(type: GraphQLOutputType): GraphQLFieldMap | undefined; export declare function ensureIds(queryAst: DocumentNode, schema: GraphQLSchema): DocumentNode; export declare function wrapWithLocaleContext(ast: DocumentNode): DocumentNode; export declare const FILTER_VAR_NAME = "__filter"; export type AddContentIdFilterResult = { ast: DocumentNode; varName: string; modified: boolean; }; export declare function addContentIdFilter(ast: DocumentNode, schema: GraphQLSchema): AddContentIdFilterResult; export type WithQueryTransformsParams = { locale?: string; usage?: boolean; contentId?: string; }; export declare function withQueryTransforms(connector: GraphQLConnector, schema: GraphQLSchema, { locale, usage, contentId }?: WithQueryTransformsParams): GraphQLConnector;