1 | import { GraphQLField, GraphQLSchema, GraphQLType } from 'graphql';
|
2 | import { CompletionItemBase, AllTypeInfo } from 'graphql-language-service-types';
|
3 | import { ContextTokenUnion, State } from 'graphql-language-service-parser';
|
4 | export declare function getDefinitionState(tokenState: State): State | null | undefined;
|
5 | export declare function getFieldDef(schema: GraphQLSchema, type: GraphQLType, fieldName: string): GraphQLField<any, any> | null | undefined;
|
6 | export declare function forEachState(stack: State, fn: (state: State) => AllTypeInfo | null | void): void;
|
7 | export declare function objectValues<T>(object: Record<string, T>): Array<T>;
|
8 | export declare function hintList<T extends CompletionItemBase>(token: ContextTokenUnion, list: Array<T>): Array<T>;
|
9 |
|
\ | No newline at end of file |