export namespace EditorUtilities { export { hasStyle }; export { hasBlockType }; export { hasEntity }; export { hasRemovableEntityInSelection }; export { toggleStyle }; export { toggleBlockType }; export { applyLink }; export { removeLink }; export { hasLinkInSelection }; export { getLinkDataInSelection }; export { getSelectedText }; export { findLinkEntities }; export { convertToHtml }; export { isEditorFocused }; export { isEditorEmpty }; } /** Returns whether the specified style is applied on a block */ declare function hasStyle(editorState: any, style: any): any; /** Returns whether a block with the specified type exists */ declare function hasBlockType(editorState: any, blockType: any): boolean; /** Returns whether the specified entity is applied on a block */ declare function hasEntity(editorState: any, entity: any): boolean; /** Returns whether the block of the selected text is linked to an entity */ declare function hasRemovableEntityInSelection(editorState: any): boolean; /** Returns an EditorState so that the specified style is toggled on the selection */ declare function toggleStyle(editorState: any, toggledStyle: any): any; /** Returns an EditorState so that the specified block type is toggled on the selection */ declare function toggleBlockType(editorState: any, toggledBlockType: any): any; declare function applyLink(editorState: any, { text, ...linkData }?: {}): any; declare function removeLink(editorState: any): any; declare function hasLinkInSelection(editorState: any): boolean; declare function getLinkDataInSelection(editorState: any): any; declare function getSelectedText(editorState: any): string; declare function findLinkEntities(contentBlock: any, callback: any, contentState: any): any; declare function convertToHtml(editorState: any, converters: any): any; declare function isEditorFocused(editorState: any): any; /** Returns true in case the editor's content does not contain any block which has a non-default type or text. It means that if the user changes the block type before entering any text, the content will be considered as non-empty. */ declare function isEditorEmpty(editorState: any): boolean; export {}; //# sourceMappingURL=EditorUtilities.d.ts.map