/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import React from 'react';
export declare class Markdown {
    /**
     * 渲染 Markdown
     * @param {string} text - Markdown 文本
     * @param {object} props - 其他属性
     * @returns {JSX.Element}
     */
    render(text: any, props: any): React.JSX.Element;
    /**
     * 渲染可编辑的 Markdown 组件
     * @param {object} props - 编辑器属性
     * @returns {JSX.Element}
     */
    edit(props: any): React.JSX.Element;
}
