/**
 * 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<string, string>): Promise<void>;
    /** PATCH /api/workspace/repos/:id — merge body into matching repo */
    patchRepo(_req: http.IncomingMessage, res: http.ServerResponse, params: Record<string, string>, body: Record<string, unknown>): Promise<void>;
    /** POST /api/workspace/repos — append new repo */
    postRepo(_req: http.IncomingMessage, res: http.ServerResponse, _params: Record<string, string>, body: Record<string, unknown>): Promise<void>;
    /** DELETE /api/workspace/repos/:id — remove repo */
    deleteRepo(_req: http.IncomingMessage, res: http.ServerResponse, params: Record<string, string>): Promise<void>;
};
//# sourceMappingURL=workspace-routes.d.ts.map