import { CSSResultGroup, LitElement } from 'lit'; /** * Text field * * @prop {boolean} disabled - If text field is disabled. * @prop {boolean} password - If text field accepts passwords. * @prop {boolean} readonly - If text field is readonly. * @prop {boolean} required - If text field is required. * @prop {string} placeholder - Sets the placeholder for text field * @prop {string} value - Sets the Value for text field * * @fires change - Fires when the text field is edited. */ export declare class TextFieldElement extends LitElement { static styles: CSSResultGroup; disabled: boolean; password: boolean; placeholder: string; readonly: boolean; required: boolean; value: string; private input; updated(changedProperties: Map): void; render(): import('lit').TemplateResult<1>; /** Handle input change */ private onInputChange; /** Handle key down event (Escape to clear input) */ private onKeyDown; /** Handle focus event */ private onFocus; /** Handle blur event */ private onBlur; /** Clear input value */ private clear; /** Get readonly display value */ private get readonlyValue(); /** Determine if the input is clearable */ private get clearable(); } declare global { interface HTMLElementTagNameMap { 'cds-text-field': TextFieldElement; } }