import { ContactInput } from '../inputs'; import { ErrorUnion, ImportedContactsUnion } from '../outputs'; /** * Adds new contacts or edits existing contacts; contacts' user identifiers are ignored * @param {Object} params * @param {ContactInput[]} [params.contacts] - The list of contacts to import or * edit, contact's vCard are ignored and are not imported * @param {Object} state * @returns {ImportedContactsUnion | ErrorUnion} */ export declare type ImportContactsMethod = (params: ImportContactsParams, state?: Record) => Promise; export interface ImportContactsParams { /** The list of contacts to import or edit, contact's vCard are ignored and are not imported */ contacts?: ContactInput[]; }