import { FastifyInstance } from 'fastify'; import type { IncomingMessage, ServerResponse } from 'node:http'; import type { Http2ServerRequest, Http2ServerResponse } from 'node:http2'; import { ApolloServer, BaseContext } from '@apollo/server'; import { GraphweaverPlugin } from '@exogee/graphweaver'; import { GraphweaverConfig } from '../config'; export type StartServerOptions = { path: string; port: number; host?: string; configureFastify?: (fastify: FastifyInstance | Http2ServerResponse>) => Promise | void; }; export declare const startStandaloneServer: ({ port, host, path, configureFastify }: StartServerOptions, { fastifyOptions }: GraphweaverConfig, apollo: ApolloServer, plugins: Set>) => Promise;