import type { PhonebookResponseItem, QueryParams, SearchableQueryParams, UUID, UuidSearchableQueryParams } from '../domain/types'; import type { DirectorySource, DirectorySources, NewContact } from '../index'; import { Contact } from '../index'; import ApiRequester from '../utils/api-requester'; declare const _default: (client: ApiRequester, baseUrl: string) => { search: (context: string, term: string, offset?: number, limit?: (number | null)) => Promise>; listPersonalContacts: (queryParams?: QueryParams) => Promise; fetchPersonalContact: (contactUuid: string) => Promise; addContact: (contact: NewContact) => Promise; editContact: (contact: Contact) => Promise; importContacts: (csv: string) => Promise; deleteContact: (contactUuid: UUID) => Promise; listFavorites: (context: string) => Promise>; markAsFavorite: (source: string, sourceId: string) => Promise; removeFavorite: (source: string, sourceId: string) => Promise; fetchOffice365Source: (context: string) => Promise; fetchOffice365Contacts: (source: DirectorySource, queryParams?: SearchableQueryParams) => Promise; fetchWazoSource: (context: string) => Promise; fetchWazoContacts: (source: DirectorySource, queryParams?: UuidSearchableQueryParams, options?: { parser?: (response: { items: any[]; total: number; }, source: DirectorySource) => T; }) => Promise; fetchGoogleSource: (context: string) => Promise; fetchGoogleContacts: (source: DirectorySource, queryParams?: SearchableQueryParams) => Promise; fetchConferenceSource: (context: string) => Promise; fetchSourcesFor: (context: string, backend: string) => Promise; fetchPhonebookContacts: (source: DirectorySource, queryParams?: QueryParams) => Promise<{ items: PhonebookResponseItem[]; total: number; }>; fetchConferenceContacts: (source: DirectorySource, queryParams?: SearchableQueryParams) => Promise; findMultipleContactsByNumber: (numbers: string[], fields?: Record) => Promise; }; export default _default; //# sourceMappingURL=dird.d.ts.map