import type { InvocationContext, HttpRequest } from '@azure/functions'; import { GraphweaverPlugin } from '@exogee/graphweaver'; import type { ApolloServer } from '@apollo/server'; /** * Return type of the Azure v4 HTTP handler (HttpResponse or HttpResponseInit). * We use a generic type so the same plugin chain works with only the outer response type differing. */ export type AzureHttpHandler = (request: HttpRequest, context: InvocationContext) => Promise; export declare const startServerlessAzure: ({ server, graphweaverPlugins, }: { graphweaverPlugins: Set>; server: ApolloServer; }) => AzureHttpHandler;