import { ASTNode, GraphQLError, Source } from 'graphql'; import { Maybe } from './types.js'; interface GraphQLErrorOptions { nodes?: ReadonlyArray | ASTNode | null; source?: Maybe; positions?: Maybe>; path?: Maybe>; originalError?: Maybe; extensions?: any; } export declare function createGraphQLError(message: string, options?: GraphQLErrorOptions): GraphQLError; export declare function relocatedError(originalError: GraphQLError, path?: ReadonlyArray): GraphQLError; export {};