import { RTEBlock } from '../../../dto/blocks/block.abstract';
import { VegaRTEBlockAnnotations, VegaRTEBlockBase, VegaRTETextBlock, VegaRTETransformOptions } from '../../../interface';
import { RTETableBlock } from './table-block';
import { RTENode } from '../../../dto/nodes/node.abstract';
export declare type VegaRTETableCaptionBlock = VegaRTEBlockBase & {
  type: string;
  children: VegaRTETextBlock[];
  annotations?: VegaRTEBlockAnnotations & {
    caption?: boolean;
  };
};
/**
 * Represents the optional caption block for a table.
 */
export declare class RTETableCaptionBlock extends RTEBlock<RTETableBlock, RTEBlock> {
  type: string;
  parent: RTETableBlock;
  children: RTEBlock[];
  constructor(id: string, options?: VegaRTETransformOptions);
  /**
   * @inheritDoc
   */
  static from(block: VegaRTETableCaptionBlock, options?: VegaRTETransformOptions): RTETableCaptionBlock;
  /**
   * @inheritDoc
   */
  clone(parent: RTETableBlock): RTETableCaptionBlock;
  /**
   * @inheritDoc
   */
  getLastNode(): RTENode;
  /**
   * @inheritDoc
   */
  isNotEmpty(): boolean;
  /**
   * @inheritDoc
   */
  toHtml(options?: VegaRTETransformOptions): string;
  /**
   * @inheritDoc
   */
  toJSON(): VegaRTETableCaptionBlock;
}
