UNPKG

v-phone-input

Version:

International phone field for Vuetify 3 and Vue 3.

19 lines (18 loc) 677 B
import { PreferableCountryGuesser } from '../../types/countries'; import { default as Ip2cCountryGuesser } from './ip2cCountryGuesser'; interface StorageMemoIp2cCountryGuesserOptions { storage?: Storage; key?: string; } export default class StorageMemoIp2cCountryGuesser extends Ip2cCountryGuesser implements PreferableCountryGuesser { private readonly storage; private readonly key; constructor(options?: StorageMemoIp2cCountryGuesserOptions); guess(): Promise<string | undefined>; setPreference(country: string): void; private retrieveStoredCountry; private saveStoredCountry; getStorage(): Storage; getKey(): string; } export {};