import { type TTextInputComponent } from "@namiml/sdk-core"; import { NamiElement } from "../NamiElement"; import { type CSSResult, type PropertyValueMap } from "lit"; export declare class NamiTextInput extends NamiElement { component: TTextInputComponent; inFocusedState: boolean; scaleFactor: number; /** Live (non-reactive) buffer of the input value; mirrors PaywallState. */ private _value; /** Whether the input currently holds DOM focus. */ private _focused; /** Ref to the rendered ``, used to drive autofocus (`component.focused`). */ private _inputEl?; constructor(); connectedCallback(): void; protected updated(changedProperties: PropertyValueMap): void; private get isTelevision(); /** Map the wire `type` to the validator's `TTextInputType`. */ private validatorType; private validator; private get currentError(); private _handleInput; private _handleFocus; private _handleBlur; /** * Dismiss the keyboard when a pointer-down lands outside this field. Blurring * the inner `` fires the `@blur` handler, which commits the value. * Registered in the capture phase only while focused (see `_handleFocus`). */ private _onOutsidePointerDown; disconnectedCallback(): void; protected styles(): CSSResult; private resolvedSpacing; private resolvedBorderWidth; private applyLabelStyles; /** * 4-state styling: error > focused > filled > empty. Errors and focus override * the resting border/fill/radius. Filled vs empty share the resting style; the * distinction exists for parity with the native ports and future theming. */ private applyInputStyles; private applyErrorStyles; render(): import("lit-html").TemplateResult<1>; }