export interface SkillHardRule { id: string; rule: string; expectedBehavior: string; } export interface SkillWorkflowNode { id: string; action: string; } export interface SkillWorkflow { id: string; description?: string; source?: 'frontmatter' | 'markdown_headings'; nodes: SkillWorkflowNode[]; } export interface SkillFrontmatterParseResult { hasFrontmatter: boolean; ok: boolean; data?: Record; error?: string; } export interface SkillHardRulesValidationResult { ok: boolean; hasFrontmatter: boolean; declared: boolean; rules: SkillHardRule[]; errors: string[]; } export interface SkillWorkflowsValidationResult { ok: boolean; hasFrontmatter: boolean; declared: boolean; workflows: SkillWorkflow[]; errors: string[]; } export declare function parseSkillFrontmatter(content: string): SkillFrontmatterParseResult; export declare function validateSkillHardRules(content: string): SkillHardRulesValidationResult; export declare function extractSkillHardRules(content: string): SkillHardRule[]; export declare function validateSkillWorkflows(content: string): SkillWorkflowsValidationResult; export declare function extractSkillWorkflows(content: string): SkillWorkflow[]; export declare function extractMarkdownStepWorkflows(content: string): SkillWorkflow[];