import type { ServerResponse } from 'http'; import type { HttpResponse } from 'warpsocket'; /** * Serve the bundled dashboard HTML on an HTTP response. Compatible with * Node.js `http.ServerResponse`, Bun's node-compat response, and * warpsocket's `HttpResponse`. Wire into e.g.: * * ```ts * import { serveDashboard } from 'lowlander/dashboard'; * export function handleHttpRequest(req, res) { * if (req.url === '/_dashboard') return serveDashboard(res); * } * ``` */ export declare function serveDashboard(res: ServerResponse | HttpResponse): void; /** Return the bundled dashboard HTML as a string (for non-warpsocket servers). */ export declare function getDashboardHtml(): string; //# sourceMappingURL=serve.d.ts.map