export declare class Contact { publicKey: string; relay?: string; petname?: string; constructor({ publicKey, relay, petname }: { publicKey: string; relay?: string; petname?: string; }); toTag(): string[]; static fromParams([publicKey, relay, petname]: string[]): Contact; static toTags(contacts: Contact[]): string[][]; static find(publicKey: any, contacts: Contact[]): number; static merge(contacts: Contact[], newContacts: Contact[]): Contact[]; static remove(publicKey: string | string[], contacts: Contact[]): Contact[]; static toMap(contacts: Contact[], contactsMap?: Map): Map; }