import * as React from 'react'; export interface EditorProps { value?: string; defaultValue?: string; className?: string; placeholder?: string; allowInWebDrop?: boolean; processHTML?: (html: string) => string; processText?: (text: string) => string; onFocus?: (e: React.FocusEvent) => void; onBlur?: (e: React.FocusEvent) => void; onDrop?: (e: React.DragEvent) => void; onPaste?: (e: React.ClipboardEvent) => void; onChange?: (value: string) => void; [restProp: string]: any; } export interface EditorRefAttrs { focus: () => void; insertHTML: (html: string) => void; insertText: (text: string) => void; } export declare let Editor: React.ForwardRefExoticComponent & React.RefAttributes>;