#!/usr/bin/env node /** * CLI interface for Evolution API MCP Server * Handles command line arguments, help text, and different transport modes */ /** * Transport mode enum */ export declare enum TransportMode { STDIO = "stdio", HTTP = "http" } /** * CLI class for handling command line interface */ export declare class EvolutionMcpCli { private args; private configManager?; constructor(); /** * Parse command line arguments */ private parseArguments; /** * Run the CLI application */ run(): Promise; /** * Show help information */ private showHelp; /** * Show version information */ private showVersion; /** * Validate configuration and show results */ private validateConfiguration; /** * Determine transport mode based on arguments */ private determineTransportMode; /** * Start the MCP server with specified transport mode */ private startServer; /** * Set up graceful shutdown handlers */ private setupGracefulShutdown; /** * Handle errors with appropriate formatting */ private handleError; /** * Exit with error message */ private exitWithError; } /** * Main CLI entry point */ export declare function runCli(): Promise;