aimpress-chatbot/node_modules/botbuilder-core/lib/botComponent.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

20 lines
No EOL
1 KiB
TypeScript

import * as z from 'zod';
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
/**
* Definition of a BotComponent that allows registration of services, custom actions, memory scopes and adapters.
*
* To make your components available to the system you derive from BotComponent and register services to add functionality.
* These components then are consumed in appropriate places by the systems that need them. When using Composer, configureServices
* gets called automatically on the components by the bot runtime, as long as the components are registered in the configuration.
*/
export declare abstract class BotComponent {
static z: z.ZodType<BotComponent, z.ZodTypeDef, BotComponent>;
abstract configureServices(services: ServiceCollection, configuration: Configuration): void;
}
/**
* @internal
*
* @deprecated Use `BotComponent.z.parse()` instead.
*/
export declare function assertBotComponent(val: unknown, ..._args: unknown[]): asserts val is BotComponent;
//# sourceMappingURL=botComponent.d.ts.map