import type { CountryCode } from 'libphonenumber-js'; import { CountryDataType } from '../../enum/countries'; import { IVcBaseInputProps } from '../../composables/input/useInputBase'; type PhoneResultType = { countryCallingCode: string; country: CountryCode | string; formatted: string; nationalNumber: string; number: string; isValid: boolean; }; interface IPhoneInputProps extends IVcBaseInputProps { modelValue: string | number; defaultCountry?: CountryCode | undefined; preferredCountries?: Array; ignoredCountries?: Array; dataTestName?: string; placeholder?: string; maxLength?: string | number; minLength?: string | number; readonly?: boolean; isError?: boolean; } declare function onCountrySelectVisibilityChange(): void; declare function filterMethod(value: string): boolean; declare function findCountryByDialCode(dialCode: number | string): CountryDataType | undefined; declare function setPhoneData(value: string, country: CountryCode | undefined): Promise; declare function handleNationalNumberInput(value: string): void; declare function handleTelNumberChange(): Promise; declare function handleCountryCodeInput(value: CountryCode | undefined): void; declare function getValidState(): boolean; declare const _default: __VLS_WithTemplateSlots, { id: undefined; name: undefined; disabled: boolean; defaultCountry: undefined; preferredCountries: () => never[]; ignoredCountries: () => string[]; dataTestName: string; placeholder: undefined; maxLength: undefined; minLength: undefined; readonly: boolean; isError: boolean; maxWidth: string; prefixIcon: string; prefixIconSize: string; prefixIconColor: string; color: string; }>>, { getValidState: typeof getValidState; setPhoneData: typeof setPhoneData; findCountryByDialCode: typeof findCountryByDialCode; handleNationalNumberInput: typeof handleNationalNumberInput; handleTelNumberChange: typeof handleTelNumberChange; handleCountryCodeInput: typeof handleCountryCodeInput; onCountrySelectVisibilityChange: typeof onCountrySelectVisibilityChange; filterMethod: typeof filterMethod; activeCountryCode: import("vue").Ref; countrySelectFilterModel: import("vue").Ref; phoneNumber: import("vue").Ref; isDefaultState: import("vue").Ref; isValidNumber: import("vue").ComputedRef; filteredByPreferredCountries: import("vue").ComputedRef; filteredBySearchCountries: import("vue").ComputedRef; selectedCountry: import("vue").ComputedRef; formattedPhoneNumber: import("vue").ComputedRef; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (pl: string | number) => void; "update:details": (pl: PhoneResultType) => void; "update:country": (pl: CountryCode | undefined) => void; }, string, import("vue").PublicProps, Readonly, { id: undefined; name: undefined; disabled: boolean; defaultCountry: undefined; preferredCountries: () => never[]; ignoredCountries: () => string[]; dataTestName: string; placeholder: undefined; maxLength: undefined; minLength: undefined; readonly: boolean; isError: boolean; maxWidth: string; prefixIcon: string; prefixIconSize: string; prefixIconColor: string; color: string; }>>> & Readonly<{ "onUpdate:modelValue"?: ((pl: string | number) => any) | undefined; "onUpdate:details"?: ((pl: PhoneResultType) => any) | undefined; "onUpdate:country"?: ((pl: CountryCode | undefined) => any) | undefined; }>, { minLength: string | number; maxLength: string | number; id: string; color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative"; disabled: boolean; name: string; placeholder: string; maxWidth: string | number; isError: boolean; dataTestName: string; prefixIconColor: string; prefixIcon: import("../..").TIcon; prefixIconSize: string; readonly: boolean; defaultCountry: CountryCode; preferredCountries: CountryCode[]; ignoredCountries: CountryCode[]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { prefix?(_: { countryCode: CountryCode; country: CountryDataType | undefined; }): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };