import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'; import type { ContactsContactList, ContactsCreateContactsBulkResponse, ContactsInputContact, CreateContactParams, CreateContactsParams, DeleteContactParams, LocateContactParams, SearchContactsParams, UpdateContactBody, UpdateContactParams, WebitelContactsContact } from '../_models'; type IfEquals = (() => T extends X ? 1 : 2) extends () => T extends Y ? 1 : 2 ? A : B; type WritableKeys = { [P in keyof T]-?: IfEquals<{ [Q in P]: T[P]; }, { -readonly [Q in P]: T[P]; }, P>; }[keyof T]; type UnionToIntersection = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; type DistributeReadOnlyOverUnions = T extends any ? NonReadonly : never; type Writable = Pick>; type NonReadonly = [ T ] extends [ UnionToIntersection ] ? { [P in keyof Writable]: T[P] extends object ? NonReadonly> : T[P]; } : DistributeReadOnlyOverUnions; export declare const // --- title start getContacts: (axiosInstance?: AxiosInstance) => { searchContacts: (params?: SearchContactsParams, options?: AxiosRequestConfig) => Promise>; createContact: (contactsInputContact: NonReadonly, params?: CreateContactParams, options?: AxiosRequestConfig) => Promise>; createContacts: (contactsInputContact: NonReadonly, params?: CreateContactsParams, options?: AxiosRequestConfig) => Promise>; deleteContact: (etag: string, params?: DeleteContactParams, options?: AxiosRequestConfig) => Promise>; locateContact: (etag: string, params?: LocateContactParams, options?: AxiosRequestConfig) => Promise>; updateContact: (etag: string, updateContactBody: NonReadonly, params?: UpdateContactParams, options?: AxiosRequestConfig) => Promise>; }; export type SearchContactsResult = AxiosResponse; export type CreateContactResult = AxiosResponse; export type CreateContactsResult = AxiosResponse; export type DeleteContactResult = AxiosResponse; export type LocateContactResult = AxiosResponse; export type UpdateContactResult = AxiosResponse; export {};