/** * Widget endpoints — list + invoke. Each widget is a pluggable JSON * payload that the dashboard renders. Per-request workspace resolution * (ADR-018 Phase 1b): the dashboard sends `?workspace=` so each * widget request can scope to the workspace the UI is currently viewing. * * - GET /api/widgets — catalog (name + description) * - GET /api/widgets/:name — invoke one widget; supports ?workspace= */ 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=widgets.d.ts.map