import { SplitBlockWithNodeAction } from '../../actions/split-block-with-node-action';
import type { RTEImageBlock } from '../../blocks/image-block';
import { ActionHandleStrategy } from '../action-handle-strategy.abstract';
/**
 * Split the current image block with a special position strategy.
 */
export declare class BlockSplitWithImageNodeStrategy extends ActionHandleStrategy<SplitBlockWithNodeAction, RTEImageBlock> {
  /**
   * @inheritDoc
   */
  protected handleAction(action: SplitBlockWithNodeAction, target: RTEImageBlock): void;
  /**
   * The image offset should be 0 or 1
   * <vega-rich-text-image-editor><img /></vega-rich-text-image-editor>
   *
   * @param {RTEImageNode} imageNode The split point image node.
   * @param {number} imageOffset The cursor point 0 | 1.
   * @param {RTEImageBlock} target The image block.
   * @returns {Nullable<RTEBlock>} The new block after split
   */
  private splitImageNodes;
  /**
   * Creates a new RTEImageBlock instance with the provided RTEImageNode instances appended to it.
   *
   * @param {RTEImageNode[]} nodes - An array of RTEImageNode objects that will be used to create a new RTEImageBlock instance.
   * @param {RTEImageBlock} target The image block.
   * @returns {RTEImageBlock} A new `RTEImageBlock` object with the provided `nodes` appended to it.
   */
  private cloneWithNodes;
}
