import { ReplaceChildNodesAction } from '../../actions/replace-child-nodes-action';
import type { RTEImageBlock } from '../../blocks/image-block';
import type { RTETextBlock } from '../../blocks/text-block';
import { ActionHandleStrategy } from '../action-handle-strategy.abstract';
/**
 * Remove all nodes and append new nodes strategy.
 */
export declare class BlockReplaceNodesStrategy extends ActionHandleStrategy<ReplaceChildNodesAction, RTETextBlock | RTEImageBlock> {
  /**
   * Empty the text block or image block nodes and add new nodes.
   *
   * @param {ReplaceChildNodesAction} action - The replace child nodes action instance.
   * @param {RTETextBlock | RTEImageBlock} target - The text block or the image block.
   */
  protected handleAction(action: ReplaceChildNodesAction, target: RTETextBlock | RTEImageBlock): void;
}
