contact-item.d.ts 716 B

12345678910111213141516171819202122
  1. import { ContactAddress } from "./contact-address";
  2. import { ContactParams } from "./contact-params";
  3. export declare class ContactItem {
  4. readonly data: ContactParams;
  5. readonly id: string;
  6. readonly hash: string;
  7. addrs: ContactAddress[];
  8. groups: string[];
  9. names: string[];
  10. notes: string;
  11. canSendFromAddrs: ContactAddress[];
  12. constructor(props: ContactParams);
  13. matchesGroup(group: string): boolean;
  14. getFirstEmail(): string | undefined;
  15. getFirstPhone(): string | undefined;
  16. search(search: string): boolean;
  17. matchesAddressExactly(addressType: string, addressValue: string): boolean;
  18. generateName(): string;
  19. getName(): string;
  20. getData(): ContactParams;
  21. }