1 | import { DocumentNode, FieldNode, FragmentDefinitionNode, GraphQLOutputType, GraphQLSchema, SelectionNode } from 'graphql';
|
2 | declare type Maybe<T> = null | T;
|
3 | export declare function uniqueBy<T>(array: readonly SelectionNode[], iteratee: (item: FieldNode) => T): SelectionNode[];
|
4 | export declare function inlineRelevantFragmentSpreads(fragmentDefinitions: {
|
5 | [key: string]: FragmentDefinitionNode | undefined;
|
6 | }, selections: readonly SelectionNode[], selectionSetType?: Maybe<GraphQLOutputType>): readonly SelectionNode[];
|
7 | export default function mergeAST(documentAST: DocumentNode, schema?: GraphQLSchema): DocumentNode;
|
8 | export {};
|
9 |
|
\ | No newline at end of file |