UNPKG

431 BTypeScriptView Raw
1import EditorCore from './EditorCore';
2declare const toEditorState: typeof EditorCore.ToEditorState;
3declare const EditorCorePublic: {
4 EditorCore: typeof EditorCore;
5 GetText: (editorState: any, options?: {
6 encode: boolean;
7 }) => string;
8 GetHTML: (editorState: any) => any;
9 toEditorState: (text: string) => any;
10};
11export { EditorCore, GetText, GetHTML, toEditorState };
12export default EditorCorePublic;