import { GraphQLField, VariableDefinitionNode, TypeNode, GraphQLType, ArgumentNode } from 'graphql'; import { KeystoneContext } from '../../types'; export declare function getTypeNodeForType(type: GraphQLType): TypeNode; export declare function getVariablesForGraphQLField(field: GraphQLField): { variableDefinitions: VariableDefinitionNode[]; argumentNodes: ArgumentNode[]; }; export declare function executeGraphQLFieldToRootVal(field: GraphQLField): (args: Record, context: KeystoneContext, rootValue?: Record) => Promise;