botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
29 lines • 1.19 kB
TypeScript
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Converter, Dialog, DialogSet } from 'botbuilder-dialogs';
import { ResourceExplorer } from 'botbuilder-dialogs-declarative';
/**
* DialogSet converter that implements [Converter](xref:botbuilder-dialogs-declarative.Converter).
*/
export declare class DialogSetConverter implements Converter<string[] | Dialog[], DialogSet> {
private readonly _resourceExplorer;
/**
* Initializes a new instance of the [DialogSetConverter](xref:botbuilder-dialogs-adaptive.DialogSetConverter) class.
*
* @param _resourceExplorer Resource explorer to use for resolving references.
*/
constructor(_resourceExplorer: ResourceExplorer);
/**
* Converts an array of dialog or dialog name to a [DialogSet](xref:botbuilder-dialogs.DialogSet) instance.
*
* @param value An array of dialog or dialog name.
* @returns A new [DialogSet](xref:botbuilder-dialogs.DialogSet) instance.
*/
convert(value: string[] | Dialog[] | DialogSet): DialogSet;
}
//# sourceMappingURL=dialogSetConverter.d.ts.map