import type { OperationTypeNode } from 'graphql'; import { GraphQLDirective, GraphQLScalarType } from 'graphql'; import type { SubgraphTransform } from '../compose.js'; export interface EncapsulateTransformOpts { /** * Optional, name to use for grouping under the root types. If not specified, the API name is used. */ name?: string; applyTo?: Record; } export declare function createEncapsulateTransform(opts?: EncapsulateTransformOpts): SubgraphTransform; export declare const resolveToSourceArgsScalar: GraphQLScalarType; export declare const resolveToDirective: GraphQLDirective;