export type VisionImage = {
  base64: string
  mimeType: string
}

export type ExtractedEntity = {
  name: string
  category: string | null
  addressHint: string | null
  startsAt: string | null
  tags: string[]
}

export type VisionProvider = {
  extract: (
    image: VisionImage,
    apiKey: string,
  ) => Promise<ExtractedEntity[]>
}
