import { IFunction } from 'aws-cdk-lib/aws-lambda'; import { Construct } from 'constructs'; import { BaseAgent, BaseAgentProps } from './base-agent'; import { InvokeType } from './invoke-type'; import { KnowledgeBaseRuntimeConfig } from './knowledge-base'; export interface BatchAgentProps extends BaseAgentProps { readonly prompt: string; readonly expectJson?: boolean; /** * Agent invocation type. * * Defines how the agent is invoked and what processing mode to use. * * @default InvokeType.BATCH */ readonly invokeType?: InvokeType; } /** * Generates the knowledge base information to append to the system prompt. * * This function creates a formatted string containing: * - Description of the retrieval tool and how to use it * - List of available knowledge bases with their names and descriptions * * The generated text helps the agent understand when and how to use * the knowledge base retrieval capability. * * @param knowledgeBaseConfigs - Array of knowledge base runtime configurations * @returns Formatted string to append to system prompt, or empty string if no KBs */ export declare function generateKnowledgeBaseSystemPromptAddition(knowledgeBaseConfigs: KnowledgeBaseRuntimeConfig[]): string; export declare class BatchAgent extends BaseAgent { readonly agentFunction?: IFunction; constructor(scope: Construct, id: string, props: BatchAgentProps); protected resolveAgentRuntimeEntry(): string; }