/** * Workspace API route handlers * * CRUD operations for workspace configuration (repos, sync mappings). * Used by the dashboard WorkspacePage. */ import * as http from 'http'; export declare function createWorkspaceRouteHandlers(projectRoot: string): { /** GET /api/workspace — return workspace config */ getWorkspace(_req: http.IncomingMessage, res: http.ServerResponse, _params: Record): Promise; /** PATCH /api/workspace/repos/:id — merge body into matching repo */ patchRepo(_req: http.IncomingMessage, res: http.ServerResponse, params: Record, body: Record): Promise; /** POST /api/workspace/repos — append new repo */ postRepo(_req: http.IncomingMessage, res: http.ServerResponse, _params: Record, body: Record): Promise; /** DELETE /api/workspace/repos/:id — remove repo */ deleteRepo(_req: http.IncomingMessage, res: http.ServerResponse, params: Record): Promise; }; //# sourceMappingURL=workspace-routes.d.ts.map