export declare const htmlToMarkdown: (html: string) => Promise;
export declare const markdownToHtml: (value: string) => string;
/**
* 转文本
* @param value
* @returns
*/
export declare const markdownToText: (value: string) => string;
/**
* markdown 转 treeJson,提取文档的大纲和结构,只对h1,...h6,ol,li 进行解析,用于保存到数据库,生成脑图等
* @param value
*/
export declare const markdownToTreeJson: (value: string) => {
name: string;
children: any[];
};