1 | import { GraphQLSchema, DocumentNode, OperationDefinitionNode, GraphQLNamedType } from 'graphql';
|
2 | export declare type VariableToType = {
|
3 | [variable: string]: GraphQLNamedType;
|
4 | };
|
5 | export declare type QueryFacts = {
|
6 | variableToType?: VariableToType;
|
7 | operations?: OperationDefinitionNode[];
|
8 | documentAST?: DocumentNode;
|
9 | };
|
10 | export default function getOperationFacts(schema?: GraphQLSchema, documentStr?: string | null): QueryFacts | undefined;
|
11 | export declare const getQueryFacts: typeof getOperationFacts;
|
12 | export declare function collectVariables(schema: GraphQLSchema, documentAST: DocumentNode): VariableToType;
|
13 |
|
\ | No newline at end of file |