import { ASTNode, GraphQLError, Source } from 'graphql'; interface GraphQLErrorOptions { nodes?: ReadonlyArray | ASTNode | null; source?: Source; positions?: ReadonlyArray; path?: ReadonlyArray; originalError?: Error & { readonly extensions?: unknown; }; extensions?: any; } export declare function createGraphQLError(message: string, options?: GraphQLErrorOptions): GraphQLError; export {};