/** * @module teams-ai */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { TurnContext } from 'botbuilder'; import { Memory } from '../MemoryFork'; import { Tokenizer } from '../tokenizers'; import { Message } from './Message'; import { PromptFunctions } from './PromptFunctions'; import { RenderedPromptSection } from './PromptSection'; import { PromptSectionBase } from './PromptSectionBase'; /** * A section capable of rendering user input text and images as a user message. */ export declare class ActionOutputMessage extends PromptSectionBase { private readonly _historyVariable; /** * Creates a new 'ActionOutputMessage' instance. * @param {string} historyVariable Optional. Name of the variable containing the conversation history. * @param {number} tokens Optional. Sizing strategy for this section. Defaults to `auto`. */ constructor(historyVariable?: string, tokens?: number); /** * @private * @param {TurnContext} context Turn context for the message to be rendered. * @param {Memory} memory Memory in storage. * @param {PromptFunctions} functions Prompt functions. * @param {Tokenizer} tokenizer Tokenizer. * @param {number} maxTokens Max tokens to be used for rendering. * @returns {Promise[]>>} Rendered prompt section. */ renderAsMessages(context: TurnContext, memory: Memory, functions: PromptFunctions, tokenizer: Tokenizer, maxTokens: number): Promise[]>>; } //# sourceMappingURL=ActionOutputMessage.d.ts.map