import { GraphQLResolveInfo, GraphQLSchema } from 'graphql'; import { IResolvers } from 'graphql-tools/dist/Interfaces'; import { BindingOptions, Options, QueryOrMutation } from './types'; export declare class Delegate { schema: GraphQLSchema; before: () => void; disableCache: boolean; private fragmentReplacements; constructor({ schema, fragmentReplacements, before, disableCache, }: BindingOptions); request(query: string, variables?: { [key: string]: any; }): Promise; delegate(operation: QueryOrMutation, fieldName: string, args: { [key: string]: any; }, infoOrQuery?: GraphQLResolveInfo | string, options?: Options): Promise; delegateSubscription(fieldName: string, args?: { [key: string]: any; }, infoOrQuery?: GraphQLResolveInfo | string, options?: Options): Promise>; getAbstractResolvers(filterSchema?: GraphQLSchema | string): IResolvers; private delegateToSchema; }