botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
42 lines (37 loc) • 941 B
TypeScript
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export declare class IntentPattern {
private _intent;
private _pattern;
/**
* Initializes a new instance of the [IntentPattern](xref:botbuilder-dialogs-adaptive.IntentPattern) class.
*
* @param intent The intent.
* @param pattern The regex pattern to match..
*/
constructor(intent?: string, pattern?: string);
/*
* @returns An instance of RegExp with the given pattern.
*/
readonly regex: RegExp;
/*
* Gets the intent.
*
* @returns The intent.
* Sets the intent.
*/
intent: string;
/*
* Gets the pattern.
*
* @returns The pattern.
* Sets the pattern
*/
pattern: string;
}
//# sourceMappingURL=intentPattern.d.ts.map