/** * @module teams-ai */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { TurnContext } from 'botbuilder-core'; import { TurnState } from '../TurnState'; /** * @private */ export declare const StopCommandName = "STOP"; /** * The code to execute when the action's name is triggered. * @name ActionHandler * @function * @param {TurnContext} context The current turn context for the handler callback. * @template TState * @param {TState} state The current turn state for the handler callback. * @template TData * @param {TData} data The action payload. * @param {string | undefined} action The action name. * @returns {Promise} */ export type ActionHandler = (context: TurnContext, state: TState, data: TData, action?: string) => Promise; /** * @private */ export interface ActionEntry { handler: ActionHandler; allowOverrides: boolean; } //# sourceMappingURL=Action.d.ts.map