import { RemoveChildrenAction } from '../../actions/remove-child-action';
import type { RTECodeBlock } from '../../blocks/code-block';
import { BlockDeleteNodeContentStrategy } from './block-delete-node-content-strategy';
/**
 * Remove the code block from the value, call this action if want to flush value after action.
 */
export declare class CodeBlockRemoveSelfStrategy extends BlockDeleteNodeContentStrategy<RTECodeBlock> {
  /**
   * @inheritDoc
   */
  protected handleAction(_action: RemoveChildrenAction, target: RTECodeBlock): void;
  /**
   * Update the rich text next selection range.
   *
   * @param {RTENode} focusNode - The next focus node dto.
   * @param {Nullable<HTMLElement>} focusElement - The next focus element. The update selection task could run directly when the element is exist.
   * @param {number} offset - The next focus text offset.
   * @param {RTECodeBlock} target - The code block dto.
   */
  private notifyUpdateSelection;
  /**
   * Get the node content end offset.
   *
   * @param {Nullable<RTENode>} node - The RTENode.
   * @returns {number} - The number value.
   */
  private getRTENodeEndOffset;
}
