/** * SKILL.md loader — parses Anthropic-spec frontmatter + markdown body. * * The frontmatter parser is intentionally minimal: flat `key: value` lines * with scalar values (string, boolean, number). Quoted strings, nested * objects, and arrays are out of scope for MVP — Anthropic's SKILL.md spec * never needs them and adding a YAML dependency would be heavier than the * spec warrants. */ import type { LoadResult, ParseResult, SkillSource } from './types.js'; export declare function parseSkill(content: string): ParseResult; /** * Discover and parse every `//SKILL.md` under `root`. * * Missing root → empty result, no error (callers happily union project + * user + bundled, and absent dirs are normal). * * Parse failures on individual skills do not abort the load; they are * surfaced via `LoadResult.errors` so the caller can warn the user. */ export declare function loadSkillsFromDir(root: string, source: SkillSource): LoadResult;