import fs from "node:fs"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; type PluginSkillLinkType = "dir" | "junction"; export declare function resolvePluginSkillDirs(params: { workspaceDir: string | undefined; config?: OpenClawConfig; /** Override the plugin skills directory for testing. */ pluginSkillsDir?: string; }): string[]; declare function resolvePluginSkillLinkType(platform?: NodeJS.Platform): PluginSkillLinkType; /** * Creates symlinks from each resolved plugin skill directory into the * plugin skills directory (~/.openclaw/plugin-skills/) so the agent SDK can * discover them at the conventional file-system path. * * The plugin-skills directory is fully owned by OpenClaw — every entry is * a generated symlink. Cleanup of stale links is therefore safe. */ declare function publishPluginSkills(skillDirs: string[], opts?: { pluginSkillsDir?: string; }): void; declare function isGeneratedPluginSkillEntry(entry: Pick): boolean; export declare const testing: { isGeneratedPluginSkillEntry: typeof isGeneratedPluginSkillEntry; publishPluginSkills: typeof publishPluginSkills; resolvePluginSkillLinkType: typeof resolvePluginSkillLinkType; }; export { testing as __testing };