import { ContactEntity, Logger } from '../index'; import { QUERY_RESULT, QUERY_RESULTS, Repository } from './index'; import { AuthenticationService } from "../service/authenticationService"; interface Args { account: string; query?: string; sort?: string; contactId?: string; } export declare class ContactExternalRepository extends Repository { private contactService; constructor(authenticationService: AuthenticationService, baseURL: string, logger?: Logger); searchContacts(bearer: string, account: string | undefined, query: string, sort?: string): Promise>; getContact(bearer: string, account: string, contactId: string): Promise>; protected remoteList(bearer: string, args: Args): Promise; protected localList(args: Args): Promise; protected remoteGet(bearer: string, args: Args): Promise; protected remoteCreate(bearer: string, args: Args, item: ContactEntity): Promise; protected remoteUpdate(bearer: string, args: Args, item: ContactEntity): Promise; protected remoteDelete(bearer: string, args: Args): Promise; protected localGet(args: Args): Promise; protected localBulkSave(args: Args, items: ContactEntity[]): Promise; protected localDelete(args: Args): Promise; protected localBulkDelete(items: ContactEntity[]): Promise; } export {};