UNPKG

botbuilder-dialogs-adaptive

Version:

Rule system for the Microsoft BotBuilder dialog system.

27 lines 1.05 kB
/** * @module botbuilder-dialogs-adaptive */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Converter, Dialog } from 'botbuilder-dialogs'; import { ResourceExplorer } from 'botbuilder-dialogs-declarative'; /** * Converter which allows json to be expression to object or static object. */ export declare class DialogListConverter implements Converter<string[], Dialog[]> { private readonly _resourceExplorer; /** * Initializes a new instance of the [DialogListConverter](xref:botbuilder-dialogs-adaptive.DialogListConverter) class. * * @param _resourceExplorer Resource explorer to use for resolving references. */ constructor(_resourceExplorer: ResourceExplorer); /** * @param value A list of strings representing dialogs, or a list of dialogs. * @returns A new list of [Dialog](xref:botbuilder-dialogs.Dialog) instance. */ convert(value: string[] | Dialog[]): Dialog[]; } //# sourceMappingURL=dialogListConverter.d.ts.map