/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { FindChoicesOptions, FoundChoice } from './findChoices'; import { ModelResult } from './modelResult'; import { Choice } from './choice'; /** * High level function for recognizing a choice in a users utterance. * * @param utterance The text or user utterance to search over. For an incoming 'message' activity you can simply use `context.activity.text`. * @param choices List of choices to search over. * @param options (Optional) options used to tweak the search that's performed. * @returns A list of found choices, sorted by most relevant first. */ export declare function recognizeChoices(utterance: string, choices: (string | Choice)[], options?: FindChoicesOptions): ModelResult[];