export { _dashboard } from './server.js'; export type { DashboardAPI } from './server.js'; 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; //# sourceMappingURL=index.d.ts.map