import { EventEmitter } from '../../stencil-public-runtime'; export declare class InputPhoneNumber { host: HTMLRInputPhoneNumberElement; /** Phone number value */ value?: string; /** Specifies the `id` of the `
` to which the element belongs */ form?: string; /** Specifies if element must be ignored during validation of the form elements */ novalidate?: boolean; /** The label for the phone number. */ label: string; /** An optional field indicator for the label. */ fieldIndicator?: string; /** Optional hint giving additional context to the user */ hint?: string; /** Specifies a name for an input for submitting within formData object. */ name: string; /** Label for phone input */ inputLabel?: string; /** Label for countryCode code */ countryCodeLabel?: string; /** Prevents user interaction and applies disabled style. */ disabled?: boolean; /** * Makes the date inputs read-only: users can focus and copy the value, * but cannot modify it (value still submitted with the form unlike disabled). */ readonly?: boolean; /** Specifies that phone number value is required */ required?: boolean; /** Visual indication of valid state */ valid?: boolean; /** Validity indicator, serving to change UI of the component */ invalid?: boolean; /** Custom validation error message */ error?: string; /** Set custom message for `customError` property of a ValidityState object indicating whether the element's custom validity message has been set to a non-empty string by calling the element's setCustomValidity() method. */ customErrorMessage?: string; /** Set custom message for `valueMissing` property of a ValidityState object (set by `required`) within Constrain Validation API */ valueMissingMessage?: string; /** Custom error message displayed when phone number is not valid. */ invalidPhoneNumberMessage?: string; /** Defines if the component suppose to occupy 100% width */ fullWidth?: boolean; fullPhoneNumber: string; phoneNumber: string; validityState: string; validityMessage: string; /** Emits 'rInput' event when value of the component is changing */ rInput: EventEmitter<{ element: HTMLRInputPhoneNumberElement; value: string; phoneNumber: string; countryCode: string; }>; /** Emits 'rChange' event when value of the component has been changed */ rChange: EventEmitter<{ element: HTMLRInputPhoneNumberElement; value: string; countryCode: string; phoneNumber: string; }>; /** Emits event after each validation */ rValidate: EventEmitter<{ state: string; message: string; }>; /** Emits 'rReset' event when form containing the component was reset */ rReset: EventEmitter<{ element: HTMLRInputPhoneNumberElement; value: string; }>; /** Returns the element value. */ getValue(): Promise; /** Set the element value. */ setValue(value: string): Promise; /** Validates an element, displays provided message in case value is invalid. */ setCustomValidity(message: string): Promise; /** * Validates the input phone number without triggering UI and returns a boolean indicating its validity. * @returns A boolean indicating whether the input phone number is valid. */ checkValidity(): Promise; /** Check validity and reveal validation state. */ reportValidity(): Promise; /** Reset phone number input to its initial state */ reset(): Promise; watchValueChange(value: string): void; handleDisabledChange(): void; handleRequiredChange(): void; handleReadonlyChange(): void; handleLabelChange(): void; private uniqueId; /** * Initial attributes state * */ private initial; private nativeElement; /** Identify wrapping form element */ private get parentFormEl(); private get countryCodeElement(); private get countryCode(); private get ariaDescribedBy(); private get hasError(); private get hasValidationError(); private get hasMessage(); private get errorMessage(); /** * Determine whether this element should be ignored * during Constraint Validation API validation. * */ private get isNoValidate(); private updateValues; private setCountryCodeElementAttributes; private getPhoneValidationResult; private handleOnInput; private handleInputOnChange; private handleValueChange; private validateFormElement; private getValidityStateData; private onSubmitForm; private contributeToFormData; private onResetForm; private connectEventListeners; private disconnectEventListeners; componentWillLoad(): void; componentDidLoad(): void; disconnectedCallback(): void; render(): any; }