import type { RTEBlock } from '../../../dto/blocks/block.abstract';
import { InsertTableBlockAction } from '../actions/insert-table-block-action';
import { ActionHandleStrategy } from '../../../dto/action-handle-strategies/action-handle-strategy.abstract';
/**
 * Strategy to handle the insertion of a block into the rich text editor.
 */
export declare class InsertTableBlockStrategy extends ActionHandleStrategy<InsertTableBlockAction, RTEBlock> {
  /**
   * @inheritDoc
   */
  protected handleAction(action: InsertTableBlockAction, target: RTEBlock): void;
  /**
   * Create a table block with the specified number of rows and columns.
   *
   * @param {number} row - The number of rows in the table.
   * @param {number} column - The number of columns in the table.
   * @returns {RTETableBlock} The created table block.
   */
  private createTableBlock;
  /**
   * We need to get the correct block if the current target is a block element to avoid nesting blocks.
   *
   * @param {RTEBlock} currentTarget - The current target block or content.
   * @returns {Nullable<RTEBlock>} The reference block.
   */
  private getReferenceBlock;
}
