value the user has typed and the
optional resolved-argument context, and returns suggestions — either a bare
string[] or a CompletionResult with explicit pagination hints. May be
async.
Parameters
value
string
context?
CompletionContext
Returns
|string[]
| CompletionResult
| Promise<string[] | CompletionResult>