import type * as Pinnacle from "../index.mjs"; /** * Key details about a phone number, including its validity, type, location, carrier, and contact information. * Provides the essential data required for verification, display, and basic analysis. */ export interface BasicPhoneInformation { /** Indicates whether the phone number is valid and capable of receiving communications. */ isValid: boolean; /** Classification of the phone number. */ type: Pinnacle.PhoneNumberEnum; /** Different standardized ways the phone number can be formatted for display. */ formats: Pinnacle.NumberFormat; /** Geographic and political details where the phone number is registered. */ location: BasicPhoneInformation.Location; /** The telecommunications carrier or service provider for the number. */ carrier: string; /** Contact information linked to the phone number registration, if available. */ contact: BasicPhoneInformation.Contact; } export declare namespace BasicPhoneInformation { /** * Geographic and political details where the phone number is registered. */ interface Location { /** Information about the country of registration. */ country: Location.Country; /** Location description including region, state/province, and city. */ place: string; } namespace Location { /** * Information about the country of registration. */ interface Country { /** Two-letter country code where the number is registered. */ code: string; /** Full name of the country. */ name: string; /** International dialing prefix for the country. */ prefix: string; } } /** * Contact information linked to the phone number registration, if available. */ interface Contact { /** Registered name associated with the phone number. */ name: string; } }