import { Activity, TestAdapter, TurnContext } from 'botbuilder'; import { TeamsAdapter } from '../../TeamsAdapter'; import { TurnState } from '../../TurnState'; /** * Creates, for testing, an invoke activity with the given name, value and data. * Compatible with botbuilder's TestAdapter. * @param {string} name - The name of the invoke activity. * @param {any} value - The value of the invoke activity. * @param {any} channelData - The bot's channel data of the invoke activity. * @returns {Activity} - The created invoke activity. */ export declare function createTestInvoke(name: string, value: any, channelData?: any): Partial; /** * Creates a conversation update activity for testing. * Compatible with botbuilder's TestAdapter. * @param {any} channelData An object containing channel data * @returns {Partial} A conversation update activity */ export declare function createTestConversationUpdate(channelData?: any): Partial; /** * Returns turn context and state for testing. * @remarks Compatible with botbuilder's TestAdapter and TeamsAdapter. Use _ on import if either value is not needed. For example, `const [context, _] = createTestTurnContextAndState(...)`. * @param {TeamsAdapter | TestAdapter} adapter - The adapter to use for the turn context * @param {Partial} activity - The activity to use for the turn context * @returns {[TurnContext, TurnState]} - The created turn context and state. */ export declare const createTestTurnContextAndState: (adapter: TeamsAdapter | TestAdapter, activity: Partial) => Promise<[TurnContext, TurnState]>; //# sourceMappingURL=TestUtilities.d.ts.map