import type { VegaCountryCode } from '../../types/flag.type'; /** * Represents a parsed phone number. */ export declare class PhoneNumber { country: VegaCountryCode | undefined; countryCallingCode: string; nationalNumber: string; /** * Creates a new PhoneNumber instance. * * @param {string} countryCallingCode - The country calling code for the phone number. * @param {string} nationalNumber - The national portion of the phone number. * @param {VegaCountryCode} country - The optional country code associated with the number. */ constructor(countryCallingCode: string, nationalNumber: string, country?: VegaCountryCode); /** * Returns true if the national number matches the country's validation * pattern and its length is among the expected possible lengths. * * @returns {boolean} Whether the phone number is valid. */ isValid(): boolean; }