export interface HtmlShellOptions {
/** URL path prefix where the web UI is mounted, e.g. "/status". */
basePath: string;
/**
* Whether the engine has a token configured.
* Reserved for future use (e.g. showing a logout link in the React app).
*/
hasAuth: boolean;
}
/**
* Returns the full HTML document for the web UI dashboard.
*
* The page is a minimal shell — a single
mount point for the
* React + Mantine frontend. The compiled JS and CSS bundles are referenced by
* their content-addressed asset URLs rather than inlined, so they are
* cacheable across requests and across views (design.md D8). The shell's size
* is therefore independent of the compiled application's size.
*
* The data-base-path attribute is read by the React app to prefix all API
* calls with the correct path (e.g. /status/api/status).
*/
export declare function htmlShell({ basePath, hasAuth: _hasAuth }: HtmlShellOptions): string;
/**
* Returns the login page HTML.
* Intentionally plain HTML — no React, works without JS, rendered server-side.
*/
export declare function loginShell({ basePath, error }: {
basePath: string;
error?: string;
}): string;
//# sourceMappingURL=html-shell.d.ts.map