1 | import { DocumentNode, OperationDefinitionNode, FragmentDefinitionNode } from 'graphql';
|
2 | export declare function checkDocument(doc: DocumentNode): DocumentNode;
|
3 | export declare function getOperationDefinition(doc: DocumentNode): OperationDefinitionNode | undefined;
|
4 | export declare function getOperationName(doc: DocumentNode): string | null;
|
5 | export declare function getFragmentDefinitions(doc: DocumentNode): FragmentDefinitionNode[];
|
6 | export declare function getQueryDefinition(doc: DocumentNode): OperationDefinitionNode;
|
7 | export declare function getFragmentDefinition(doc: DocumentNode): FragmentDefinitionNode;
|
8 | export declare function getMainDefinition(queryDoc: DocumentNode): OperationDefinitionNode | FragmentDefinitionNode;
|
9 | export declare function getDefaultValues(definition: OperationDefinitionNode | undefined): Record<string, any>;
|
10 |
|
\ | No newline at end of file |