import { NodeAnnotation, NodeAnnotationTypeEnum } from './node-annotation.abstract';
import { AnnotationStyle, RTERenderContext } from '../../interface';
import { Nullable } from '../../../../types/general';
/**
 * Annotation to make text bold
 */
export declare class BoldAnnotation extends NodeAnnotation {
  readonly type: NodeAnnotationTypeEnum;
  bold: boolean;
  constructor(bold: boolean);
  /**
   * Generate the map item for the annotation
   *
   * @param {boolean} bold - Bold annotation
   * @returns {[NodeAnnotationTypeEnum.BOLD, BoldAnnotation]} Map item for the annotation
   */
  static from(bold: boolean): [NodeAnnotationTypeEnum.BOLD, BoldAnnotation];
  /**
   * Generate the JSON representation of the annotation
   *
   * @returns {Record<string, unknown>} JSON representation of the annotation
   */
  toJSON(): Record<string, unknown>;
  /**
   * @inheritDoc
   */
  clone(): BoldAnnotation;
  /**
   * @inheritDoc
   */
  renderClass(options?: RTERenderContext): Nullable<string>;
  /**
   * @inheritDoc
   */
  renderStyle(options?: RTERenderContext): Nullable<AnnotationStyle>;
}
