/** * Minimal YAML-frontmatter parser for agent `.md` files. * * Vendored so taskflow-core stays dependency-free (the host SDK's * `parseFrontmatter` pulls in the `yaml` package). Agent frontmatter is flat * `key: value` — scalars, quoted strings, comma lists, or inline `[a, b]` * sequences — which is all this parser needs to support. Anything it can't * parse degrades to a string value (the caller already tolerates that). */ export interface Frontmatter { frontmatter: Record; body: string; } /** * Parse frontmatter from a markdown file. Returns `{ frontmatter, body }`. * Lines that aren't `key: value` (e.g. block sequences) are skipped; the caller * only relies on flat keys. */ export declare function parseFrontmatter(content: string): Frontmatter; export declare const stripFrontmatter: (content: string) => string; //# sourceMappingURL=frontmatter.d.ts.map