/** * Private-module management — the dashboard's Modules page. Mirrors * `cortex module install / list / remove` on the CLI. A restart is * required for new/removed modules to take effect; the loader only * runs at boot. The GET response flags each entry's filesystem state * (`ready` / `not-built` / `missing`) so the UI can show what the user * is actually looking at. * * - GET /api/modules — list with on-disk status * - POST /api/modules/install — install; streams SSE progress + final event * - DELETE /api/modules/:name — unregister (keeps files on disk) */ 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=modules.d.ts.map