import fs from "node:fs"; import type { KlawConfig } from "../../config/types.klaw.js"; type PluginSkillLinkType = "dir" | "junction"; export declare function resolvePluginSkillDirs(params: { workspaceDir: string | undefined; config?: KlawConfig; /** 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 (~/.klaw/plugin-skills/) so the agent SDK can * discover them at the conventional file-system path. * * The plugin-skills directory is fully owned by Klaw — 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 };