import { ICountryAbbrWrapper, IFormatWrapper, IValueWrapper, StringNumberT } from '../definitions.interface'; /** * @config-entity * @stable [19.09.2020] */ export interface IPhoneConfigEntity extends ICountryAbbrWrapper, IFormatWrapper, IValueWrapper { } /** * @stable [24.12.2019] */ export interface IPhoneEntity { getCountryCode?(): number; getNationalNumber?(): number; } /** * @stable [24.12.2019] */ export interface IPhoneConverter { countryCodeByRegion: string; countryCodeByRegionDisplayValue: string; format(config: IPhoneConfigEntity): string; formatAsInternational(config: IPhoneConfigEntity): string; formatAsNational(config: IPhoneConfigEntity): string; parse(config: IPhoneConfigEntity): IPhoneEntity; phoneDisplayValue(config: IPhoneConfigEntity): string; phoneParameter(config: IPhoneConfigEntity): string; }