import React from 'react'; export interface EditorPropTypes { prefixCls?: string; placeholder?: string; className?: string; toolbar?: string[]; defaultValue?: object; onChange?: (value: object) => void; preview?: boolean; plugins?: object[]; extendTool?: (editor: any) => React.ReactElement[]; customToolbar?: React.ReactElement; renderMark?: (props: any, editor: any, next: any) => React.ReactElement | void; renderInline?: (props: any, editor: any, next: any) => React.ReactElement | void; renderBlock?: (props: any, editor: any, next: any) => React.ReactElement | void; } export interface EditorStateTypes { value: any; fontSize: string; } declare class GemSlate extends React.Component { constructor(props: any); editor: any; plugins: any; static defaultProps: { prefixCls: string; toolbar: string[]; }; static Value: any; onChange: ({ value }: any) => void; ref: (editor: HTMLDivElement) => void; handleRenderMark: (props: any, editor: any, next: any) => any; handleRenderBlock: (props: any, editor: any, next: any) => any; handleRenderInline: (props: any, editor: any, next: any) => any; handleKeyDown: (event: any, editor: any, next: any) => any; handleMouseUp: (event: any, editor: any, next: any) => any; handleFontChange: (fontSize: any, callback: any) => void; renderToolbar: () => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; render(): React.ReactElement; } export default GemSlate;