export type SkillListEntry = { /** Display title (skill `name` from SKILL.md) */ name: string; /** Full description read using gray-matter */ description?: string; /** Absolute path to the skill package root from `skills list --json`. */ path: string; }; export interface SkillSearchResult { name: string; slug: string; source: string; installs: number; } /** * Install / list / delete skills via the Vercel [`skills` CLI](https://github.com/vercel-labs/skills) * (`npx skills`), using OpenClaw scope (`./skills/`). */ export declare class Registry { private readonly cwd; constructor(cwd: string); list(): Promise; /** * `skills add -y -a openclaw --copy` — supports owner/repo, Git URLs with tree paths, local paths, etc. */ install(source: string): Promise; /** * Remove by on-disk folder name (basename of `path` from `skills list --json`). * * We do **not** pass `--agent` so removal matches the CLI’s universal layout behavior. */ delete(folder: string): Promise; /** * Search the public catalog at skills.sh (same API as the `skills` CLI `find` command). */ search(query: string): Promise; } export declare function create(cwd: string): Registry;