/** * Completion Command * * Manages shell auto-completion for pontx CLI. * * 使用持久化 manifest 缓存提升性能: * - 缓存 API 完整信息(name, title, description, params) * - 基于 mtime 做增量更新 * - 并行读取多个 spec 文件 * - 读取真实 config 获取 outDir(支持自定义配置) */ /** * Handle --get-completions request * * 使用 manifest 缓存加速补全: * 1. 加载 manifest(自动读取 config 获取 outDir,或 fallback 扫描) * 2. 使用缓存的 API 数据创建数据源 */ export declare function handleCompletionRequest(line: string, wordIndex: number, format?: string): Promise; /** * Completion command action */ export declare function completionCommand(action: string, options: { shell?: string; output?: string; binName?: string; }): Promise;