import type { SkillDefinition } from "./mcp-server.js";
export interface SkillManifest {
    skills: SkillDefinition[];
    source: "local" | "remote" | "merged";
}
/**
 * Parse a SKILL.md file into a SkillDefinition.
 *
 * Extracts YAML frontmatter between --- delimiters.
 * Everything after the closing --- is treated as instructions.
 */
export declare function parseSkillMd(content: string): SkillDefinition | null;
/**
 * Load skills from a directory by scanning for SKILL.md files.
 *
 * Matches:
 * - SKILL.md (exact match)
 * - *-SKILL.md or *_SKILL.md (e.g., Cortina-SKILL.md)
 * - Subdirectories containing SKILL.md (one level deep)
 */
export declare function loadSkillsFromDirectory(dir: string): SkillDefinition[];
/**
 * Load skills from backend API.
 */
export declare function loadSkillsFromApi(apiUrl: string, apiKey: string, hubId: string): Promise<SkillDefinition[]>;
/**
 * Merge local and remote skills. Local definitions take precedence.
 */
export declare function mergeSkills(local: SkillDefinition[], remote: SkillDefinition[]): SkillManifest;
//# sourceMappingURL=skill-manifest.d.ts.map