import { 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<CountryCode>;
    ignoredCountries?: Array<CountryCode>;
    dataTestName?: string;
    placeholder?: string;
    maxLength?: string | number;
    minLength?: string | number;
    readonly?: boolean;
    isError?: boolean;
}
declare function findCountryByDialCode(dialCode: number | string): CountryDataType | undefined;
declare function setPhoneData(value: string, country: CountryCode | undefined): void;
declare function getValidState(): boolean;
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPhoneInputProps>, {
    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;
}, {}, {}, {}, 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<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPhoneInputProps>, {
    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;
    name: string;
    color: "" | "primary" | "secondary" | "destructive" | "success" | "warning" | "active" | "primary-alternative";
    disabled: boolean;
    placeholder: string;
    maxWidth: string | number;
    isError: boolean;
    dataTestName: string;
    prefixIconColor: string;
    prefixIcon: string;
    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> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: import('vue').PropType<T[K]>;
        required: true;
    };
};
type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};
type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
