import { GraphQLResolveInfo, GraphQLSchema, OperationDefinitionNode } from 'graphql';
import { DocumentDefinition } from '../ast';
import { RemapRule } from '../withExternalSchema.types';
/**
 * Filters the given operation based on the provided schema.
 * @param operation The operation to be filtered.
 * @param fragments Available fragments of the query
 * @param schema The schema to be used for the filtering
 */
export declare const getFilteredDefinition: (operation: OperationDefinitionNode, resolveInfo: GraphQLResolveInfo, schema: GraphQLSchema, remapRules: Partial<Record<string, RemapRule>>) => DocumentDefinition;
