hashbrown

UseUiDecisionCandidatesOptions

Options for useUiDecision in candidates mode, where app code supplies fully rendered elements and the model only picks among them.

candidates
ReadonlyArray<UiDecisionCandidate>

The elements the model chooses from.

chat
never

Not used in candidates mode.

debounceTime
number

How long the input must stay unchanged, in milliseconds, before the selection is decided. Changing system asks again and resets the selection.

input
string | Decision.JsonValue | null | undefined

The input to decide about. null or undefined keeps the hook idle.