Tags to validate against the database
Database lookup function for fuzzy tag matching
Callback for exact matches and validated fuzzy matches
Setter for the validation queue (from RecipeDialogsContext)
OptionalonDismissed: (tag: TagWithSimilarity) => voidOptional callback when user dismisses a tag from the queue
Pre-computes tag similarity, handles exact matches immediately, and queues fuzzy matches.
Orchestrates the full tag validation flow:
processTagsForValidationto separate exact vs fuzzy matchesonMatchfor each exact match (adds them directly)setQueueThe
onMatchcallback is reused asonValidatedin the queue — when a user confirms a fuzzy match, it's treated the same as an exact match.