contact-address.d.ts 517 B

12345678910111213
  1. export declare class ContactAddress {
  2. static fromPrefixedString(prefixed: string): ContactAddress;
  3. static parsePhoneNumber(search: string): string | undefined;
  4. static parseEmail(search: string): string | undefined;
  5. static formatPhoneNumber(phoneNumber: string): string;
  6. type: string;
  7. address: string;
  8. constructor(type: string, address: string);
  9. matches(search: string): boolean;
  10. matchesExactly(addressType: string, addressValue: string): boolean;
  11. toPrefixedString(): string;
  12. }