import { GraphQLSchema } from 'graphql'; import { Transform } from '@graphql-tools/utils'; export default class RemoveObjectFieldsWithDirective implements Transform { private readonly directiveName; private readonly args; constructor(directiveName: string | RegExp, args?: Record); transformSchema(originalSchema: GraphQLSchema): GraphQLSchema; }