contact-item.d.ts 607 B

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