/** * Displays help text or error messages within form elements - Internal Use Only. */ export class AuroHelpText extends LitElement { static get styles(): import("lit").CSSResult[]; static get properties(): { /** * Defines whether the component will be on lighter or darker backgrounds. * @property {'default', 'inverse'} * @default 'default' */ appearance: { type: StringConstructor; reflect: boolean; }; /** * @private */ slotNodes: { type: BooleanConstructor; }; /** * @private */ hasTextContent: { type: BooleanConstructor; }; /** * If declared, make font color red. */ error: { type: BooleanConstructor; reflect: boolean; }; /** * DEPRECATED - use `appearance` instead. */ onDark: { type: BooleanConstructor; reflect: boolean; }; }; /** * This will register this element with the browser. * @param {string} [name="auro-helptext"] - The name of element that you want to register to. * * @example * AuroCheckbox.register("custom-helptext") // this will register this element to * */ static register(name?: string): void; error: boolean; appearance: string; onDark: boolean; hasTextContent: boolean; updated(): void; handleSlotChange(event: any): void; slotNodes: any; /** * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content. * * @param {NodeList|Array} nodes - The list of nodes to check for content. * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false. * @private */ private checkSlotsForContent; render(): import("lit-html").TemplateResult<1>; } import { LitElement } from "lit";