/** * SkillMarkdown component for rendering Agent Skills (SKILL.md files) * Parses frontmatter and renders skill metadata with markdown body */ import { Theme } from '@principal-ade/industry-theme'; import { type ParsedSkill } from '@principal-ade/markdown-utils'; import React from 'react'; export interface SkillMarkdownProps { /** Raw SKILL.md content with frontmatter */ content: string; /** Theme object for styling */ theme: Theme; /** Optional class name for styling */ className?: string; /** Optional callback when skill is parsed */ onParsed?: (skill: ParsedSkill) => void; /** Optional callback when parsing fails */ onError?: (error: Error) => void; /** Show raw content on parse error instead of error message */ showRawOnError?: boolean; /** Container width to pass to IndustryMarkdownSlide (skips ResizeObserver if provided) */ containerWidth?: number; } /** * SkillMarkdown component * * Renders Agent Skills markdown with frontmatter parsing * * @example * ```tsx * console.log('Parsed:', skill.metadata.name)} * /> * ``` */ export declare const SkillMarkdown: React.FC; export default SkillMarkdown; //# sourceMappingURL=SkillMarkdown.d.ts.map