import { GraphQLSchema, FragmentDefinitionNode, GraphQLObjectType, SelectionSetNode, FieldNode } from 'graphql'; export declare function collectFields(schema: GraphQLSchema, fragments: Record, variableValues: { [variable: string]: unknown; }, runtimeType: GraphQLObjectType, selectionSet: SelectionSetNode, fields: Map>, visitedFragmentNames: Set): Map>; export declare const collectSubFields: (schema: GraphQLSchema, fragments: Record, variableValues: Record, type: GraphQLObjectType, fieldNodes: Array) => Map>;