1 | import { DefinitionNode, DirectiveDefinitionNode, SchemaDefinitionNode, SchemaExtensionNode } from 'graphql';
|
2 | import { NamedDefinitionNode } from '@graphql-tools/utils';
|
3 | import { Config } from './merge-typedefs.js';
|
4 | export declare const schemaDefSymbol = "SCHEMA_DEF_SYMBOL";
|
5 | export type MergedResultMap = Record<string, NamedDefinitionNode> & {
|
6 | [schemaDefSymbol]: SchemaDefinitionNode | SchemaExtensionNode;
|
7 | };
|
8 | export declare function isNamedDefinitionNode(definitionNode: DefinitionNode): definitionNode is NamedDefinitionNode;
|
9 | export declare function mergeGraphQLNodes(nodes: ReadonlyArray<DefinitionNode>, config?: Config, directives?: Record<string, DirectiveDefinitionNode>): MergedResultMap;
|