import type http from "node:http";
import type { Connect } from "vite";
import type { ViteDevServer } from "vite";
/**
 * This middleware is used so we can serve a custom index.html without
 * having the user specify their own file inside of their code-mode apps.
 * This gives us some extra control over the index.html file, especially
 * when it comes to building bundles for production/deployment.
 */
export declare function indexHtmlMiddleware(server: ViteDevServer, features?: {
    enableSessionRecording?: boolean;
}): (req: Connect.IncomingMessage, res: http.ServerResponse, next: Connect.NextFunction) => Promise<void>;
//# sourceMappingURL=injected-index.d.ts.map