botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
43 lines • 998 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.
*/
get regex(): RegExp;
/**
* Gets the intent.
*
* @returns The intent.
*/
get intent(): string;
/**
* Sets the intent.
*/
set intent(value: string);
/**
* Gets the pattern.
*
* @returns The pattern.
*/
get pattern(): string;
/**
* Sets the pattern
*/
set pattern(value: string);
}
//# sourceMappingURL=intentPattern.d.ts.map