import { Fetcher, IndexedFormula, UpdateManager } from "rdflib"; import { AddContactToGroupCommand, AddNewEmailAddressCommand, AddNewPhoneNumberCommand, AddressBook, AddressBookLists, ContactsModule, CreateAddressBookCommand, CreateNewContactCommand, CreateNewGroupCommand, FullContact, FullGroup, RemoveContactFromGroupCommand, RemoveEmailAddressCommand, RemovePhoneNumberCommand, RenameContactCommand, UpdateEmailAddressCommand, UpdatePhoneNumberCommand } from "../index.js"; interface ModuleConfig { store: IndexedFormula; fetcher: Fetcher; updater: UpdateManager; } export declare class ContactsModuleRdfLib implements ContactsModule { private readonly fetcher; private readonly store; private readonly updater; private readonly support; constructor(config: ModuleConfig); readAddressBook(uri: string): Promise; createAddressBook({ containerUri, name, ownerWebId, }: CreateAddressBookCommand): Promise; private updatePrivateTypeIndex; createNewContact({ addressBookUri, contact, groupUris, }: CreateNewContactCommand): Promise; private executeAddContactToGroups; private executeCreateNewContact; readContact(uri: string): Promise; createNewGroup({ addressBookUri, groupName }: CreateNewGroupCommand): Promise; readGroup(uri: string): Promise; addContactToGroup({ contactUri, groupUri }: AddContactToGroupCommand): Promise; removeContactFromGroup({ contactUri, groupUri, }: RemoveContactFromGroupCommand): Promise; addNewPhoneNumber({ contactUri, newPhoneNumber, }: AddNewPhoneNumberCommand): Promise; addNewEmailAddress({ contactUri, newEmailAddress, }: AddNewEmailAddressCommand): Promise; removePhoneNumber({ contactUri, phoneNumberUri, }: RemovePhoneNumberCommand): Promise; removeEmailAddress({ contactUri, emailAddressUri, }: RemoveEmailAddressCommand): Promise; updatePhoneNumber({ phoneNumberUri, newPhoneNumber, }: UpdatePhoneNumberCommand): Promise; updateEmailAddress({ emailAddressUri, newEmailAddress, }: UpdateEmailAddressCommand): Promise; listAddressBooks(webId: string): Promise; private fetchIndexedAddressBooks; private fetchPrivateTypeIndex; renameContact({ contactUri, newName }: RenameContactCommand): Promise; } export {};