Ingredients to validate against the database
Database lookup function for fuzzy ingredient matching
Callback for exact database matches
Setter for the validation queue (from RecipeDialogsContext)
Optionaloptions: {Optional callbacks for validated and dismissed items
Pre-computes ingredient similarity, handles exact matches immediately, and queues fuzzy matches.
Orchestrates the full ingredient validation flow:
processIngredientsForValidationto separate exact vs fuzzy matchesonExactMatchfor each exact match (adds/merges them directly)setQueueIf
options.onValidatedis not provided, defaults to callingonExactMatchwith the validated ingredient — suitable when exact and fuzzy matches are handled identically.