import { ContactInput } from '../inputs'; import { ErrorUnion, ImportedContactsUnion } from '../outputs'; /** * Changes imported contacts using the list of current user contacts saved on the device. * Imports newly added contacts and, if at least the file database is enabled, deletes * recently deleted contacts. Query result depends on the result of the previous query, * so only one query is possible at the same time * @param {Object} params * @param {ContactInput[]} [params.contacts] - The new list of contacts, contact's * vCard are ignored and are not imported * @param {Object} state * @returns {ImportedContactsUnion | ErrorUnion} */ export declare type ChangeImportedContactsMethod = (params: ChangeImportedContactsParams, state?: Record) => Promise; export interface ChangeImportedContactsParams { /** The new list of contacts, contact's vCard are ignored and are not imported */ contacts?: ContactInput[]; }