/** * Workspace management — list, create, switch, delete. A workspace is * a named config bundle on disk; switching changes which one cortex * loads at boot. * * - GET /api/workspaces — list with active marker * - POST /api/workspaces — create (and optionally activate) * - POST /api/workspaces/switch — flip the active pointer * - DELETE /api/workspaces/:slug?confirm=true — destructive removal */ 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=workspaces.d.ts.map