text: /**
   * Copyright (c) 2013-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   *
   * @providesModule Draft
   */
  
  'use strict';
  
  const AtomicBlockUtils = require('AtomicBlockUtils');
  const BlockMapBuilder = require('BlockMapBuilder');
  const CharacterMetadata = require('CharacterMetadata');
  const CompositeDraftDecorator = require('CompositeDraftDecorator');
  const ContentBlock = require('ContentBlock');
  const ContentState = require('ContentState');
  const DefaultDraftBlockRenderMap = require('DefaultDraftBlockRenderMap');
  const DefaultDraftInlineStyle = require('DefaultDraftInlineStyle');
  const DraftEditor = require('DraftEditor.react');
  const DraftEditorBlock = require('DraftEditorBlock.react');
  const DraftModifier = require('DraftModifier');
  const DraftEntity = require('DraftEntity');
  const DraftEntityInstance = require('DraftEntityInstance');
  const EditorState = require('EditorState');
  const KeyBindingUtil = require('KeyBindingUtil');
  const RichTextEditorUtil = require('RichTextEditorUtil');
  const NestedTextEditorUtil = require('NestedTextEditorUtil');
  const SelectionState = require('SelectionState');
  
  const convertFromDraftStateToRaw = require('convertFromDraftStateToRaw');
  const convertFromHTMLToContentBlocks =
    require('convertFromHTMLToContentBlocks');
  const convertFromRawToDraftState = require('convertFromRawToDraftState');
  const generateRandomKey = require('generateRandomKey');
  const generateNestedKey = require('generateNestedKey');
  const getDefaultKeyBinding = require('getDefaultKeyBinding');
  const getVisibleSelectionRect = require('getVisibleSelectionRect');
  
  const DraftPublic = {
    Editor: DraftEditor,
    EditorBlock: DraftEditorBlock,
    EditorState,
  
    CompositeDecorator: CompositeDraftDecorator,
    Entity: DraftEntity,
    EntityInstance: DraftEntityInstance,
  
    BlockMapBuilder,
    CharacterMetadata,
    ContentBlock,
    ContentState,
    SelectionState,
  
    AtomicBlockUtils,
    KeyBindingUtil,
    Modifier: DraftModifier,
    RichUtils: RichTextEditorUtil,
    NestedUtils: NestedTextEditorUtil,
  
    DefaultDraftBlockRenderMap,
    DefaultDraftInlineStyle,
  
    convertFromHTML: convertFromHTMLToContentBlocks,
    convertFromRaw: convertFromRawToDraftState,
    convertToRaw: convertFromDraftStateToRaw,
    genKey: generateRandomKey,
    genNestedKey: generateNestedKey,
    getDefaultKeyBinding,
    getVisibleSelectionRect,
  };
  
  module.exports = DraftPublic;
  