export default PrismaDecorator; declare class PrismaDecorator extends Component { static propTypes: { entityKey: PropTypes.Validator; children: PropTypes.Requireable; contentState: PropTypes.Requireable; onEditStart: PropTypes.Validator<(...args: any[]) => any>; onEditEnd: PropTypes.Validator<(...args: any[]) => any>; onChange: PropTypes.Validator<(...args: any[]) => any>; getEditorState: PropTypes.Validator<(...args: any[]) => any>; isReadOnly: PropTypes.Validator<(...args: any[]) => any>; }; static contextTypes: {}; constructor(props: any); constructor(props: any, context: any); state: { editing: boolean; showEditor: boolean; }; startEdit: () => void; endEdit: () => void; showEditor: () => void; hideEditor: () => void; updateData: (data: any) => void; getCurrentEntity(): any; getEntityRange(editorState: any, entityKey: any): undefined; /** * Function returns the first selected block. */ getSelectedBlock(editorState: any): any; getSelectedBlocksList(editorState: any): any; getSelectedBlocksMap(editorState: any): any; } import { Component } from 'react'; import PropTypes from 'prop-types';