import type { AgentSkillCatalogEntry, AgentSkillMetadata, AgentSkillResourceLink, AgentSkillSourceKind } from './types.js';
type ParsedSkill = {
    properties: {
        name: string;
        description: string;
        license?: string;
        compatibility?: string;
        allowedTools?: string;
        metadata?: AgentSkillMetadata;
    };
    body: string;
};
/**
 * Heddle-owned parser for the small Agent Skills `SKILL.md` contract.
 *
 * It intentionally delegates only YAML parsing to the mature `yaml` package so
 * Heddle owns validation, prompt disclosure, and compatibility semantics.
 */
export declare class AgentSkillParser {
    static parse(content: string): ParsedSkill;
    static toCatalogEntry(args: {
        content: string;
        skillFilePath: string;
        skillRootPath: string;
        source: AgentSkillSourceKind;
    }): AgentSkillCatalogEntry;
    static extractResourceLinks(body: string): AgentSkillResourceLink[];
    static formatCatalogPrompt(args: {
        skills: AgentSkillCatalogEntry[];
        readToolName: string;
    }): string;
    private static splitFrontmatter;
    private static requiredString;
    private static optionalString;
    private static validateName;
    private static validateMaxLength;
    private static metadata;
    private static normalizedResourcePath;
    private static escapeXml;
}
export {};
//# sourceMappingURL=parser.d.ts.map