/** * Extension boundary for decoding Skill document YAML frontmatter. * * Core owns the Skill document envelope, resource limits, mapping validation, * and metadata policy. Implementations own only YAML decoding. * * @module extensions/parser/skill-document-parser */ /** Stable runtime identifier for the Skill document parser contract. */ export declare const SkillDocumentParserProviderName: "SkillDocumentParserProvider"; /** Dependency-free contract implemented by Skill YAML parser extensions. */ export interface SkillDocumentParserProvider { /** * Decode the YAML source extracted from a Skill document's frontmatter. * * Implementations must be synchronous and must not create or return Promise * values. The returned value is untrusted; core validates and snapshots the * required mapping before using it. */ readonly parseFrontmatter: (source: string) => unknown; } /** * Capture one immutable provider generation without retaining its mutable * registration object or invoking extension-owned accessors or Proxy traps. */ export declare function snapshotSkillDocumentParserProvider(value: unknown): Readonly; /** Create immutable provider registration metadata from a standalone parser. */ export declare function createSkillDocumentParserProvider(parseFrontmatter: (source: string) => unknown): Readonly; //# sourceMappingURL=skill-document-parser.d.ts.map