import { VegaRTETextStyleType } from '../../interface';
import { AnnotationAction } from './annotation-action.abstract';
import { BlockAnnotation } from '../annotations/block-annotation.abstract';
/**
 * Action to change the text style of a block
 */
export declare class TextStyleAnnotationAction extends AnnotationAction {
  isFlushable: boolean;
  textStyle: VegaRTETextStyleType;
  bold?: boolean;
  constructor(textStyle: VegaRTETextStyleType, bold?: boolean);
  /**
   * Converts the action to a block annotation
   *
   * @returns {BlockAnnotation} the block annotation
   */
  toAnnotation(): BlockAnnotation;
}
