UNPKG

botbuilder-dialogs-adaptive

Version:

Rule system for the Microsoft BotBuilder dialog system.

27 lines (26 loc) 935 B
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ /** * @module botbuilder-dialogs-adaptive */ import { DialogStateManager } from 'botbuilder-dialogs'; import { ValueExpression } from 'adaptive-expressions'; /** * Replaces the binding paths in a JSON value with the evaluated results recursively. * * @param state A scope for looking up variables. * @param unit An object. * @returns Deep data binding result. */ export declare function replaceJsonRecursively(state: DialogStateManager, unit: object): any; /** * Evaluate ValueExpression according the value type. * * @param state Input ValueExpression * @param valExpr A scope for looking up variables. * @returns Deep data binding result. */ export declare function evaluateExpression(state: DialogStateManager, valExpr: ValueExpression): any; //# sourceMappingURL=jsonExtensions.d.ts.map