import type { IncomingMessage, ServerResponse } from "node:http";
import type { Router } from "./router.js";
export interface WorkspaceRoutesOptions {
    /** Where ~/.vskill lives (test injection). Defaults to join(os.homedir(), ".vskill"). */
    workspaceDir: string;
}
export interface WorkspaceHandlers {
    getWorkspace: (req: IncomingMessage, res: ServerResponse) => Promise<void>;
    postProject: (req: IncomingMessage, res: ServerResponse) => Promise<void>;
    deleteProject: (req: IncomingMessage, res: ServerResponse, params: Record<string, string>) => Promise<void>;
    postActive: (req: IncomingMessage, res: ServerResponse) => Promise<void>;
}
export declare function makeWorkspaceHandlers(opts: WorkspaceRoutesOptions): WorkspaceHandlers;
export declare function registerWorkspaceRoutes(router: Router, opts: WorkspaceRoutesOptions): void;
