import { CSSResultGroup, LitElement } from 'lit'; export type TextFieldVariant = "filled" | "outlined"; declare const TextField_base: import('@open-wc/form-control').Constructor & typeof LitElement; /** * @tag md-text-field * @summary Material Text Field web component */ export declare class TextField extends TextField_base { private leadingSlot; private trailingSlot; private customInputElement; static shadowRootOptions: ShadowRootInit; static formControlValidators: import('@open-wc/form-control').Validator[]; constructor(); static get styles(): CSSResultGroup; /** * The variant style of the textfield. */ private _variant; get variant(): TextFieldVariant; set variant(variant: TextFieldVariant); /** * The name associated with the text field. */ name: string; /** * The label for the text field. */ label: string; required: boolean; /** * Indicates an error state. */ error: boolean; /** * The placeholder text for the text field. */ placeholder: string; /** * Indicates a dirty state. */ dirty: boolean; private focused; nativeError: boolean; private ariaId; private get inputId(); /** * Indicates whether the text field is disabled or not. */ disabled: boolean; /** * Indicates whether the text field is read-only or not. Default is false. */ readOnly: boolean; /** * Specifies the type of the text field. Default value is "text". */ type: HTMLInputElement["type"]; /** * The current value of the text field. It is always a string. */ value: string; multiline: boolean; /** * The suffix for the text field. */ suffixText: string; /** * The prefix for the text field. */ prefixText: string; inputOrTextArea: HTMLInputElement | HTMLAreaElement; validationTarget: HTMLInputElement | HTMLAreaElement; resetFormControl(): void; get hasValidation(): boolean; private handleChange; private handleFocus; focus(): void; connectedCallback(): void; disconnectedCallback(): void; private get renderLeading(); private get renderTrailing(); get textFieldClass(): { "text-field__control_disabled": boolean; }; get populated(): boolean; private updateSlottedInput; private get renderInput(); private get renderTextarea(); private get renderFilledLabel(); private get renderInputOrTextArea(); private get renderFilled(); private get renderOutlined(); private get renderOutlinedLabel(); private get renderHelpText(); private get renderPrefix(); private get renderSuffix(); render(): import('lit').TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "md-text-field": TextField; } } export {};