UNPKG

559 BTypeScriptView Raw
1import { IDelegateToSchemaOptions, IDelegateRequestOptions } from './types';
2export declare function delegateToSchema<TContext = Record<string, any>, TArgs = any>(options: IDelegateToSchemaOptions<TContext, TArgs>): any;
3export declare function delegateRequest<TContext = Record<string, any>, TArgs = any>({ request, schema: subschemaOrSubschemaConfig, rootValue, info, operation, fieldName, args, returnType, onLocatedError, context, transforms, transformedSchema, skipValidation, skipTypeMerging, binding, }: IDelegateRequestOptions<TContext, TArgs>): any;