import { CSSProperties, ReactElement } from 'react';
import { Editor as TinyMCEEditor } from 'tinymce';

export type RichTextViewerProps = {
	value: string;
	className?: string;
	style?: CSSProperties;
	fullscreen?: boolean;
	onInit?: (editor: TinyMCEEditor) => void;
	children?: ReactElement;
	fullscreenIconTips?: string;
};
/**
 * 预览 RichTextEditor 生成的富文本数据
 * ```
 * 1. 通过 onInit 属性可获取实例：editor
 * 2. 如果高度发生变更，可执行 editor.execCommand('mceAutoResize');
 *
 * ```
 * @param props
 * @returns
 */
export declare const RichTextViewer: (props: RichTextViewerProps) => import("react").JSX.Element;

export {};
