@microsoft/botbuilder-m365
Version:
M365 extensions for Microsoft BotBuilder, Alpha release.
30 lines • 861 B
TypeScript
/**
* @module botbuilder-m365
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { TurnContext } from 'botbuilder';
import { TurnState } from '../TurnState';
import { Block, BlockTypes } from './Block';
/**
* @private
*/
export declare class VarBlock extends Block {
private static readonly Prefix;
readonly name: string;
constructor(content: string);
get type(): BlockTypes;
isValid(): {
valid: boolean;
error?: string;
};
render(context: TurnContext, state: TurnState): string;
static formatValue(value: any): string;
static hasVarPrefix(text: string): boolean;
static isValidVarName(text: string): boolean;
private varName;
private caseInsensitiveFindValue;
}
//# sourceMappingURL=VarBlock.d.ts.map