UNPKG

600 BTypeScriptView Raw
1import { AbstractInteractionsProvider } from './InteractionsProvider';
2import { InteractionsOptions, InteractionsResponse, InteractionsMessage } from '../types';
3export declare class AWSLexProvider extends AbstractInteractionsProvider {
4 private lexRuntimeServiceClient;
5 private _botsCompleteCallback;
6 constructor(options?: InteractionsOptions);
7 getProviderName(): string;
8 reportBotStatus(data: any, botname: any): void;
9 sendMessage(botname: string, message: string | InteractionsMessage): Promise<InteractionsResponse>;
10 onComplete(botname: string, callback: any): void;
11}