import { LitElement } from 'lit'; import '../sds-alert/sds-alert'; import '../sds-icon/sds-icon'; import { SDS_SIZES } from '../types'; type InputType = 'hidden' | 'text' | 'search' | 'tel' | 'url' | 'email' | 'password' | 'datetime' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'range' | 'color' | 'checkbox' | 'radio' | 'file' | 'submit' | 'image' | 'reset' | 'button'; type InputSize = Extract; export type AutocompleteTypes = 'off' | 'on' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'impp' | 'url' | 'photo'; export interface SDSTextFieldProps { type?: InputType; value?: string; name?: string; label?: string; placeholder?: string; 'help-text'?: string; 'error-message'?: string; disabled?: boolean; readonly?: boolean; autocomplete?: AutocompleteTypes; required?: boolean; pattern?: string; minlength?: number; maxlength?: number; size?: InputSize; } declare const SDSTextField_base: import("../mixins/types").Constructable & import("../mixins/types").Constructable & typeof LitElement; export declare class SDSTextField extends SDSTextField_base { static styles: import("lit").CSSResult[]; type: SDSTextFieldProps['type']; value?: SDSTextFieldProps['value']; name?: SDSTextFieldProps['name']; label?: SDSTextFieldProps['label']; placeholder?: SDSTextFieldProps['placeholder']; helpText?: SDSTextFieldProps['help-text']; errorMessage?: SDSTextFieldProps['error-message']; disabled: SDSTextFieldProps['disabled']; readOnly: SDSTextFieldProps['readonly']; autocomplete?: SDSTextFieldProps['autocomplete']; required: SDSTextFieldProps['required']; pattern?: SDSTextFieldProps['pattern']; minlength?: SDSTextFieldProps['minlength']; maxlength?: SDSTextFieldProps['maxlength']; size: SDSTextFieldProps['size']; private hasIcon; control: HTMLInputElement; static formAssociated: boolean; readonly internals: ElementInternals; static shadowRootOptions: ShadowRootInit; private _defaultValue; constructor(); connectedCallback(): void; updated(changedProperties: Map): void; private readonly handleSlotChange; private updateValidity; private readonly _handleInputChange; private readonly _handleSelect; private readonly _handleFocus; private readonly _handleBlur; private readonly _handleKeyDown; formResetCallback(): void; select(): void; get selectionStart(): number | null; set selectionStart(value: number | null); get selectionEnd(): number | null; set selectionEnd(value: number | null); setSelectionRange(start: number, end: number, direction?: 'forward' | 'backward' | 'none'): void; checkValidity(): boolean; reportValidity(): boolean; setCustomValidity(message: string): void; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'sds-textfield': SDSTextField; } } export {}; //# sourceMappingURL=sds-textfield.d.ts.map