1 | import { GraphQLError } from 'graphql';
|
2 | import { ExecutionResult } from '@graphql-tools/utils';
|
3 | import { DelegationContext } from './types';
|
4 | export declare function checkResultAndHandleErrors(result: ExecutionResult, delegationContext: DelegationContext): any;
|
5 | export declare function mergeDataAndErrors(data: any, errors: ReadonlyArray<GraphQLError>, path: Array<string | number> | undefined, onLocatedError?: (originalError: GraphQLError) => GraphQLError, index?: number): {
|
6 | data: any;
|
7 | unpathedErrors: Array<GraphQLError>;
|
8 | };
|