/** * Core-owned Skill document envelope and parser-provider boundary. * * YAML decoding is extension-owned. Core bounds the authored document before * dispatch and captures the decoded value as an owned data-only mapping. */ import { type SkillDocumentParserProvider } from "../extensions/parser/skill-document-parser.js"; /** Result of splitting and decoding one bounded `SKILL.md` document. */ export interface ParsedSkillContent { frontmatter: Record; body: string; } /** * Detach an extension-decoded YAML value into a core-owned mapping. */ export declare function snapshotSkillFrontmatterMapping(value: unknown): Record; /** * Parse one bounded Skill document with an explicit provider or the active * extension contract generation. */ export declare function parseBoundedSkillDocument(content: string, provider?: SkillDocumentParserProvider): ParsedSkillContent; //# sourceMappingURL=document-parser.d.ts.map