contact-item.d.ts 511 B

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