1 | import { FragmentSpreadNode, FragmentDefinitionNode, OperationDefinitionNode, NamedTypeNode } from 'graphql';
|
2 | import { Definition, FragmentInfo, Uri, ObjectTypeInfo } from 'graphql-language-service-types';
|
3 | import { Range } from 'graphql-language-service-utils';
|
4 | export declare type DefinitionQueryResult = {
|
5 | queryRange: Range[];
|
6 | definitions: Definition[];
|
7 | };
|
8 | export declare const LANGUAGE = "GraphQL";
|
9 | export declare function getDefinitionQueryResultForNamedType(text: string, node: NamedTypeNode, dependencies: Array<ObjectTypeInfo>): Promise<DefinitionQueryResult>;
|
10 | export declare function getDefinitionQueryResultForFragmentSpread(text: string, fragment: FragmentSpreadNode, dependencies: Array<FragmentInfo>): Promise<DefinitionQueryResult>;
|
11 | export declare function getDefinitionQueryResultForDefinitionNode(path: Uri, text: string, definition: FragmentDefinitionNode | OperationDefinitionNode): DefinitionQueryResult;
|
12 |
|
\ | No newline at end of file |