import type { QueuedEntity } from '../../types/parser'; import type { ORM } from '../..'; export type ExistingImportAction = 'skip' | 'update pending' | 'update pending and accepted'; export type ImportOptions = Partial<{ /** Specifies what should happen if an import with the same external identifier already exists. */ existingImportAction: ExistingImportAction; }>; export type ImportStatus = 'created pending' | 'skipped pending' | 'unchanged pending' | 'updated pending' | 'skipped accepted' | 'unchanged accepted' | 'updated accepted'; export type ImportResult = { /** BBID of the pending imported entity. */ importId: string; /** Import status of the processed entity. */ status: ImportStatus; }; export declare function createImport(orm: ORM, importData: QueuedEntity, { existingImportAction }?: ImportOptions): Promise;