/** * Log viewing endpoints. The recent endpoint serves the in-memory ring * buffer; the stream endpoint pushes new lines as SSE. The dashboard * hits recent first to backfill, then subscribes to the stream for live * updates — the stream doesn't replay history on connect. * * - GET /api/logs — recent ring buffer (default 500, max 2000) * - GET /api/logs/stream — SSE: every new line as `data: \n\n` */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "../route-context.js"; export declare function handle(req: IncomingMessage, res: ServerResponse, ctx: RouteContext): Promise; //# sourceMappingURL=logs.d.ts.map