import type { BrickConstructor, RichTextOptions } from "../types.js";
import type EdenTextHelper from "../user-interface/block/eden-text-helper.js";
import Text from "./Text.js";
export default class RichText extends Text {
    options?: RichTextOptions;
    watchSelectionChange: boolean;
    hasTextLengthOption?: number;
    enforceTextLength?: boolean;
    textLengthHelper?: EdenTextHelper;
    emailPresenceHelper?: EdenTextHelper;
    constructor({ block, element, parentBricks, options }: BrickConstructor);
    updateSource: (html: string) => void;
    updateLink: (url?: string, title?: string, target?: boolean) => void;
    cleanupEmptyWithBr: () => void;
    activate(): void;
    desactivate(): void;
}
export declare function findParentFromSelection(selector: string): Element | null;
//# sourceMappingURL=RichText.d.ts.map