import { Nullable } from '../../../../../types/general';
import { BlockAnnotation } from '../../../dto/annotations/block-annotation.abstract';
import { AnnotationStyle } from '../../../interface';
import { RTETableExtensionAnnotationTypeEnum } from './table-annotation';
/**
 * Class representing a table color annotation in the rich text editor.
 */
export declare class RTETableColorAnnotation extends BlockAnnotation<RTETableExtensionAnnotationTypeEnum.COLOR> {
  type: RTETableExtensionAnnotationTypeEnum.COLOR;
  private color;
  private colorKey?;
  constructor(colorKey?: string);
  /**
   * Render the style for the annotation
   *
   * @returns {AnnotationStyle} The style object containing the color
   */
  renderStyle(): AnnotationStyle;
  /**
   * Render the CSS class for the annotation
   *
   * @returns {Nullable<string>} Always returns null as no CSS class is used
   */
  renderClass(): Nullable<string>;
  /**
   * Convert the annotation to a JSON representation
   *
   * @returns {Record<string, string>} A JSON object containing the color key
   */
  toJSON(): Record<string, string>;
  /**
   * Clone the current annotation
   *
   * @returns {BlockAnnotation<RTETableExtensionAnnotationTypeEnum.COLOR>} A new instance of RTETableColorAnnotation with the same color key
   */
  clone(): BlockAnnotation<RTETableExtensionAnnotationTypeEnum.COLOR>;
  /**
   * format table color
   *
   * @param {string} colorKey - table color
   * @returns {Nullable<VegaRTEColorSchema>} - VegaRTEColorSchema
   */
  private formatColor;
}
