1 | import { ASTNode, DocumentNode, StringValueNode } from 'graphql';
|
2 | import { GraphQLParseOptions } from './Interfaces.js';
|
3 | export declare function parseGraphQLSDL(location: string | undefined, rawSDL: string, options?: GraphQLParseOptions): {
|
4 | location: string | undefined;
|
5 | document: DocumentNode;
|
6 | };
|
7 | export declare function transformCommentsToDescriptions(sourceSdl: string, options?: GraphQLParseOptions): DocumentNode;
|
8 | type DiscriminateUnion<T, U> = T extends U ? T : never;
|
9 | type DescribableASTNodes = DiscriminateUnion<ASTNode, {
|
10 | description?: StringValueNode;
|
11 | }>;
|
12 | export declare function isDescribable(node: ASTNode): node is DescribableASTNodes;
|
13 | export {};
|