import React from 'react'; import { IConfig } from './config'; import { IApis } from './apis'; export interface IREditorProps { width?: string; height?: string; config?: IConfig; } declare class REditor extends React.Component implements IApis { _uid: string; editor: React.RefObject; config: IConfig; constructor(props: IREditorProps); componentDidMount(): void; render(): JSX.Element; clear: () => void; getTextContent: () => string; getHTMLContent: () => string; beforeChange: (cb: Function) => void; afterChange: (cb: Function) => void; } export { REditor };