contact-item.d.ts 490 B

12345678910111213141516
  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. notes: string;
  9. constructor(props: ContactParams);
  10. matchesAddressOrName(search: string): boolean;
  11. matchesGroup(group: string): boolean;
  12. getFirstEmail(): string | undefined;
  13. getMatchingAddresses(search: string): string[];
  14. getData(): ContactParams;
  15. }