import { createServerAdapter as createAdapter } from '@whatwg-node/server'; import { type GraphQLSchema } from 'graphql'; import { createYoga } from 'graphql-yoga'; import type { HoudiniClient } from '../client'; import type { RouterManifest, RouterPageManifest, YogaServerOptions } from './types'; export declare function _serverHandler({ schema, yoga, client, production, manifest, graphqlEndpoint, on_render, componentCache, }: { schema?: GraphQLSchema | null; yoga?: ReturnType | null; client: HoudiniClient; production: boolean; manifest: RouterManifest | null; assetPrefix: string; graphqlEndpoint: string; componentCache: Record; on_render: (args: { url: string; match: RouterPageManifest | null; manifest: RouterManifest; session: App.Session; componentCache: Record; }) => Response | Promise | undefined; } & Omit): (request: Request) => Promise; export declare const serverAdapterFactory: (args: Parameters[0]) => ReturnType; export type ServerAdapterFactory = typeof serverAdapterFactory;