import { BaseHandler } from './base-handler';
/**
 * Handle user paste
 */
export declare class InsertPasteHandler extends BaseHandler {
  /**
   * Update the state value when user paste html elements.
   *
   * @param {InputEvent} event - Paste event.
   */
  handleEvent(event: InputEvent): void;
  /**
   * Insert the blocks to root
   *
   * @param { RTEContentBlock[]} blocks - blocks
   */
  private insertBlocksToRoot;
  /**
   * Insert the blocks to content
   *
   * @param { RTEContentBlock[]} blocks - blocks
   */
  private insertBlocksToContent;
  /**
   * Insert the blocks before to current block
   *
   * @param { RTEContentBlock[]} blocks - blocks
   */
  private insertBlocksBeforeEmptyBlock;
  /**
   * Format and parse elements from user paste with simple style preservation.
   *
   * @param {InputEvent} event - Paste event.
   * @returns {RTEContentBlock[]} - RTEContentBlock.
   */
  private parsePastedElements;
  /**
   * Moves the caret to the next block element in a rich text editor.
   *
   * @param {RTEBlock} newBlock - Represents a new create block element in a rich text editor.
   */
  private switchCaretPositionToNextElement;
  /**
   * Parses the content of a plain text and formats it into HTML.
   *
   * @param {string} content - The content of plain text.
   * @returns {string} - The formatted HTML string.
   */
  private parsePlainText;
}
