import type { CliOptions, CommandResult } from '../types/index.js'; /** * 命令执行器 * 负责处理所有CLI命令 */ export declare class CommandExecutor { private readonly configManager; private readonly apiTester; private readonly cacheManager; constructor(); /** * 执行主命令 */ executeMain(options: CliOptions, providerIndex?: string): Promise; /** * 处理首次运行 */ private handleFirstRun; /** * 执行主流程 - 完全按照原版逻辑 */ private executeMainFlow; /** * 直接选择 Provider(跳过检测) */ private executeDirectSelection; /** * 启动 Claude */ private launchClaude; /** * 执行列表命令 */ private executeListCommand; /** * 执行添加命令 */ private executeAddCommand; /** * 执行编辑命令 */ private executeEditCommand; /** * 执行删除命令 */ private executeRemoveCommand; /** * 执行设置默认命令 */ private executeSetDefaultCommand; /** * 执行清除默认命令 */ private executeClearDefaultCommand; /** * 执行导出命令 */ private executeExportCommand; /** * 执行导入命令 */ private executeImportCommand; /** * 执行备份命令 */ private executeBackupCommand; /** * 执行列出备份命令 */ private executeListBackupsCommand; /** * 检查更新 */ private checkForUpdates; private isVersionNewer; private parseSemver; /** * 处理异步操作的错误 */ private handleAsyncOperation; /** * 创建成功结果 */ private createSuccessResult; /** * 创建错误结果 */ private createErrorResult; /** * 执行统计命令 */ private executeStatsCommand; /** * 执行导出统计命令 */ private executeExportStatsCommand; /** * 执行重置统计命令 */ private executeResetStatsCommand; /** * 获取包信息 */ private getPackageInfo; } //# sourceMappingURL=command-executor.d.ts.map