export class RichText extends HTMLElement {
    static formAssociated: boolean;
    static get observedAttributes(): string[];
    _submitOnEnter: boolean;
    _toolbar: boolean;
    _spellcheck: boolean;
    _value: string;
    _placeholder: string;
    _disabled: boolean;
    _required: boolean;
    _format: string;
    /**
     * Update the form field name.
     * @param {string|null} v
     */
    set name(v: string | null);
    /**
     * Current form field name used when serialising via `FormData`.
     * @returns {string}
     */
    get name(): string;
    /**
     * Set the placeholder text.
     * @param {string|null} v
     */
    set placeholder(v: string | null);
    /**
     * Placeholder text shown while the editor is empty.
     * @returns {string}
     */
    get placeholder(): string;
    /**
     * Enable or disable user input.
     * @param {boolean} v
     */
    set disabled(v: boolean);
    /**
     * Indicates whether user input is enabled.
     * @returns {boolean}
     */
    get disabled(): boolean;
    /**
     * Toggle required validation.
     * @param {boolean} v
     */
    set required(v: boolean);
    /**
     * Whether the control participates in required form validation.
     * @returns {boolean}
     */
    get required(): boolean;
    /**
     * Enable or disable submit-on-enter behaviour.
     * @param {boolean} v
     */
    set submitOnEnter(v: boolean);
    /**
     * Submit-on-enter behaviour flag.
     * @returns {boolean}
     */
    get submitOnEnter(): boolean;
    /**
     * Show or hide the formatting toolbar.
     * @param {boolean} v
     */
    set toolbar(v: boolean);
    /**
     * Whether the formatting toolbar is rendered.
     * @returns {boolean}
     */
    get toolbar(): boolean;
    /**
     * Change the output format for future values.
     * @param {string|null} v
     */
    set format(v: string | null);
    /**
     * Current output format for the value (HTML or Markdown).
     * @returns {"html"|"markdown"}
     */
    get format(): "html" | "markdown";
    /**
     * Update the editor value programmatically.
     * @param {string|null} v
     */
    set value(v: string | null);
    /**
     * Serialised editor contents respecting the configured `format`.
     * @returns {string}
     */
    get value(): string;
    /**
     * Reflect attribute mutations into the corresponding property state.
     * @param {string} name
     * @param {string|null} oldV
     * @param {string|null} newV
     */
    attributeChangedCallback(name: string, oldV: string | null, newV: string | null): void;
    /**
     * Reference to the associated HTMLFormElement, when applicable.
     * @returns {HTMLFormElement|null}
     */
    get form(): HTMLFormElement | null;
    /**
     * Run native form validation against the control.
     * @returns {boolean}
     */
    checkValidity(): boolean;
    /**
     * Report validity using the browser's built-in UI.
     * @returns {boolean}
     */
    reportValidity(): boolean;
    /**
     * Attach DOM, adopted styles, and hydrate the initial value on connect.
     * @returns {Promise<void>}
     */
    connectedCallback(): Promise<void>;
    #private;
}
//# sourceMappingURL=pds-richtext.d.ts.map