import type { ApolloServerPlugin, BaseContext } from "@apollo/server";
import type { FastifyBaseLogger, FastifyInstance, FastifyTypeProvider, FastifyTypeProviderDefault, RawReplyDefaultExpression, RawRequestDefaultExpression, RawServerBase, RawServerDefault } from "fastify";
export declare function fastifyApolloDrainPlugin<Context extends BaseContext, RawServer extends RawServerBase = RawServerDefault, RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>, RawReply extends RawReplyDefaultExpression<RawServer> = RawReplyDefaultExpression<RawServer>, Logger extends FastifyBaseLogger = FastifyBaseLogger, TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault>(fastify: FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>): ApolloServerPlugin<Context>;
