import type { SkillKind } from "./registry-types.js"; import { type PortableSkillManifest } from "./portable-skills-types.js"; export declare function normalizePortableSkillName(name: string): string; export declare function readPortableSkillManifest(skillPath: string, fallbackName?: string): PortableSkillManifest; export declare function parseSkillKind(value: string | undefined): SkillKind | undefined; export declare function createInstructionManifest(name: string, options: { description: string; }): PortableSkillManifest; export declare function writeInstructionSkillTemplate(skillPath: string, manifest: PortableSkillManifest): void; export declare function createPortableManifest(name: string, options: { description: string; }): PortableSkillManifest; export declare function writePortableSkillTemplate(skillPath: string, manifest: PortableSkillManifest): void; export declare function ensurePortableSkillFiles(skillPath: string, manifest: PortableSkillManifest): PortableSkillManifest; /** * Instruction (prose) skills are consumed by agent renderers/MCP docs, not run * locally, so `port` must never fabricate executable stubs (package.json, bin, * src/index.ts, tsconfig.json, AGENTS.md). It keeps the copied SKILL.md verbatim * and writes a minimal skill.json declaring `kind: "instruction"`. */ export declare function ensureInstructionSkillFiles(skillPath: string, manifest: PortableSkillManifest): PortableSkillManifest; export declare function copySkillDirectory(source: string, destination: string): void; export declare function renderSkillJson(manifest: PortableSkillManifest): string; export declare function hasPackageDependencies(pkgPath: string): boolean; export declare function displayName(name: string): string;