import { IClearable } from '../../../Behaviors/Clearable'; import { type IInvalidable } from '../../../Behaviors/Invalidable'; import { ISlottable } from '../../../Behaviors/Slottable'; import { ResizeMode } from '../../../Types/Resize'; import { RichTextBoxTool } from '../../../Types/RichTextBoxCommand'; import type { IConnectedCallback } from '../../Abstracts/Interfaces/IConnectedCallback'; import { InputBaseElement } from '../Abstracts/InputBase'; import type { IRichTextBoxElementProps } from './IRichTextBoxElementProps'; import { RichTextBoxElementIntl } from './Intl/RichTextBoxElementIntl'; declare const RichTextBoxElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Clearable").IClearableProps & import("../../../Behaviors/Clearable").IClearableEvents & IClearable) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => IInvalidable & import("../../../Behaviors/Invalidable").IInvalidableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Labelable").ILabelableProps) & typeof InputBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Rich Text Box - A user interface component for inputting and displaying formatted text. * * @element mosaik-richtextbox * * @description * The Rich Text Box is a versatile component designed for inputting and displaying text with various formatting options. * It allows users to create and edit text content with features such as text styling (bold, italics, underline), * text alignment, bullet points, numbered lists, and more. Rich Text Boxes are commonly used in applications where users * need to compose and format text, such as document editors, email clients, or content management systems. * * @category Forms * * @fires cleared {ClearedEvent} - Fired when the value is cleared. * * @slot prefix - The prefix slot. * @slot suffix - The suffix slot. * * @csspart prefix * @csspart input * @csspart suffix * @csspart inner * * @example * ```html * * ``` * * @public */ export declare class RichTextBoxElement extends RichTextBoxElement_base implements IConnectedCallback, IRichTextBoxElementProps, IInvalidable, ISlottable, IClearable { private readonly _intl; private readonly _commands; private _inputElement; private _value; private _multilineRows; private _readonly; private _required; private _autofocus; private _name; private _pattern; private _placeholder; private _autocomplete; private _minlength; private _maxlength; private _resize; private _showToolbar; /** * @public */ constructor(); /** * Returns the `is` property. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `value` property. * * @public * @override */ get value(): string; set value(value: string); /** * Gets or sets the `readonly` property. * * @public * @attr */ get readonly(): boolean; set readonly(value: boolean); /** * Gets or sets the `required` property. * * @public * @attr */ get required(): boolean; set required(value: boolean); /** * Gets or sets the `autofocus` property. * * @public * @override */ get autofocus(): boolean; set autofocus(value: boolean); /** * Gets or sets the `name` property. * * @public * @attr */ get name(): string; set name(value: string); /** * Gets or sets the `pattern` property. * * @public * @attr */ get pattern(): string; set pattern(value: string); /** * Gets or sets the `placeholder` property. * * @public * @attr */ get placeholder(): string; set placeholder(value: string); /** * Gets or sets the `autocomplete` property. * * @public * @attr */ get autocomplete(): boolean; set autocomplete(value: boolean); /** * Gets or sets the `minlength` property. * * @public * @attr */ get minlength(): number | null; set minlength(value: number | null); /** * Gets or sets the `maxlength` property. * * @public * @attr */ get maxlength(): number | null; set maxlength(value: number | null); /** * Gets or sets the `multilineRows` property. * * @public * @attr */ get multilineRows(): number; set multilineRows(value: number); /** * Gets or sets the `resize` property. * * @public * @attr */ get resize(): ResizeMode; set resize(value: ResizeMode); /** * Gets or sets the `showToolbar` property. * * @public * @attr */ get showToolbar(): boolean; set showToolbar(value: boolean); /** * Determines whether the element has a prefix or not. * The Prefix is a slot that is displayed before the input. * * @private * @readonly * @attr */ get hasPrefix(): boolean; /** * Determines whether the element has a suffix or not. * The Suffix is a slot that is displayed after the input. * * @private * @readonly * @attr */ get hasSuffix(): boolean; /** * Returns the `intl` property. * * @public * @readonly */ get intl(): RichTextBoxElementIntl; /** * @public * @override */ connectedCallback(): void; /** * @public */ command(name: RichTextBoxTool): boolean; /** * Sets focus to the element. * * @public * @override */ focus(): void; /** * Removes focus from the element. * * @public * @override */ blur(): void; /** * Resets the value, all kinds of validation and errors. * * @public * @override */ reset(): void; /** * Clears the value of the element but not the validation. * * @public * @override */ clear(force?: boolean): boolean; /** * Checks the validity of the element and returns `true` if it is valid; otherwise, `false`. * * @public * @override */ checkValidity(): boolean; /** * @protected * @override */ protected onApplyTemplate(): void; /** * @protected * @template */ onChange(event: Event): void; /** * @protected * @template * @override */ onInput(event: InputEvent): void; /** * @protected * @template * @override */ onFocus(event: FocusEvent): void; /** * @protected * @template * @override */ onBlur(event: FocusEvent): void; /** * @private */ private processValue; } /** * @public */ export declare namespace RichTextBoxElement { type Props = IRichTextBoxElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-richtextbox': RichTextBoxElement; } } export {}; //# sourceMappingURL=RichTextBoxElement.d.ts.map