import { GraphQLField, GraphQLSchema } from 'graphql'; import { Transform } from './transforms'; export default class RenameRootFields implements Transform { private transformer; constructor(renamer: (operation: 'Query' | 'Mutation' | 'Subscription', name: string, field: GraphQLField) => string); transformSchema(originalSchema: GraphQLSchema): GraphQLSchema; }