import { VegaRTEAnnotations } from '../../../interface';
import { RTEFilterStyles, RTEFilterStylesStrategy } from '../filter-styles-strategy.abstract';
/**
 * Filters redundant `textAlign` from `customStyle` when parsing blocks that carry
 * a semantic `textAlign` annotation (RTETextBlock, RTEListBlock, RTEListItemBlock).
 *
 * During source-to-normal round-trips the `HorizontalAlignmentAnnotation` emits
 * `text-align` as an inline style (standalone mode), and `CustomStyleAnnotationHandler`
 * captures it into `customStyle`.  This strategy removes the duplicate so the
 * semantic annotation is the single source of truth.
 */
export declare class AlignmentFilterStylesStrategy extends RTEFilterStylesStrategy {
  protected stylesToBeFiltered: RTEFilterStyles;
  /**
   * @returns {boolean} Always `true` — alignment inline styles are always emitted
   * in standalone/source-edit mode, so the duplicate is always safe to remove.
   */
  get alwaysFilter(): boolean;
  /**
   * Removes `textAlign` from `customStyle` when it duplicates the value returned
   * by `HorizontalAlignmentAnnotation.getDefaultStyles(textAlign)`.
   *
   * @param {VegaRTEAnnotations} annotations - The annotations object (mutated in place).
   * @returns {VegaRTEAnnotations} The same annotations reference.
   */
  filterAnnotations(annotations: VegaRTEAnnotations): VegaRTEAnnotations;
}
