/** * Parses a Markdown file with YAML frontmatter to extract agent configuration * 解析带有 YAML frontmatter 的 Markdown 文件以提取 agent 配置 * @param filePath Path to the markdown file * @param filePath Markdown 文件的路径 * @returns ParsedAgent object or null if parsing fails * @returns 解析后的 Agent 对象,如果解析失败则返回 null */ export declare function parseAgentMd(filePath: string): { name: string; config: any; } | null;