1 | import type {
|
2 | OperationDefinitionNode,
|
3 | OperationTypeDefinitionNode,
|
4 | } from '../language/ast';
|
5 | import type { GraphQLObjectType } from '../type/definition';
|
6 | import type { GraphQLSchema } from '../type/schema';
|
7 | /**
|
8 | * Extracts the root type of the operation from the schema.
|
9 | *
|
10 | * @deprecated Please use `GraphQLSchema.getRootType` instead. Will be removed in v17
|
11 | */
|
12 | export declare function getOperationRootType(
|
13 | schema: GraphQLSchema,
|
14 | operation: OperationDefinitionNode | OperationTypeDefinitionNode,
|
15 | ): GraphQLObjectType;
|