import type { IncomingMessage, ServerResponse } from 'node:http'; /** * Match-and-handle dispatcher. Returns `true` when the request was * served; `false` when the URL/method didn't match. */ export declare function handleWorkspaceSkillsApi(req: IncomingMessage, res: ServerResponse, url: URL): Promise; interface SkillMeta { slug: string; name: string; description: string; category: string; agents: ('claude' | 'opencode')[]; path: string; } export declare function inferCategory(slug: string): string; export declare function readSkillFrontmatter(skillMdPath: string): { name?: string; description?: string; } | null; export declare function scanSkillDir(rootDir: string): Array<{ slug: string; skillMd: string; }>; export declare function listSkills(): SkillMeta[]; export {}; //# sourceMappingURL=workspace-skills-api.d.ts.map