import { AST } from 'eslint'; import { Comment, SourceLocation } from 'estree'; import { GraphQLOutputType, GraphQLNamedType, TokenKind, Token, Location } from 'graphql'; import { valueFromASTUntyped } from 'graphql/utilities/valueFromASTUntyped.js'; declare const valueFromNode: (...args: Parameters) => any; declare function getBaseType(type: GraphQLOutputType): GraphQLNamedType; declare function convertToken(token: Token, type: T): Omit & { type: T; }; declare function extractTokens(filePath: string, code: string): AST.Token[]; declare function extractComments(loc?: Location): Comment[]; declare function convertLocation(location: Location): SourceLocation; export { convertLocation, convertToken, extractComments, extractTokens, getBaseType, valueFromNode };