UNPKG

@microsoft/botbuilder-m365

Version:

M365 extensions for Microsoft BotBuilder, Alpha release.

26 lines 777 B
/** * @module botbuilder-m365 */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { TurnContext } from 'botbuilder'; import { PromptManager } from '../Prompts'; import { TurnState } from '../TurnState'; import { Block, BlockTypes } from './Block'; /** * @private */ export declare class CodeBlock extends Block { private _validated; constructor(content: string); get type(): BlockTypes; isValid(): { valid: boolean; error?: string; }; render(context: TurnContext, state: TurnState): string; renderCode(context: TurnContext, state: TurnState, promptManager: PromptManager<TurnState>): Promise<string>; } //# sourceMappingURL=CodeBlock.d.ts.map