import { DeleteBlockContentAction } from '../../actions/delete-block-content-action';
import type { RTEBlock } from '../../blocks/block.abstract';
import { BlockDeleteNodeContentStrategy } from './block-delete-node-content-strategy';
/**
 * Block delete text or decorator node strategy.
 */
export declare class BlockDeleteTextOrDecoratorNodeStrategy extends BlockDeleteNodeContentStrategy<RTEBlock> {
  /**
   * @inheritDoc
   */
  handleAction(action: DeleteBlockContentAction, target: RTEBlock): void;
  /**
   * Handle the delete text logic when press delete key.
   *
   * @param {DeleteBlockContentAction} action - ModifyContentAction
   * @param {RTETextBlock} target - Current text block
   */
  private deleteTextNodeContent;
  /**
   * Delete decorator node content
   *
   * @param {DeleteBlockContentAction} action - The delete block content action
   * @param {RTEBlock} target - The target block
   */
  private deleteDecoratorNodeContent;
}
