contact-item.d.ts 459 B

1234567891011121314
  1. import { ContactParams } from "./contact-params";
  2. export declare class ContactItem {
  3. readonly data: ContactParams;
  4. readonly id: string;
  5. readonly hash: string;
  6. readonly addrs: string[];
  7. readonly groups: string[];
  8. constructor(props: ContactParams);
  9. matchesAddressOrName(search: string): boolean;
  10. matchesGroup(group: string): boolean;
  11. getFirstEmail(): string | undefined;
  12. getMatchingAddresses(search: string): string[];
  13. }