/** * 确保本机 OpenCode 服务在指定端口运行,并使用给定默认模型与工作目录。 * 若已存在同端口、同工作目录进程则直接返回;否则启动 opencode serve 并轮询健康检查。 */ export declare function ensureLocalOpencodeRunning(port: number, model?: string, workingDirectory?: string): Promise;