import { type Notifier } from '@ni/fast-element';
import { FoundationElement } from '@ni/fast-foundation';
import { RichTextMention } from '../../rich-text-mention/base';
import { Configuration } from '../models/configuration';
import { RichTextUpdateTracker } from '../models/rich-text-tracker';
import { RichTextValidator } from '../models/rich-text-validator';
import type { RichTextValidity } from './types';
/**
 * Base class for rich text components
 */
export declare abstract class RichText extends FoundationElement {
    /**
     * @internal
     */
    mentionInternalsNotifiers: Notifier[];
    /**
     * @internal
     */
    readonly childItems: Element[];
    protected configuration?: Configuration;
    protected mentionElements: RichTextMention[];
    protected readonly richTextUpdateTracker: RichTextUpdateTracker;
    protected readonly richTextValidator: RichTextValidator;
    /**
     * @public
     */
    get validity(): RichTextValidity;
    /**
     * @public
     */
    checkValidity(): boolean;
    /**
     * @internal
     */
    abstract getMentionedHrefs(): string[];
    /**
     * @internal
     */
    handleChange(source: unknown, args: unknown): void;
    /**
     * @internal
     */
    createConfig(): void;
    protected validate(): void;
    private childItemsChanged;
    private updateMentionElementsFromChildItems;
    private observeMentionInternals;
    private removeMentionInternalsObservers;
}
