import { PropDef, SyElement } from '@sylar_iii/ui'; import type { PhoneNumberType } from '@sylar_iii/ui/types'; /** * International phone field with a searchable country picker: ``. * Form-associated: submits the E.164 number when valid, the typed text otherwise. */ export declare class SyPhoneInputElement extends SyElement { static formAssociated: boolean; static props: Record; static styles: string; static get observedAttributes(): string[]; /** Country (a COUNTRIES value) selected before the user picks one. */ defaultCountry: string; /** The typed number, as text. */ value: string; /** Types that count as valid. Default: all of them. */ acceptedNumbersTypes: PhoneNumberType[]; /** Form field name. */ name: string; required: boolean; disabled: boolean; label: string; placeholder: string; private readonly _internals; private _country; private _flags; private _initial; private _touched; private _formDisabled; private _open; private _query; private _active; private readonly _onDocumentClick; connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(attr: string, old: string | null, value: string | null): void; formDisabledCallback(disabled: boolean): void; formResetCallback(): void; /** Same surface as sy-input, so Angular forms can read validity. */ get validity(): ValidityState; get validationMessage(): string; protected render(root: ShadowRoot): void; protected update(changed: ReadonlySet): void; private _onNumberInput; /** Validates, updates the form value and the error text. Returns the parsed model. */ private _sync; private _validate; private _renderCountry; /** Flag image when loaded, otherwise the text code. */ private _fillBadge; private _setOpen; private _openPicker; private _closePicker; private _choose; private _filtered; private _renderOptions; private _createOption; private _patchOption; private _scrollActive; private _onPickerKey; } declare global { interface HTMLElementTagNameMap { 'sy-phone-input': SyPhoneInputElement; } }