/** * `/api/dashboard/jobs[...]` — listings + per-id detail for the Jobs * page. Reads from the persistent JobRegistry shadow (`cache_jobs` * table) so historical entries survive a process restart, with the * in-memory map serving as the hot-path cache for currently-running * jobs. * * Surface: * GET /api/dashboard/jobs?status=in_progress|recent&limit=N * GET /api/dashboard/jobs/:jobId * * `status=in_progress` returns queued + running (the two non-terminal * states). `status=recent` returns completed + failed within the last * 24h. Omit `status` to get everything (newest first). * * Auth: scoped to `read`. */ 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=dashboard-jobs.d.ts.map