import type { BasketImportance, BasketItem } from '@/types/basket'

export type ResearchImportTarget = 'basket' | 'new' | 'existing'

export interface ImportDialogExtraOption {
  key: string
  label: string
  description?: string
  defaultChecked?: boolean
}

export interface ResearchImportDialogPayload {
  target: ResearchImportTarget
  importance: BasketImportance
  note?: string
  selectedExtraKeys: string[]
  existingRecordId?: string | null
}

export interface ResearchImportResult {
  basketAdded: number
  researchAdded: number
  importedItems: BasketItem[]
}