/** * Static client bundle serving with SPA fallback. * * The Vite build output lives at dist/web-client (resolved by the caller). * If the bundle is missing, the server runs API-only and explains how to * build the client. * * index.html is never streamed verbatim: it is read and transformed so the SPA * boots holding this server's mutation token (see web-token.ts) without a * second fetch. There are TWO paths that answer with index.html — the direct * request for `/` and the SPA fallback that backs every deep link — and both go * through the same transform, because a shell served without the token is a * client that cannot write. */ import type { Hono } from "hono"; export declare function registerStaticServing(app: Hono, root: string): void; //# sourceMappingURL=static.d.ts.map