import { NextServer, RequestHandler } from "next/dist/server/next"; export interface ContextState { app: NextServer; handle: RequestHandler; options: Record; config: Record; }