import type { Server as HttpServer } from 'node:http'; import type { ViteDevServer } from 'vite'; /** Create a Vite dev server in middleware mode, HMR bound to `httpServer`. * Mirrors the old `view serve` resolve setup so the shell's bare imports * (react, the `@crouton-kit/crouter/web` self-subpath) resolve from the * generated/shell root. Lazily imports vite so the shipped path never loads it. */ export declare function createDevServer(httpServer: HttpServer): Promise;