import { ConversationTurnResponseSender } from './conversation_turn_response_sender.js'; import { ConversationTurnEvent, ExecutableTool, JSONSchema } from './types.js'; import { BedrockConverseAdapter } from './bedrock_converse_adapter.js'; import { Lazy } from './lazy'; /** * This class is responsible for orchestrating conversation turn execution. * The conversation turn consist of: * 1. Accepting an event that is coming from conversational route resolvers in AppSync. * 2. Interacting with AWS Bedrock to produce response. * 3. Send response back to AppSync in a form of mutation. */ export declare class ConversationTurnExecutor { private readonly event; private readonly responseSender; private readonly bedrockConverseAdapter; private readonly logger; /** * Creates conversation turn executor. */ constructor(event: ConversationTurnEvent, additionalTools: Array, responseSender?: Lazy, bedrockConverseAdapter?: Lazy, logger?: Console); execute: () => Promise; private tryForwardError; } /** * This function handles a conversation turn event that is coming from * AppSync instance with conversational routes defined and sends response back. */ export declare const handleConversationTurnEvent: (event: ConversationTurnEvent, props?: { tools?: Array>; }) => Promise; //# sourceMappingURL=conversation_turn_executor.d.ts.map