1 | import type {
|
2 | ListTypeNode,
|
3 | NamedTypeNode,
|
4 | NonNullTypeNode,
|
5 | TypeNode,
|
6 | } from '../language/ast';
|
7 | import type { GraphQLNamedType, GraphQLType } from '../type/definition';
|
8 | import { GraphQLList, GraphQLNonNull } from '../type/definition';
|
9 | import type { GraphQLSchema } from '../type/schema';
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare function typeFromAST(
|
18 | schema: GraphQLSchema,
|
19 | typeNode: NamedTypeNode,
|
20 | ): GraphQLNamedType | undefined;
|
21 | export declare function typeFromAST(
|
22 | schema: GraphQLSchema,
|
23 | typeNode: ListTypeNode,
|
24 | ): GraphQLList<any> | undefined;
|
25 | export declare function typeFromAST(
|
26 | schema: GraphQLSchema,
|
27 | typeNode: NonNullTypeNode,
|
28 | ): GraphQLNonNull<any> | undefined;
|
29 | export declare function typeFromAST(
|
30 | schema: GraphQLSchema,
|
31 | typeNode: TypeNode,
|
32 | ): GraphQLType | undefined;
|