import type { BookmarkProperties } from '../schema/v0.ts'

export type ParsedFolder = { tempId: string; name: string }

export type ParsedBookmark = {
  lat: number
  lng: number
  folderTempId: string | null
  properties: Partial<BookmarkProperties>
  isDuplicate?: boolean
}

export type ImportResult = {
  folders: ParsedFolder[]
  bookmarks: ParsedBookmark[]
}
