import { marked } from 'marked';
import { ReactNode } from 'react';
import { MarkdownReactRenderer } from './render';
/**
 * 这里通过重新实现 marked.Renderer 的所有方法，实现一个能直接渲染 React 的 Markdown 渲染器
 */
export declare class MarkdownReactParser extends marked.Renderer {
    private renderer;
    constructor(options: {
        renderer: MarkdownReactRenderer;
    });
    parse(tokens: marked.Token[]): ReactNode[];
    private unescapeInfo;
    parseInline(tokens?: marked.Token[]): ReactNode[];
}
//# sourceMappingURL=parse.d.ts.map