/** * Workspace docs endpoints — serve markdown docs from the bundled * `docs/` tree to the dashboard's docs viewer. Delegates entirely to * the shared `handleWorkspaceDocs` implementation in `../workspace-docs.ts` * because it has its own conventions (path traversal protection, * mime-type rules, etc.). * * - GET /api/workspace-docs — root listing * - GET /api/workspace-docs/... — nested file or directory */ 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=workspace-docs.d.ts.map