import { ContentState, EditorState, SelectionState } from 'draft-js'; export declare const colorStyle: { [key: string]: string; }; export declare function getSelectionText(contentState: ContentState, selectionState: SelectionState): string; export declare function contentStateToJson(contentState: ContentState): string; export declare function convertDraftStateToHtml(contentState: ContentState): string; export declare function convertHtmlToDraftState(html: string): ContentState; export declare function getColorStyleByValue(value: string): string; export declare function rgbToHex(value: string): string; export declare function blockTypeIsActive(editorState: EditorState, blockType: string | string[]): boolean; export declare function getEntityRange(editorState: EditorState): { startOffset: number; endOffset: number; }; //# sourceMappingURL=helpers.d.ts.map