import { GraphQLFieldResolver } from 'graphql'; import { ExecutionOptions } from '../../execution/execution-options'; import { SchemaTransformationContext } from '../../schema/preparation/transformation-pipeline'; /** * A GraphQL field resolver for the query node object type framework * * Resolves fields by alias * * If the value is a runtime error, throws. Otherwise, just returns the value. */ export declare function getFieldResolver(schemaTransformationContext: SchemaTransformationContext, transformResult?: (data: any, args: object, executionOptions: ExecutionOptions) => any): GraphQLFieldResolver;