import { CommandValidationResult, CommandsValidationResult } from '../types/chatbot/intent-router-types.mjs'; export { CommandValidationError } from '../types/chatbot/intent-router-types.mjs'; import { IntentRouterCommand } from '../types/chatbot/chatbot-types.mjs'; import '@aws-sdk/client-bedrock-agent-runtime'; import '@aws-sdk/client-bedrock-agentcore'; /** * Intent Router Command Validation * * Validates IntentRouterCommand definitions before they are saved. * Used by both the admin UI and CloudFormation custom resource. * * @since 0.18.0 */ /** * Validate a single IntentRouterCommand. */ declare function validateCommand(command: IntentRouterCommand): CommandValidationResult; /** * Validate an array of IntentRouterCommands. * Also checks for duplicate command IDs. */ declare function validateCommands(commands: IntentRouterCommand[]): CommandsValidationResult; /** * Format validation errors into a human-readable message. */ declare function formatValidationErrors(result: CommandsValidationResult): string; export { CommandValidationResult, CommandsValidationResult, formatValidationErrors, validateCommand, validateCommands };