/** * Frontmatter parsing for workspace skill files. * * Supports a practical subset of YAML frontmatter used by AgentSkills / ClawHub: * - top-level scalar fields * - nested maps via indentation * - inline arrays * - folded/literal block scalars (`>` and `|`) */ import type { InstalledNote, NoteManifest } from "./types.js"; export interface SkillMarkdownParseResult { frontmatter: Record; body: string; } export interface WorkspaceSkillNoteOptions { noteDir: string; fallbackName: string; skillFileName?: string; } export declare function parseSkillMarkdown(markdown: string): SkillMarkdownParseResult; export declare function buildWorkspaceSkillNote(markdown: string, options: WorkspaceSkillNoteOptions): InstalledNote; export declare function buildWorkspaceSkillManifest(frontmatter: Record, body: string, options: WorkspaceSkillNoteOptions): NoteManifest;