import { RTEBlock } from '../../../dto/blocks/block.abstract';
import { RTENode } from '../../../dto/nodes/node.abstract';
import { VegaRTEBlockAnnotations, VegaRTEBlockBase, VegaRTEContentBlock, VegaRTETransformOptions } from '../../../interface';
import { RTETableRowBlock } from './table-row-block';
import { VegaRTETableCellAnnotation } from '../annotations/table-cell-annotation';
export declare type VegaRTETableCellBlock = VegaRTEBlockBase & {
  type: string;
  children: VegaRTEContentBlock[];
  annotations?: VegaRTEBlockAnnotations & {
    tableCell?: VegaRTETableCellAnnotation;
  };
};
/**
 * Class representing a table cell block in the rich text editor.
 */
export declare class RTETableCellBlock extends RTEBlock<RTETableRowBlock, RTEBlock> {
  static readonly dtoName: string;
  readonly dtoName: string;
  type: string;
  parent: RTETableRowBlock;
  children: RTEBlock[];
  constructor(id: string, options?: VegaRTETransformOptions);
  /**
   * @inheritDoc
   */
  static from(block: VegaRTETableCellBlock, options?: VegaRTETransformOptions): RTETableCellBlock;
  /**
   * @inheritDoc
   */
  clone(parent: RTETableRowBlock): RTETableCellBlock;
  /**
   * @inheritDoc
   */
  getLastNode(): RTENode;
  /**
   * @inheritDoc
   */
  isNotEmpty(): boolean;
  /**
   * Get the rowSpan of the table cell
   *
   * @returns {number} - rowSpan value
   */
  get rowSpan(): number;
  /**
   * Get the colSpan of the table cell
   *
   * @returns {number} - colSpan value
   */
  get colSpan(): number;
  /**
   * @inheritDoc
   */
  toHtml(options?: VegaRTETransformOptions): string;
  /**
   * @inheritDoc
   */
  toJSON(): VegaRTETableCellBlock;
  /**
   * Get custom attribute by name
   *
   * @param {string} attrName - attribute name
   * @returns {Nullable<string>} - attribute value
   */
  private getCustomAttributeByName;
}
