import { WithRequired, GraphQLRequest, GraphQLRequestContextExecutionDidStart, GraphQLResponse, ValueOrPromise, GraphQLRequestContextWillSendResponse, Logger } from 'apollo-server-types'; import { GraphQLSchema } from 'graphql/type'; import { CacheHint } from 'apollo-cache-control'; import { ApolloServerPlugin } from 'apollo-server-plugin-base'; declare type IPluginTestHarnessGraphqlRequest = WithRequired; declare type IPluginTestHarnessExecutionDidStart = GraphQLRequestContextExecutionDidStart & { request: IPluginTestHarnessGraphqlRequest; }; export default function pluginTestHarness({ pluginInstance, schema, logger, graphqlRequest, overallCachePolicy, executor, context }: { pluginInstance: ApolloServerPlugin; schema?: GraphQLSchema; logger?: Logger; graphqlRequest: IPluginTestHarnessGraphqlRequest; overallCachePolicy?: Required; executor: (requestContext: IPluginTestHarnessExecutionDidStart) => ValueOrPromise; context?: TContext; }): Promise>; export {}; //# sourceMappingURL=pluginTestHarness.d.ts.map